From 6b5705532227a5f447f8aaf530ef3d83946ff707 Mon Sep 17 00:00:00 2001 From: iris_hsu Date: Thu, 9 Jul 2026 15:26:07 +0800 Subject: [PATCH] [copp]: Add queue4_group4 CoPP group and ospf/ospfv6 trap in copp_cfg.j2 Signed-off-by: iris_hsu --- files/image_config/copp/copp_cfg.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/files/image_config/copp/copp_cfg.j2 b/files/image_config/copp/copp_cfg.j2 index c7e3e81df..463a88658 100755 --- a/files/image_config/copp/copp_cfg.j2 +++ b/files/image_config/copp/copp_cfg.j2 @@ -43,6 +43,16 @@ {% endif %} "red_action":"drop" }, + "queue4_group4": { + "trap_action":"trap", + "trap_priority":"6", + "queue": "6", + "meter_type":"packets", + "mode":"sr_tcm", + "cir":"100", + "cbs":"100", + "red_action":"drop" + }, {% if asic_type in ["broadcom"] %} "queue4_group6": { "trap_action":"trap", @@ -145,6 +155,10 @@ "sflow": { "trap_group": "queue2_group1", "trap_ids": "sample_packet" + }, + "ospf": { + "trap_ids": "ospf,ospfv6", + "trap_group": "queue4_group4" } {% if asic_type in ["broadcom"] %} ,