Reference Guide

Table Of Contents
3 Create a qos type policy-map to refer the classes.
OS10(config)# policy-map cos-policy
4 Refer the class-maps in the policy-map and dene the required action for the ows.
OS10(config-pmap-qos)# class cmap
OS10(config-pmap-c-qos)# ?
OS10(config-pmap-qos)# class cmap
OS10(config-pmap-c-qos)#
end Exit to the exec Mode
exit Exit from current mode
no Negate a command or set its defaults
police Rate police input traffic
set Mark input traffic
show show configuration
trust Specify dynamic classification to trust[dscp/dot1p]
ACL based classication with trust
If you have enabled trust based classication and the system has class-maps to install ACL entries in the same policy-map that might
conict with the trust based classication, then by default the trust based classication takes precedence.
You can modify the order of precedence by enabling the fallback option of trust dot1p or diserv (DSCP).
1 Create class-maps.
Create a class-map of type qos to match CoS 5 ow.
OS10(config)# class-map cmap-cos5
Dene the elds to be matched on 802.1p CoS 5 values.
OS10(config-cmap-qos)# match cos 5
2 Create a policy-map for enabling trust and matching the CoS 5 ow.
Create a qos type policy-map to refer the classes.
OS10(config)# policy-map cos-trust
Refer the class-maps in the policy-map and dene the required action for the ows.
OS10(config-pmap-qos)# class class-trust
OS10(config-pmap-c-qos)# trust dot1p fallback
OS10(config-pmap-qos)# class cmap-cos5
OS10(config-pmap-c-qos)# set qos-group 7
Attach the policy-map to interface.
OS10(conf-if-eth1/1/1)# service-policy input type qos cos-trust
Control-plane policing
Control-plane policing (CoPP) increases security on the system by protecting the route processor from unnecessary trac and giving
priority to important control plane and management trac. CoPP uses a dedicated control plane conguration through the QoS CLIs to set
rate-limiting capabilities for control plane packets.
If the rate of control packets towards the CPU is higher than the CPU can handle, CoPP provides a method to selectively drop some of the
control trac so that the CPU can process high-priority control trac. You can use CoPP to rate-limit trac through each CPU port queue
of the network processor (NPU).
CoPP applies policy actions on all control-plane trac. The control-plane class map does not use any match criteria. To enforce rate-limiting
or rate policing on control-plane trac, create policy maps. You can use the control-plane command to attach the CoPP service
policies directly to the control-plane.
The default rate limits apply to 12 CPU queues and the protocols mapped to each CPU queue. The control packet type to CPU ports
control queue assignment is xed. The only way you can limit the trac towards the CPU is choose a low priority queue, and apply rate-
limits on that queue to nd a high rate of control trac owing through that queue.
Quality of service
553