-422
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
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 Description
match protocol Configures the match criteria for a class map on the basis of the specified
protocol.
policy-map Creates or modifies a policy map that can be attached to one or more
interfaces to specify a service policy.
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.
set cos Sets the Layer 2 CoS value of an outgoing packet.
set precedence Sets the precedence value in the packet header.
show policy-map Displays the configuration of all classes for a specified service policy map
or all classes for all existing policy maps.
show policy-map class Displays the configuration for the specified class of the specified policy
map.
show policy-map
interface
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.
show table-map Displays the configuration of a specified table map or all table maps.
table-map (value
mapping)
Creates and configures a mapping table for mapping and converting one
packet-marking value to another.
Comments to this Manuals