Skip to content

Commit aea3c42

Browse files
[image_config]: Update DHCP rate-limit (#17132)
Change DHCP rate limit in SONiC copp configuration to 100 PPS as this is necessary to ensure that DHCP flood does not cause LACP/BGP flaps in all scenarios This is an extension to the change in image_config: copp: Enable rate limiting for bgp, lacp, dhcp, lldp, macsec and udld #14859 and sonic-mgmt change in [tests/copp]: Update copp mgmt tests to support new rate-limits sonic-mgmt#8199 Why I did it 300 PPS is not sufficient to prevent LACP/BGP flaps in all cases. 100 PPS seems to provide better resiliency against DHCP traffic flood to CPU. Microsoft ADO 25776614: Send DHCP broadcast packets to DUT and verify that they are trapped to CPU at 100 PPS. Signed-off-by: Prabhat Aravind <[email protected]>
1 parent e9b2929 commit aea3c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/image_config/copp/copp_cfg.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"queue": "4",
3535
"meter_type":"packets",
3636
"mode":"sr_tcm",
37-
"cir":"300",
38-
"cbs":"300",
37+
"cir":"100",
38+
"cbs":"100",
3939
"red_action":"drop"
4040
},
4141
"queue1_group1": {

0 commit comments

Comments
 (0)