Skip to content

Commit 78cc6cf

Browse files
authored
[copp]: Enable rate limiting for bgp, lacp, dhcp, lldp, macsec and udld (#14859) (#17111)
1 parent a11b33b commit 78cc6cf

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

files/image_config/copp/copp_cfg.j2

+13-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
"queue4_group1": {
1212
"trap_action":"trap",
1313
"trap_priority":"4",
14-
"queue": "4"
14+
"queue": "4",
15+
"meter_type":"packets",
16+
"mode":"sr_tcm",
17+
"cir":"6000",
18+
"cbs":"6000",
19+
"red_action":"drop"
1520
},
1621
"queue4_group2": {
1722
"trap_action":"copy",
@@ -26,7 +31,12 @@
2631
"queue4_group3": {
2732
"trap_action":"trap",
2833
"trap_priority":"4",
29-
"queue": "4"
34+
"queue": "4",
35+
"meter_type":"packets",
36+
"mode":"sr_tcm",
37+
"cir":"300",
38+
"cbs":"300",
39+
"red_action":"drop"
3040
},
3141
"queue1_group1": {
3242
"trap_action":"trap",
@@ -97,7 +107,7 @@
97107
},
98108
"macsec": {
99109
"trap_ids": "eapol",
100-
"trap_group": "queue4_group3"
110+
"trap_group": "queue4_group1"
101111
},
102112
"nat": {
103113
"trap_ids": "src_nat_miss,dest_nat_miss",

0 commit comments

Comments
 (0)