Skip to content

Commit

Permalink
Corrected the copp rule as per NAT HLD (sonic-net#1300)
Browse files Browse the repository at this point in the history
Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
  • Loading branch information
AkhileshSamineni committed Jun 4, 2020
1 parent ea002e5 commit 4cc1d1f
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions swssconfig/sample/00-copp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"OP": "SET"
},
{
"COPP_TABLE:trap.group.nat.ip2me": {
"trap_ids": "ip2me,src_nat_miss,dest_nat_miss",
"COPP_TABLE:trap.group.ip2me": {
"trap_ids": "ip2me",
"trap_action":"trap",
"trap_priority":"1",
"queue": "1",
Expand All @@ -55,5 +55,19 @@
"red_action":"drop"
},
"OP": "SET"
},
{
"COPP_TABLE:trap.group.nat": {
"trap_ids": "src_nat_miss,dest_nat_miss",
"trap_action":"trap",
"trap_priority":"1",
"queue": "1",
"meter_type":"packets",
"mode":"sr_tcm",
"cir":"600",
"cbs":"600",
"red_action":"drop"
},
"OP": "SET"
}
]

0 comments on commit 4cc1d1f

Please sign in to comment.