Configuring Hierarchical Modular QoS on Cisco ASR 9000 Series Routers
Configuration Examples for Hierarchical QoS
QC-144
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
class-map match-any best-effort
match precedence 4
end-class-map
policy-map parent_shape
class class-default
service-policy child_policy
shape average percent 90
!
end-policy-map
!
policy-map child_policy
class voice-ip
priority level 1
police rate percent 20
!
!
class video
bandwidth percent 40
!
class premium
bandwidth percent 10
random-detect precedence 2 10 ms 100 ms
random-detect precedence 3 20 ms 200 ms
queue-limit 200 ms
!
class best-effort
bandwidth percent 20
queue-limit 200 ms
!
class class-default
!
end-policy-map
!
interface Multilink0/2/1/0/1
service-policy output parent_shape
encapsulation frame-relay
frame-relay intf-type dce
Three-Level Hierarchical Queueing Policy: Examples
ASR 9000 Ethernet Line Cards
In this example, policy grand-parent is applied to the main Ethernet interface. The grand-parent policy
limits all outbound traffic of the interface up to 500 Mbps. The parent policy has class vlan1 and vlan2,
and traffic in vlan1 or vlan2 is limited to 40 percent of 500 Mbps. The policy child_policy classifies
traffic based on different services and allocates bandwidth for each class accordingly.
class-map match-any video
match precedence 1
end-class-map
!
class-map match-any premium
match precedence 2 3
end-class-map
!
class-map match-any voice-ip
match precedence 0