beautypg.com

Mls qos map premark-dscp to, Mls qos map premark- dscp to – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1027

background image

QoS Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

39.21

mls qos map premark-dscp to

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 a

new DSCP, CoS, queue and band width class 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

With the

trust dscp

command set, this command (mls qos map premark-dscp

)

enables

you to make the following changes:

1.

remap the DSCP (leaving the other settings unchanged)

2.

remap any or all of CoS, output queue, or bandwidth class values (leaving the DSCP
unchanged)

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).

Note

If you attempt to remap both the DSCP and another setting, only the DSCP
remap will take effect.