beautypg.com

Qos map dscp-cos, Qos map dscp-cos, s – Brocade Network OS Command Reference v4.1.0 User Manual

Page 620

background image

582

Network OS Command Reference

53-1003115-01

qos map dscp-cos

2

qos map dscp-cos

Creates a QoS map for performing DSCP-to-CoS mapping. This configures a DSCP-to-CoS map on
the ingress interface.

Synopsis

qos map dscp-cos name

no qos map dscp-cos name

mark ingress dscp values to egress cos value

Operands

name

Name of dscp-cos map

ingress dscp values

Range of input DSCP values

egress dscp values

Output CoS value

Defaults

DSCP-to-CoS mutation is not enabled.

Command Modes

dscp-cos mode for the QoS map

Global configuration mode

Description

Use this command to create and remove QoS dscp-cos maps, which remap the incoming DSCP
values of the ingress packet to egress CoS 802.1P values.

Usage Guidelines

When you enter qos map dscp-cos, the system is placed in dscp-cos mode for the configured map.
At this point, you can map ingress DSCP values to egress CoS values using the mark command.

Enter qos dscp-cos name while in configuration mode for a specific interface to apply the
DSCP-CoS map to that interface.

Enter no qos dscp-cos name while in the interface configuration mode to remove the map from
the interface.

Enter no map dscp-cos name while in global configuration mode to remove the DSCP-CoS map.

Examples

To create a QoS DSCP-CoS map and place system into dscp-cos mode:

switch(config)# qos map dscp-cos test

switch(dscp-cos-test)#

To map an ingress DSCP value to egress CoS values while in dscp-cos mode:

switch(dscp-cos-test)# mark 1,3,5,7 to 3

To map multiple ingress DSCP values to egress CoS values while in dscp-cos mode:

switch(dscp-mutation-test)# mark 1,3,5,7 to 9

switch(dscp-mutation-test)# mark 11,13,15,17 to 5

switch(dscp-mutation-test)# mark 12,14,16,18 to 6

switch(dscp-mutation-test)# mark 2,4,6,8 to 7

To remove a QoS DSCP-CoS map while in global configuration mode:

switch(config)# no qos map dscp-cos test

See Also

qos map dscp-traffic-class, qos dscp-cos, show qos maps dscp-cos