Quality of Service (QoS) Commands
753
OL-32830-01 Command Line Interface Reference Guide
39
39.11 set
Use the set Policy-map Class Configuration mode. command to select the value
that QoS uses as the DSCP value, the egress queue or to set user priority values.
Syntax
set {dscp
new-dscp
| queue
queue-id
| cos
new-cos
}
no set
Parameters
•
dscp
new-dscp
—Specifies the new DSCP value for the classified traffic.
(Range: 0–63)
•
queue
queue-id
—Specifies the egress queue. (Range: 1-8 )
•
cos
new-cos
—Specifies the new user priority to be marked in the packet.
(Range: 0–7)
Command Mode
Policy-map Class Configuration mode.
User Guidelines
This command is only available when QoS is in advanced mode.
The
set
and
trust
commands are mutually exclusive within the same policy map.
To return to the Configuration mode, use the exit command. To return to the
Privileged EXEC mode, use the end command.
Example
The following example creates an ACL, places it into a class map, places the class
map into a policy map and sets the DSCP value in the packet to 56 for classes in
the policy map called p1.
switchxxxxxx(config)#
ip access-list
extended
ip1
switchxxxxxx(config-ip-al)#
permit
ip any any
switchxxxxxx(config-ip-al)#
exit
switchxxxxxx(config)#
class-map
c1
Summary of Contents for 300 Series
Page 2: ......