Specifications

2-336
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
set cos
set cos
Use the set cos policy-map class configuration command to set a Layer 2 class of service (CoS) value in
the packet. Use the no form of this command to remove traffic marking.
set cos {cos_value | from-field [table table-map-name]}
no set cos {cos_value | from-field [table table-map-name]}
Syntax Description
Defaults No traffic marking is defined.
Command Modes Policy-map class configuration
Command History
Usage Guidelines You can configure set cos with all other marking actions, specifically set dscp, set precedence, and set
qos-group, for the same class. Support was also added for the ability to configure more than one marking
action with enhanced packet marking by using table maps for the same class.
Use the set cos command if you want to mark a packet that is being sent to a switch. Switches can
leverage Layer 2 header information including a CoS value marking.
cos_value Enter an IEEE 802.1Q class of service/user priority value with which
to classify traffic. The range is from 0 to 7.
from-field Specific a packet-marking category to be used to set the CoS 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—CoS value
dscp—Differentiated Services Code Point (DSCP) value.
precedence—IP-precedence value
table (Optional) Used in conjunction with the from-field keyword. Indicates
that the values set in a specified table map are used to set the CoS value
table-map-name (Optional) Used in conjunction with the table keyword. Name of the
table map used to specify the CoS value. The table map name can be a
maximum of 64 alphanumeric characters.
Release Modification
12.2(25)EX This command was introduced.
12-2(25)SEG Support was added to set multiple marking actions and to use table maps for
enhanced packet marking. See “Usage Guidelines.