Examples: Configuring CoPP
The following example shows how to enable Control Plane Policing (CoPP) for a specific protocol:
Switch (config)# mls qos copp protocol cdp police bps ?
<8000-2000000000> Bits per second (postfix k, m, g optional; decimal point allowed)
Switch (config)# mls qos copp protocol cdp police bps 10000
Switch(config)# mls qos copp protocol cdp police pps ?
<100-100000> Packet per second
Switch(config)# mls qos copp protocol cdp police pps 500
The following example shows the CoPP parameters and counters for all the configured protocol:
Switch# show running-config | inc copp
Switch#show running-config | inc copp
mls qos copp protocol rep-hfl police pps 5600
mls qos copp protocol lldp police bps 908900
mls qos copp protocol cdp police pps 3434
/* Copp detailed output */
Switch#show mls qos copp protocols
-------------------------------------------------------------------------------
Protocol Mode PolicerRate PolicerBurst
InProfilePackets OutProfilePackets InProfileBytes OutProfileBytes
-------------------------------------------------------------------------------
rep-hfl pps 5600 5600
0 0 0 0
lldp bps 908900 908900
0 0 0 0
cdp pps 3434 3434
45172 0 2891008 0
Related Topics
Control Plane Policing, on page 1517
Configuring Control Plane Policing, on page 1518
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1520
Examples: Configuring CoPP