2-419
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
set
set
Use the
set
policy-map class configuration command to classify IP traffic by setting a class of service
(CoS), a Differentiated Services Code Point (DSCP), an IP-precedence, or the multiprotocol label
switching (MPLS) experimental (EXP) bits in the packet. Use the
no
form of this command to remove
the traffic classification.
set
{
cos
new-cos
| [
ip]
{
dscp
new-dscp
|
precedence
new-precedence
} |
mpls experimental
exp-number
}
no set
cos
new-cos
|
ip
{
dscp
new-dscp
|
precedence
new-precedence
} |
mpls experimental
exp-number
}
Syntax Description
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
Usage Guidelines
You can use the
set
command only in class-level classes.
The
set
dscp
new-dscp
and the
set
precedence
new-precedence
commands are the same as the
set
ip
dscp
new-dscp
and the
set
ip precedence
new-precedence
commands.
For the
set
dscp
new-dscp
or the
set
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
as same entering the
set dscp 10
command. You can enter the
set precedence critical
command, which
is the same as entering the
set precedence 5
command. For a list of supported mnemonics, enter the
set
dscp ?
or the
set precedence ?
command to see the command-line help strings.
cos
new-cos
New CoS value assigned to the classified traffic. The range is 0 to 7.
ip 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. The specified value sets the type of service (ToS) byte in the
packet header.
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. The specified value sets the precedence bit
in the IP header.
mpls experimental
exp-number
New MPLS experimental value assigned to the classified traffic.
The range is 0 to 7. The specified value sets the MPLS experimental
3-bit field in the packet header.
Release
Modification
12.1(14)AX
This command was introduced.
12.2(25)EY
Hierarchical service policies can be attached to inbound traffic received on
an ES port.