Glossary

CoPP

Control Plane Policing

What is CoPP

CoPP (Control Plane Policing) is a feature that applies rate limiting and a handling action to specific types of protocol messages on a device. Each message type, such as ARP, BGP, OSPF, LACP, SSH, or SNMP, belongs to its own CoPP class. The rate limit and action are configured per class.

The action decides what happens to a message. Trap uploads the message to the CPU only. Copy uploads the message to the CPU and also forwards it. Forward simply forwards the message.

How CoPP Works

CoPP is configured inside a single CoPP policy, copp-system-policy, in four steps:

  1. Enter the CoPP policy configuration view with policy-map type copp copp-system-policy.

  2. Select the type of message to control with class system_class_name.

  3. Set the rate limit for that class with bandwidth cir cbs:

    • CIR (Committed Information Rate): in bytes per second, range 1000 to 400000000000.

    • CBS (Committed Burst Size): in bytes, range 1000 to 400000000000.

  4. Set the action for selected protocols with the global commands for ARP, ND, IGMP, PIM, IS-IS, VRRP, and OSPF messages.

Each protocol has a default action:

Protocol

Default action

Command to change

Action after change

ARP

Copy

arp broadcast disable

Trap

ND

Copy

ndp broadcast disable

Trap

IGMP

Forward

igmp enable

Copy

PIM

Forward

pim enable

Copy

IS-IS

Forward

isis enable

Copy

VRRP

Forward

vrrp enable

Copy

OSPF

Forward

ospf enable

Copy

Adding no in front of any of these commands restores the default action.

Why CoPP is Beneficial

· Rate limiting per message type: Each CoPP class has its own CIR and CBS, so every type of message is controlled separately.

· Wide protocol coverage: One policy covers 26 system classes, including routing, switching, high-availability, multicast, management, and error-handling messages.

· Selectable handling action: For ARP, ND, IGMP, PIM, IS-IS, VRRP, and OSPF messages, you can choose between trap, copy, and forward to match your design.

· Easy return to defaults: Running no bandwidth deletes the customized CoPP configuration of a class, and the system reverts to the default CoPP configuration.

At Asteraix

What We Can Do at Asteraix

AsterNOS provides CoPP through the command line, with a configuration view and display commands.

· A dedicated CoPP policy: Enter the CoPP configuration view with policy-map type copp copp-system-policy, then configure each class under it.

· 26 system classes: The supported classes are ttl_err, bgp, bfd, ospf, vrrp, isis, lacp, stp, arp, neigh_discovery, macsec, lldp, udld, igmp, dhcp_relay, sflow, ip2me, nat, pvrst, pim, vrrpv6, mld, ssh, snmp, l3_mtu_error, and ldp. Each is named with the prefix copp-system-, for example copp-system-arp.

· Per-class rate limiting: Set the CIR and CBS for any class with bandwidth cir cbs.

· Protocol action control: Switch ARP and ND messages between copy and trap, and switch IGMP, PIM, IS-IS, VRRP, and OSPF messages between forward and copy.

· Configuration and status visibility: show policy-map displays the CoPP configuration, and show copp status displays the status of each class, including its CBS, CIR, meter type, mode, queue, red action, trap action, trap IDs, and trap priority.