Set - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

39
753

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
new-dscp
set {dscp
no set
Parameters
new-dscp
dscp
(Range: 0–63)
queue-id
queue
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
queue-id
| queue
| cos
—Specifies the new DSCP value for the classified traffic.
—Specifies the egress queue. (Range: 1-8 )
Quality of Service (QoS) Commands
new-cos
}
OL-32830-01 Command Line Interface Reference Guide

Advertisement

Table of Contents
loading

Table of Contents