Leaflet

59
OL-11615-01
In addition to the predefined classes, you can configure your own class maps matching other
control-plane traffic. In order to take effect, these user-defined class maps need to be added to the
system-cpp-policy policy-map.
For more information about CoPP on the Catalyst 4500 Series switches, refer to the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/12_2_31s/conf/cntl_pln.htm
Configuring CoPP on Catalyst 4500 Series Switches
To enable CoPP on Catalyst 4500 Series switches, perform the following steps:
Step 1 Enable QoS functionality:
Switch(config)# qos
Step 2 Run the system-cpp global macro to create the system-cpp-policy policy-map and attach it to the
control-plane.:
Switch(config)# macro global apply system-cpp
Step 3 Optionally, define the necessary ACLs to be used to match your own traffic classes:
Switch(config)# {ip | mac} access-list extended {
access-list-name
}
!
! For an ip access list, issue
Switch(config-ext-nacl)#{permit|deny} {protocol} source {
source-wildcard
} destination
{
destination-wildcard
}
!
For a mac access list, issue
Switch(config-ext-macl)#{permit|deny} source {source-wildcard} destination
{destination-wildcard} [protocol-family]
Step 4 Next, classify the control plane traffic using the class-map command. The syntax for this command is
as follows:
Switch(config)# class-map {
traffic-class-name
}
The class-map command defines the class map name and enables a configuration mode for defining the
class. Within the traffic class configuration mode, use the match command to associate specific traffic
with the class. The syntax for this command is as follows:
Switch(config-cmap)# match access-group {
access-list-number
| name {
access-list-name
}}
system-cpp-igmp IP Protocol = IGMP, IPDA matches 224.0.0.0/3
system-cpp-pim IP Protocol = PIM, IPDA matches 224.0.0.0/24
system-cpp-all-systems-on-subnet IPDA = 224.0.0.1
system-cpp-all-routers-on-subnet IPDA = 224.0.0.2
system-cpp-ripv2 IPDA = 224.0.0.9
system-cpp-ip-mcast-linklocal IP DA = 224.0.0.0/24
system-cpp-dhcp-cs IP Protocol = UDP, L4SrcPort = 68, L4DstPort = 67
system-cpp-dhcp-sc IP Protocol = UDP, L4SrcPort = 67, L4DstPort = 68
system-cpp-dhcp-ss IP Protocol = UDP, L4SrcPort = 67, L4DstPort = 67
Table 2 Catalyst 4500 System Predefined ACLs