7-22
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 7 Marking Traffic
Configuring Traffic Marking
Configuring Traffic Marking
To configure class-based traffic marking, perform any of the following optional tasks:
•
Configuring IP Precedence Marking, page 7-22
•
Configuring IP DSCP Marking, page 7-24
•
Configuring Class of Service Marking, page 7-26
•
Configuring QoS Group Marking, page 7-28
•
Setting the ATM Cell Loss Priority Bit, page 7-29
•
Configuring MPLS Experimental Marking, page 7-31
•
Configuring Discard-Class Marking, page 7-33
•
Configuring Tunnel Header Marking Using the set Command, page 7-35
•
Configuring Tunnel Header Marking Using the police Command, page 7-36
For more information about classifying traffic and creating QoS service policies, see
Chapter 2,
“Classifying Traffic”
and
Chapter 3, “Configuring QoS Policy Actions and Rules.”
Configuring IP Precedence Marking
To mark the IP precedence field of packets, enter the following commands beginning in global
configuration mode:
Command
Purpose
Step 1
Router(config)#
policy-map
policy-map-name
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name
is the name of the policy map.
Step 2
Router(config-pmap)#
class
class-map-name
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name
is the name of a previously configured class
map and is the traffic class for which you want to define QoS
actions.
Step 3
Router(config-pmap-c)#
set ip precedence
prec-value
Specifies the IP precedence of packets within a traffic class.
prec-value
is the IP precedence value. Valid values are from
0 to 7. See
Table 7-2 on page 7-4
.
Note
Be sure you specify the
ip
keyword.