QoS Commands
Page 225
set
The
set
Policy-map Class Configuration mode command sets new values in the IP packet.
Syntax
set
{
dscp
new-dscp
|
queue
queue-id
|
cos
new-cos
}
no set
Parameters
•
new-dscp
— Specifies a new DSCP value for the classified traffic. (Range: 0-63)
•
queue-id
— Specifies an explicit queue ID for setting the egress queue.
•
new-cos
— Specifies a new user priority for marking the packet. (Range: 0-7)
Default Configuration
This command has no default configuration.
Command Mode
Policy-map Class Configuration mode
User Guidelines
This command is mutually exclusive with the
trust
Policy-map Class Configuration command within the same
policy map.
Policy maps that contain
set
or
trust
Policy-map Class Configuration commands or that have ACL classifications
cannot be attached to an egress interface by using the
service-policy
(Ethernet, Port-channel) Interface
Configuration mode command.
To return to the Policy-map Configuration mode, use the
exit
command. To return to privileged EXEC mode, use
the
end
command.
Example
The following example sets the dscp value in the packet to 56 for classes in in policy map called policy1.
Console (config)#
policy-map
policy1
Console (config-pmap)#
set dscp
56
Console (config-if)#
service-policy input
policy1
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...