Configuring Flow Aware QoS
SUMMARY STEPS
1. configure
2. class-map [type qos] [match-all] class-map-name
3. match precedence precedence-value
4. match flow-key [5-tuple | dst-ip | flow-cacheidle-timeout | src-ip]
5. exit
6. policy-map [ type qos ] policy-name
7. class class-name
8. police rate rate
9. exit
10. exit
11. exit
12. interface type interface-path-id
13. service-policy {input | output} policy-map
14. commit
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
class-map [type qos] [match-all] class-map-name
Example:
RP/0/RSP0/CPU0:router(config)# class-map
match-all ubrl-src-class
Step 3
match precedence precedence-value
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match
precedence 0 1 2 3
Step 4
match flow-key [5-tuple | dst-ip |
flow-cacheidle-timeout | src-ip]
Example:
RP/0/RSP0/CPU0:router(config-cmap)# match
flow-key src-ip
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide, Release 6.1.x
Configuring User Based Rate Limiting (UBRL)
Purpose
Creates a class map to be used for matching packets to the class
specified and enters the class map configuration mode.
If you specify match-all, the traffic must match all the match
criteria.
Identifies IP precedence values as match criteria.
• Value range is from 0 to 7.
• Reserved keywords can be specified instead of numeric
values.
Identifies the specified flow key as the match criteria.
• Use 5-tuple flow key to configure multiple sessions.
• Use dst-ip flow key to configure outbound traffic.
• Use flow-cache flow key to configure flow cache
parameters.
• Use src-ip flow key to configure inbound traffic.
• Use idle-timeout flow key to configure idle timeout period
in seconds. The range is from 10 to 2550. The default
value is 30.
257