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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......