Set - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Quality of Service (QoS) Commands
78-20269-01 Command Line Interface Reference Guide

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
(Range: 0–63)
queue-id
queue
new-cos
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
—Specifies the new DSCP value for the classified traffic.
—Specifies the egress queue. (Range: 1-4)
}
41
568

Advertisement

Table of Contents
loading

Table of Contents