QoS Commands
©2008 Allied Telesis Inc. All rights reserved.
40.46
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
set dscp
For a specific class-map and policy-map this command will assign or change the dscp value
within the packet. Note that where more than one class map has been assigned to a particular
DSCP, the switch will apply the action of the class-map that was created first.
If trust dscp has also been specified, the value determined by the set DSCP command (i.e. that
assigned to the class map and policy map) will be the value that is used by the lookup process
in the mark-dscp mapping. The result of the lookup with then be assigned to the traffic.
Syntax
set dscp <0-63>
no set dscp
Mode
Policy Map Class Mode
Example
To set a DSCP value of 35 to all traffic classified by a class-map of cmap and a policy map of
pmap1, use the command:
Related Commands
set bandwidth-class
s
set cos
set dscp
set queue
trust dscp
Parameter Description
set
Setting a new value in the packet
dscp <0-63>
The new DSCP value. A value between 0 and 63.
no
Negate a command or set its defaults
awplus#
configure terminal
awplus(config)#
policy-map pmap1
awplus(config-pmap)#
class cmap
awplus(config-pmap-c)#
set dscp 35