From 31db39e1dc7efdfe9bfc6c6bba837e8f678ce1af Mon Sep 17 00:00:00 2001 From: Manas Kumar Mandal Date: Mon, 15 Sep 2025 09:45:26 -0700 Subject: [PATCH] Use Trap for ARP pkts only for dualtor sybtype Signed-off-by: Manas Kumar Mandal --- files/image_config/copp/copp_cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/image_config/copp/copp_cfg.j2 b/files/image_config/copp/copp_cfg.j2 index 48c7bf634c..243d8f1112 100755 --- a/files/image_config/copp/copp_cfg.j2 +++ b/files/image_config/copp/copp_cfg.j2 @@ -19,7 +19,7 @@ "red_action":"drop" }, "queue4_group2": { -{% if DEVICE_METADATA is defined and DEVICE_METADATA['localhost'] is defined and DEVICE_METADATA['localhost']['type'] is defined and 'ToRRouter' in DEVICE_METADATA['localhost']['type'] %} +{% if DEVICE_METADATA is defined and DEVICE_METADATA['localhost'] is defined and DEVICE_METADATA['localhost']['type'] is defined and 'ToRRouter' in DEVICE_METADATA['localhost']['type'] and DEVICE_METADATA['localhost']['subtype'] is defined and 'DualToR' in DEVICE_METADATA['localhost']['subtype'] %} "trap_action":"trap", {% else %} "trap_action":"copy",