Examples: Configuring CoPP
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
InProfilePackets
-------------------------------------------------------------------------------
rep-hfl
0
lldp
0
cdp
45172
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
Mode
PolicerRate
OutProfilePackets
InProfileBytes
pps
5600
0
0
bps
908900
0
0
pps
3434
0
2891008
PolicerBurst
OutProfileBytes
5600
0
908900
0
3434
0