show copp-policy statistics


show copp-policy statistics [class <CLASS> | default-class] [vsx-peer]


Displays statistics for all classes, or a single class, in the active CoPP policy.

Command context

Operator (>) or Manager (#)



Specifies the class for which to display statistics.


Displays statistics for the default class.


Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.


Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.


Displaying statistics for all classes in the active policy:


The rate displayed is the actual rate in hardware.

switch# show copp-policy statistics
Statistics for CoPP policy 'default':
    bytes passed     : 170000         bytes dropped    : 104000
    packets passed   : 32000          packets dropped  : 18000
Class: arp-broadcast
    bytes passed     : 40000          bytes dropped    : 40000
    packets passed   : 8000           packets dropped  : 8000
Class: arp-unicast
    bytes passed     : 8000           bytes dropped    : 64000
    packets passed   : 1000           packets dropped  : 10000
Class: bgp-ipv4
    bytes passed     : 12000          bytes dropped    : 64000
    packets passed   : 5000           packets dropped  : 10000
Class: default
    bytes passed     : 20000          bytes dropped    : 15000
    packets passed   : 1000           packets dropped  : 1100

Displaying statistics for the default class in the active policy:

Displaying statistics for the class bgp-ipv4 in the actively applied policy: