7-35
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 7 Marking Traffic
Configuring Traffic Marking
Configuring Tunnel Header Marking Using the set Command
To configure tunnel header marking using the
set
command, enter the following configuration
commands beginning in global configuration mode:
Configuration Example for Tunnel Header Marking Using the set Command
The following example configuration shows how to configure tunnel header marking using the
set
command. In the example, marking is configured for the match_ip traffic class. For all packets belonging
to that class, the router sets the DSCP bits to 3.
class-map match_ip
match protocol ip
policy-map Tunnel_Marking
class match_ip
set ip dscp tunnel 3
class class-default
shape 64000
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
[
dscp
|
precedence
]
tunnel
value
Marks a packet by setting the differentiated services code
point (DSCP) value or precedence level in the type of
service (ToS) byte.
(DSCP)
tunnel
value
is a number from 0 to 63 or one of the
following reserved keywords:
•
EF (expedited forwarding)
•
AF11 (assured forwarding class AF11)
•
AF12 (assured forwarding class AF12)
(Precedence)
tunnel
value
is a number from 0 to 7 that sets
the precedence bit in the packet header.