Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
set
Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated
Services Code Point (DSCP) or an IP-precedence value in the packet. Use the no form of this command
to remove traffic classification.
Syntax Description
dscp new-dscp
[ip] precedence new-precedence New IP-precedence value assigned to the classified traffic. The
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
Release
12.2(25)FX
12.2(25)SED
Usage Guidelines
If you have used the set ip dscp policy-map class configuration command, the switch changes this
command to set dscp in the switch configuration. If you enter the set ip dscp policy-map class
configuration command, this setting appears as set dscp in the switch configuration.
In Cisco IOS Release 12.2(25)SED or later, you can use the set ip precedence policy-map class
configuration command or the set precedence policy-map class configuration command. This setting
appears as set ip precedence in the switch configuration.
The set command is mutually exclusive with the trust policy-map class configuration command within
the same policy map.
For the set dscp new-dscp or the set ip precedence new-precedence command, you can enter a
mnemonic name for a commonly used value. For example, you can enter the set dscp af11 command,
which is the same as entering the set dscp 10 command. You can enter the set ip precedence critical
command, which is the same as entering the set ip precedence 5 command. For a list of supported
mnemonics, enter the set dscp ? or the set ip precedence ? command to see the command-line help
strings.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
OL-8604-03
set {dscp new-dscp | [ip] precedence new-precedence}
no set {dscp new-dscp | [ip] precedence new-precedence}
Modification
This command was introduced.
The ip keyword is optional.
New DSCP value assigned to the classified traffic. The range
is 0 to 63. You also can enter a mnemonic name for a commonly
used value.
range is 0 to 7. You also can enter a mnemonic name for a
commonly used value.
Catalyst 2960 Switch Command Reference
set
2-391