Skip to content

[copp]: Add queue4_group4 CoPP group and ospf/ospfv6 trap in copp_cfg.j2#729

Open
iris00522 wants to merge 1 commit into
edge-core:202311.Xfrom
iris00522:JIRA-JRTC-27024-copp-ospf
Open

[copp]: Add queue4_group4 CoPP group and ospf/ospfv6 trap in copp_cfg.j2#729
iris00522 wants to merge 1 commit into
edge-core:202311.Xfrom
iris00522:JIRA-JRTC-27024-copp-ospf

Conversation

@iris00522

Copy link
Copy Markdown
Contributor

Why I did it

OSPFv2 / OSPFv6 control plane packets did not have a dedicated CoPP policer.
This change adds a new CoPP group queue4_group4 and registers the OSPF and
OSPFv6 traps to it, so these protocol packets are trapped to the CPU and
policed on their own queue with a defined rate.

How I did it

Modified files/image_config/copp/copp_cfg.j2:

  • Added a new CoPP policer group queue4_group4
    (queue 6, trap_priority 6, cir/cbs 100, trap_action: trap).
  • Added an ospf entry under COPP_TRAP with trap_ids: "ospf,ospfv6"
    mapped to queue4_group4, so both OSPF and OSPFv6 packets are trapped to
    this group.

Signed-off-by: iris_hsu <iris_hsu@edge-core.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant