![Cisco Small Business 300 1.1 Series Administration Manual Download Page 566](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294566.webp)
Quality of Service (QoS) Commands
78-20269-01 Command Line Interface Reference Guide
568
41
41.11 set
Use the set Policy-map Class Configuration mode command to select the value
that QoS uses as the DSCP, egress queue or user priority values.
This command is only available when QoS is in advanced mode.
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-4)
•
cos
new-cos
—Specifies the new user priority to be marked in the packet.
(Range: 0–16)
Command Mode
Policy-map Class Configuration mode
User Guidelines
The set and trust commands are mutually exclusive within the same policy map.
To return to the Policy-map 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.
console(config)#
ip access-list
extended
ip1
console(config-mac-al)#
permit
ip any any
console(config-mac-al)#
exit
console(config)#
class-map
c1
console(config-cmap)#
match access-group
ip1