Specifications
2-504
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
set precedence
set precedence
To set the precedence value in the packet header, use the set precedence command in policy-map class
configuration mode. To remove the pre cedence value, use the no form of this command.
set pr eced en ce {precedence-value | from-field [table table-map-name]}
no set precedence {precedence-value | from-field [table table- map-n ame]}
Syntax Description
Command Default Disabled
Command Modes Policy-map c lass configuration mode
Usage Guidelines
Command Compatibility
The set precedence command cannot be used with the set dscp command to mark the same packet. The
two values, DSCP and precedence, are mutually exclusive. A packet can be one value or the other, but
not both.
You can use this command to specify the “from-field” packet-marking category to be used for mapping
and setting the precedence value. The “from-field” packet-marking categories are as follows:
• CoS
• QoS group
• DSCP
• Pr ece den ce
precedence-value A number from 0 to 7 that sets the precedence bit in the packet header.
from-field Specific packet-marking category to be used to set the prec edence value of
the packet. If you ar e using a table map for ma pping a nd conver ting
packet-marking values, this argument value establishes the “map from”
packet-marking category. Packet-marking category keywords are as follows:
• cos
• qos- group
• dscp
• pr eced en ce
table (Optional) Indicates that the values set in a sp ecified table map will be used
to set the precedence value.
table-map-name (Optional) Name of the table map used to specify a precedence value based
on the class of service (CoS) value. The name can be a maximum of 64
alphanumeric characte rs.