In part six of this blog series we discussed that Marking was considered to be what will be done with the traffic after it has been classified. Now, we will talk about service policy which are considered as the part of QoS where the policy is implemented.
Once you have defined the class-maps, and policy-maps, the policy is attached to the inbound or outbound packets using the service-policy command. It is possible to assign a single policy map to multiple interfaces or assign multiple policy maps to a single interface. There is a maximum of one service-policy command in each direction, inbound and outbound.
Class-map ef Match access-group 10 ! Class-map af11 Match access-group 20 ! Class-map af21 Match access-group 30 ! Policy-map mark_traffic Class ef Set ip dscp ef ! Class af11 Set ip dscp af11 ! Class af21 Set ip dscp af21 ! Interface serial0/0< Service-policy input mark_traffic ! Access-list 10 permit 192.168.100.0 0.0.0.255 Access-list 20 permit 192.168.101.0 0.0.0.255 Access-list 30 permit 192.168.103.0 0.0.0.255
In the next part of this series on QoS we will look at congestion avoidance.
Author: Paul Stryer
- Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.4T
- End-To-End QoS network Design, by Tim Szigeti and Christina Hattingh – ISBN # 1-58705-176-1
- DiffServ – The Scalable End-To-End QoS Model
- Integrated Services Architecture
- Definition of the Differentiated Services Field
- An Architecture for Differentiated Services
- Requirements for IP Version 4 Routers
- An Expedited Forwarding PHB (Per-Hop Behavior)