C613-50631-01 Rev A Command Reference for IE340 Series 2134
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
QOS COMMANDS
MLS
QOS MAP PREMARK-DSCP
mls qos map premark-dscp
Overview This command configures the premark-dscp map. It is used when traffic is
classified by a class-map that has trust dscp configured. Based on a lookup DSCP,
the map determines new QoS settings for the traffic.
The no variant of this command resets the premark-dscp map to its defaults. If no
DSCP is specified then all DSCP entries will be reset to their defaults.
Syntax
mls qos map premark-dscp <0-63> to ď€
{[new-dscp <0-63>][new-cos <0-7>] ď€
[new-bandwidth-class {green|yellow|red}]}
no mls qos map premark-dscp [<0-63>]
Mode Global Configuration
Usage notes With the trust dscp command set, this command (mls qos map premark-dscp)
enables you to remap the DSCP, CoS, output queue, or bandwidth class values.
However, note that you cannot simultaneously change the DSCP and CoS, because
they use the same byte in the IP header.
Example To set the entry for DSCP 1 to use a new DSCP of 2, use the command:
awplus# configure terminal
awplus(config)# mls qos map premark-dscp 1 to new-dscp 2
Parameter Description
premark-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 retain its value on ingress.
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).