Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-500
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2    Catalyst 3750-X and 3560-X Cisco IOS Commands
set
set
Use the set policy-map class configuration command on the switch stack or on a standalone switch 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.
set {dscp new-dscp | [ip] precedence new-precedence}
no set {dscp new-dscp | [ipprecedence new-precedence}
Syntax Description
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
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.
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.
dscp new-dscp
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.
[ip] precedence new-precedence New IP-precedence value assigned to the classified traffic. The 
range is 0 to 7. You also can enter a mnemonic name for a 
commonly used value. 
Release
Modification
12.2(53)SE2
This command was introduced.