QoS Commands
©2008 Allied Telesis Inc. All rights reserved.
40.26
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
mls qos map mark-dscp to
Configures the mark-dscp map. This is used when traffic is classified by a class-map that has
trust DSCP configured. Based on a lookup DSCP, the map determines a new DSCP, COS,
queue and bandwidth class for the traffic. If the set DSCP command has also been specified for
that class-map, the set value is used for the lookup of the mark-dscp map. Otherwise the DSCP
value in the packet is used for the lookup.
The
no
variant of this command resets the mark-dscp map to its defaults. This is used when
traffic is classified by a class-map that has trust dscp configured. Based on a lookup DSCP, the
map determines a new DSCP, COS, queue and bandwidth class for the traffic. If the set DSCP
command has also been specified for that class-map, the set value is used for the lookup of the
mark-dscp map. Otherwise the DSCP value in the packet is used for the lookup. If no DSCP is
specified then all DSCP entries will be reset to their defaults.
Syntax
mls qos map mark-dscp <0-63> to {[new-dscp <0-63>][new-cos<0-7>][new-
queue <0-7>][new-bandwidth-class{green|yellow|red}]}
no mls qos map mark-dscp [<0-63>]
Mode
Configure Mode
Examples
To set the entry for DSCP 1 to use a new DSCP of 2, a new CoS of 3, a new queue of 4 and a
new bandwidth class of yellow, use the command:
To reset the entry for DSCP 1 use the command:
Related Commands
mls qos map policed-dscp to
set dscp
show mls qos maps mark-dscp
trust dscp
Parameter
Description
mark-dscp<0-63>
The DSCP value on ingress
new-dscp<0-63>
The DSCP value that the packet will have on egress.
If unspecified, this value will remain the DSCP ingress value.
new-cos<0-7>
The CoS value that the packet will have on egress.
If unspecified, this value will be set to zero.
new-queue<0-7>
The new egress queue that the packet will be assigned to on egress.
If unspecified, this value will be set to zero.
new-bandwidth-class
Modify Egress Bandwidth-class.
If unspecified, this value will be set to green.
green
Egress Bandwidth-class green (marked down Bandwidth-class)
yellow
Egress Bandwidth-class yellow (marked down Bandwidth-class)
red
Egress Bandwidth-class red (marked down Bandwidth-class)
awplus#
config terminal
awplus(config)#
mls qos map mark-dscp 1 to new-dscp 2 new-cos
3 new-queue 4 new-bandwidth-class yellow
awplus#
config terminal
awplus(config)#
no mls qos map mark-dscp 1