Cisco Systems A9014CFD Router User Manual


 
24-15
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 24 Configuring QoS
Understanding QoS
Individual Policing
Individual policing applies only to input policy maps. In policy-map configuration mode, use the class
command followed by class-map name, and enter policy-map class configuration mode. Effective with
Cisco IOS Release 15.3(3)S, the Cisco ASR 901 supports policing ingress traffic over the cross connect
EVC, similar to bridge domain service policy.
Use the police policy-map class configuration command to define the policer, the committed rate
limitations of the traffic, committed burst size limitations of the traffic, and the action to take for a class
of traffic that is below the limits (conform-action) and above the limits (exceed-action). If you do not
specify burst size (bc), the system calculates an appropriate burst size value. The calculated value is
appropriate for most applications.
To make the policy map effective, attach it to a physical port by using the service-policy input interface
configuration command. Policing is done only on received traffic, so you can only attach a policer to an
input service policy.
Note The QoS-group precedes the CoS value that is matched in the class-map, when the set qos-group
command is used along with MPLS experimental imposition.
Restrictions
Only byte counters are supported.
Only drop and pass counters are supported.
If an ingress cross connect policer is attached to a physical interface, an ingress cross connect policer
cannot be attached to EVC’s under the specific physical port.
Applying or removing the policy-map on a cross connect interface requires shutdown or no
shutdown on the interface.
User class based MPLS experimental imposition is supported only for user classes based on CoS
match.
Supports policy-map on 254 ingress cross connect interfaces only.
Dynamic modification of policy-maps (modifying a policy-map or class-map while it is attached to
an interface) is not supported for the policy-maps applied on cross connect.
Configuration Examples
The following is a sample configuration of basic policing for all traffic received with a CoS of 4. The
first value following the police command limits the average traffic rate to 10, 000,000 bits per second
(bps); the second value represents the additional burst size (10 kilobytes). The policy is assigned to
gigabitethernet port 1.
Router(config)# class-map video-class
Router(config-cmap)# match cos 4
Router(config-cmap)# exit
Router(config)# policy-map video-policy
Router(config-pmap)# class video-class
Router(config-pmap-c)# police 10000000 10000
Router(config-pmap-c-police)# exit
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface gigabitethernet0/1
Router(config-if)# service-policy input video-policy
Router(config-if)# exit