show copp

Syntax

show copp {config | status | user-def}

Description

Show CoPP configuration information.

Command context

config

Parameters

config
Show CoPP configuration details for all traffic classes.
status
Show CoPP status information for all traffic classes.
user-def
Show the user-defined CoPP configuration.

Example

slot(config)# show copp config
 Traffic-Class                  CoPP Status    Rate-Limit  
 ------------------------------ -------------- ------------
 station-arp                    Disabled       0
 station-icmp                   Enabled        128
 station-ip                     Disabled       0
 ip-gateway-control             Disabled       0
 ospf                           Disabled       0
 bgp                            Disabled       0
 rip                            Disabled       0
 multicast-route-control        Disabled       0
 loop-ctrl-mstp                 Disabled       0
 loop-ctrl-pvst                 Disabled       0
 loop-ctrl-loop-protect         Disabled       0
 loop-ctrl-smart-links          Disabled       0
 layer2-control-others          Disabled       0
 udld-control                   Disabled       0
 sampling                       Disabled       0
 icmp-redirect                  Disabled       0
 unicast-sw-forward             Disabled       0
 multicast-sw-forward           Disabled       0
 mac-notification               Enabled        128
 exception-notification         Disabled       0
 broadcast                      Disabled       0
 unclassified                   Disabled       0

Example

slot(config)# show copp status
 Traffic-Class                  CoPP Status Threshold Ex Rx Violate Pkts       
 ------------------------------ ----------- ------------ ----------------------
 station-arp                    Disabled    No
 station-icmp                   Enabled     No
 station-ip                     Disabled    No
 ip-gateway-control             Disabled    No
 ospf                           Disabled    No
 bgp                            Disabled    No
 rip                            Disabled    No
 multicast-route-control        Disabled    No
 loop-ctrl-mstp                 Disabled    No
 loop-ctrl-pvst                 Disabled    No
 loop-ctrl-loop-protect         Disabled    No
 loop-ctrl-smart-links          Disabled    No
 layer2-control-others          Disabled    No
 udld-control                   Disabled    No
 sampling                       Disabled    No
 icmp-redirect                  Disabled    No
 unicast-sw-forward             Disabled    No
 multicast-sw-forward           Disabled    No
 mac-notification               Enabled     No
 exception-notification         Disabled    No
 broadcast                      Disabled    No
 unclassified                   Disabled    No

Example

slot(config)# show copp user-def  config
 CoPP-ID L3   Protocol Port   Threshold
 ------- ---- -------- ------ --------------
 1       ipv4 udp      161    80

Example

slot(config)# show copp user-def  status
 CoPP-ID L3   Protocol Port   Threshold Ex   Dropped Pkts
 ------- ---- -------- ------ -------------- ----------------------
 1       ipv4 udp      161    No