Skip to content

Commit 4cc1d1f

Browse files
Corrected the copp rule as per NAT HLD (#1300)
Signed-off-by: Akhilesh Samineni <[email protected]>
1 parent ea002e5 commit 4cc1d1f

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

swssconfig/sample/00-copp.config.json

+16-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"OP": "SET"
4444
},
4545
{
46-
"COPP_TABLE:trap.group.nat.ip2me": {
47-
"trap_ids": "ip2me,src_nat_miss,dest_nat_miss",
46+
"COPP_TABLE:trap.group.ip2me": {
47+
"trap_ids": "ip2me",
4848
"trap_action":"trap",
4949
"trap_priority":"1",
5050
"queue": "1",
@@ -55,5 +55,19 @@
5555
"red_action":"drop"
5656
},
5757
"OP": "SET"
58+
},
59+
{
60+
"COPP_TABLE:trap.group.nat": {
61+
"trap_ids": "src_nat_miss,dest_nat_miss",
62+
"trap_action":"trap",
63+
"trap_priority":"1",
64+
"queue": "1",
65+
"meter_type":"packets",
66+
"mode":"sr_tcm",
67+
"cir":"600",
68+
"cbs":"600",
69+
"red_action":"drop"
70+
},
71+
"OP": "SET"
5872
}
5973
]

0 commit comments

Comments
 (0)