Cisco Systems A9014CFD Router User Manual


 
24-34
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 24 Configuring QoS
Configuring Quality of Service (QoS)
set qos-group 4
class HSDPA
set cos 1
set qos-group 1
!
policy-map out-child
class q5
priority percent 20
class q4
bandwidth remaining percent 20
class q1
bandwidth remaining percent 59
!
!
policy-map out-parent
class class-default
shape average 100000000
service-policy out-child
!
Note This is a partial configuration intended to demonstrate the QoS feature.
Configuring Classification
Classifying network traffic allows you to organize packets into traffic classes based on whether the
traffic matches specific criteria. Classifying network traffic is the foundation for enabling many QoS
features on your network.
This section contains the following topics:
Creating a Class Map for Classifying Network Traffic, page 24-34
Creating a Policy Map for Applying a QoS Feature to Network Traffic, page 24-35
Attaching the Policy Map to an Interface, page 24-36
Creating a Class Map for Classifying Network Traffic
Class maps allow you to define classes of network traffic in order to apply QoS features to each class.
Complete the following steps to create a class map:
Step 1 Enter enable mode.
Router> enable
Step 2 Enter the password.
Password:
password
When the prompt changes to Router, you have entered enable mode.
Step 3 Enter global configuration mode.
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Step 4 Use the class-map command to define a new class map and enter class map configuration mode.
Router(config)# class-map class1