diff --git a/files/image_config/copp/copp_cfg.j2 b/files/image_config/copp/copp_cfg.j2 index 48c7bf634..243d8f111 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",