set dscp
set dscp
Use the set [ip] dscp policy-map class configuration command to mark IPv4 traffic by setting a
Differentiated Services Code Point (DSCP) value in the type of service (ToS) byte of the packet. Use the
no form of this command to remove traffic marking.
Entering ip dscp is the same as entering dscp.
Note
Syntax Description
dscp-value
from-field
table
table-map-name
Defaults
No traffic marking is defined.
Command Modes
Policy-map class configuration
Command History
Release
12.2(25)EX
12-2(25)SEG
Cisco ME 3400 Ethernet Access Switch Command Reference
2-380
set [ip] dscp {dscp_value |from-field [table table-map-name]}
no set [ip] dscp {dscp_value | from-field [table table-map-name]}
Modification
This command was introduced.
Support was added to set multiple marking actions and to use table maps for
enhanced packet marking. See "Usage Guidelines."
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
Enter a DSCP value with which to classify traffic. The range is from
0 to 63. You also can enter a mnemonic name for a commonly used
value.
Specific a packet-marking category to be used to set the DSCP value of
the packet. If you are using a table map for mapping and converting
packet-marking values, this establishes the map-from packet-marking
category.
These options are supported:
cos—class of service (CoS) value
•
dscp—DSCP value.
•
precedence—IP-precedence value
•
(Optional) Used in conjunction with the from-field keyword. Indicates
that the values set in a specified table map are used to set the DSCP
value
(Optional) Used in conjunction with the table keyword. Name of the
table map used to specify the DSCP value. The table map name can be
a maximum of 64 alphanumeric characters.
OL-9640-10