Cisco ASR 901 Command Reference Manual page 142

Aggregation services router
Hide thumbs Also See for ASR 901:
Table of Contents

Advertisement

set dscp
Set DSCP Values for IPv4 Packets Only
To set DSCP values for IPv4 packets only, use the ip keyword. Without the ip keyword, the match occurs
on both IPv4 and IPv6 packets.
Examples
Packet-marking Values and Table Map
In the following example, the policy map called "policy1" is created to use the packet-marking values
defined in a table map called "table-map1". The table map was created earlier with the table-map (value
mapping) command. For more information about the table-map (value mapping) command, see the
table-map (value mapping) command page.
In this example, the DSCP value will be set according to the CoS value defined in the table map called
"table-map1".
Router(config)# policy-map policy1
Router(config-pmap)# class class-default
Router(config-pmap-c)# set dscp cos table table-map1
Router(config-pmap-c)# end
The set dscp command is applied when you create a service policy in QoS policy-map configuration
mode. This service policy is not yet attached to an interface. For information on attaching a service
policy to an interface, refer to the "Modular Quality of Service Command-Line Interface" section of the
Cisco IOS Quality of Service Solutions Configuration Guide.
Related Commands
Command
match protocol
policy-map
service-policy
set cos
set precedence
show policy-map
show policy-map class Displays the configuration for the specified class of the specified policy
show policy-map
interface
show table-map
table-map (value
mapping)
Cisco ASR 901 Aggregation Services Router Command Reference Guide
1-128
Description
Configures the match criteria for a class map on the basis of the specified
protocol.
Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
Attaches a policy map to an input interface or VC, or an output interface or
VC, to be used as the service policy for that interface or VC.
Sets the Layer 2 CoS value of an outgoing packet.
Sets the precedence value in the packet header.
Displays the configuration of all classes for a specified service policy map
or all classes for all existing policy maps.
map.
Displays the configuration of all classes configured for all service policies
on the specified interface or displays the classes for the service policy for a
specific PVC on the interface.
Displays the configuration of a specified table map or all table maps.
Creates and configures a mapping table for mapping and converting one
packet-marking value to another.
Chapter 1
CLI Command Reference
OL-26031-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents