57-6
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 57 Configuring Control Plane Policing and Layer 2 Control Packet QoS
Configuring Control Plane Policing
* Class system-cpp-cdp
police 32000 bps 1000 byte conform-action transmit exceed-action drop
Class system-cpp-sstp
Class system-cpp-cgmp
Class system-cpp-ospf
Class system-cpp-hsrpv2
Class system-cpp-igmp
Class system-cpp-pim
Class system-cpp-all-systems-on-subnet
Class system-cpp-all-routers-on-subnet
Class system-cpp-ripv2
Class system-cpp-ip-mcast-linklocal
Class system-cpp-dhcp-cs
Class system-cpp-dhcp-sc
Class system-cpp-dhcp-ss
Switch#
The following example shows how to police Wireless capwap keepalive packets:
Switch# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# qos
Switch(config)# macro global apply system-cpp
Switch(config)# policy-map system-cpp-wireless-policy
Switch(config-pmap)# class system-cpp-capwap-keepalive
Switch(config-pmap-c)# police 32000 1000 conform-action transmit exceed-action drop
Switch(config-pmap-c)# end
Switch# show policy-map system-cpp-wireless-policy
Policy Map system-cpp-policy
Class system-cpp-arp
Class system-cpp-capwap-ctrl
* Class system-cpp-capwap-keepalive
police 32000 bps 1000 byte conform-action transmit exceed-action drop
Class system-cpp-capwap-dtls
Class system-cpp-dhcp
Class system-cpp-igmp
Class system-cpp-dot1x
Class system-cpp-dot11-rrm
Class system-cpp-dot11-rfid
Class system-cpp-dot11-iapp
Class system-cpp-dot11-mgmt
Switch#
Configuring CoPP for Data Plane and Management Plane Traffic
To configure CoPP for data plane and management plane traffic, perform this task:
Command Purpose
Step 1
Switch(config)# qos
(Optional) Enables QoS globally.
Step 2
Switch(config)#
macro global apply system-cpp
(Optional) Attaches the system-cpp-policy policy
map to the control plane and the
system-cpp-wireless-policy policy to the wireless
control plane.