Configuring Flow Aware QoS
Command or Action
Step 13
service-policy {input | output} policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy input ubrl-src
Step 14
commit
Configuration Examples for Configuring Flow Aware QoS
Configuring Flow Aware CAC Reject Action: Example
In this example, two class-maps are created and their match criteria are defined for access-list 102 and match
class "video". This flow rate is configured in the admit cac local configuration sub-mode. If any new flow is
learnt apart from the already admitted flows, then the new flow is rejected and packets of the flow are dropped.
All other packets are classified under class-default and are policed at 30 mbps.
class-map match-all prec5
!
class-map match-any video
!
policy-map premium-services
class prec5
class video
!
!
class class-default
end
Configuring Flow Aware CAC Redirect Action: Example
In this example, three class-maps are created and their match criteria are defined for match class "dscp_cs5",
match class cac, match class "dscp_cs6". This flow rate is configured in the admit cac local configuration
sub-mode. If any new flow is learnt apart from the already admitted flows, then the new flow is redirected
and the packets for that flow are handled by the redirect class "class-default" in policy "video_flows". All
other packets are classified under class-default and are policed at 30 mbps.
class-map match-any dscp_cs5
match precedence 5
match access-group ipv4 102
police rate 100 mbps
set dscp af41
admit cac local
flow idle-timeout 20
flow rate 128 kbps
rate 896 kbps
police rate 30 mbps
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide, Release 6.1.x
Configuration Examples for Configuring Flow Aware QoS
Purpose
Attaches a policy map to an input or output interface to be used
as the service policy for that interface. In this example, the
traffic policy evaluates all traffic leaving that interface.
259