From 6680780df6fd9408ae723bed24ac0863204a33b8 Mon Sep 17 00:00:00 2001 From: Rajendra Dendukuri Date: Sun, 28 Jul 2019 21:35:41 -0700 Subject: [PATCH 1/2] Trap DHCPv6 packets for supporting ZTP over in-band interfaces using DHCPv6 discovery Also increase incoming packet rate on in-band interfaces to support faster download of large files. SONiC firmware image download over in-band can take a lot of time if the incoming packet rate is limited to 600pps. This, change increases it to 6000pps. Signed-off-by: Rajendra Dendukuri --- swssconfig/sample/00-copp.config.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swssconfig/sample/00-copp.config.json b/swssconfig/sample/00-copp.config.json index 1fade2d172a..de3ec33c7f4 100644 --- a/swssconfig/sample/00-copp.config.json +++ b/swssconfig/sample/00-copp.config.json @@ -34,8 +34,8 @@ "OP": "SET" }, { - "COPP_TABLE:trap.group.lldp.dhcp.udld": { - "trap_ids": "lldp,dhcp,udld", + "COPP_TABLE:trap.group.lldp.dhcp.dhcpv6.udld": { + "trap_ids": "lldp,dhcp,dhcpv6,udld", "trap_action":"trap", "trap_priority":"4", "queue": "4" @@ -50,8 +50,8 @@ "queue": "1", "meter_type":"packets", "mode":"sr_tcm", - "cir":"600", - "cbs":"600", + "cir":"6000", + "cbs":"6000", "red_action":"drop" }, "OP": "SET" From 214583d4685c94ab468254de46ef58300db32237 Mon Sep 17 00:00:00 2001 From: Rajendra Dendukuri Date: Mon, 29 Jul 2019 13:16:06 -0700 Subject: [PATCH 2/2] Rollback changes to ip2me cir/cbs Signed-off-by: Rajendra Dendukuri --- swssconfig/sample/00-copp.config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swssconfig/sample/00-copp.config.json b/swssconfig/sample/00-copp.config.json index de3ec33c7f4..e82242830ce 100644 --- a/swssconfig/sample/00-copp.config.json +++ b/swssconfig/sample/00-copp.config.json @@ -50,8 +50,8 @@ "queue": "1", "meter_type":"packets", "mode":"sr_tcm", - "cir":"6000", - "cbs":"6000", + "cir":"600", + "cbs":"600", "red_action":"drop" }, "OP": "SET"