beautypg.com

Qos map cos-traffic-class, Map cos-traffic-class, qos – Brocade Network OS Command Reference v4.1.0 User Manual

Page 619

background image

Network OS Command Reference

581

53-1003115-01

qos map cos-traffic-class

2

qos map cos-traffic-class

Creates a QoS map for performing CoS-to-Traffic Class mapping.

Synopsis

qos map cos-traffic-class name tc0 tc1 tc2 tc3 tc4 tc5 tc6 tc7

no qos map cos-traffic-class

Operands

name

Specifies the CoS-to-Traffic Class QoS map name. If the named
CoS-to-Traffic Class QoS map does not exist, then it is created. If the named
CoS-to-Traffic Class QoS map already exists, then it is updated and new
mappings are automatically propagated to all interfaces bound to the QoS
map.

tc0

Sets the Traffic Class value for all packets with outbound CoS 0.

tc1

Sets the Traffic Class value for all packets with outbound CoS 1.

tc2

Sets the Traffic Class value for all packets with outbound CoS 2.

tc3

Sets the Traffic Class value for all packets with outbound CoS 3.

tc4

Sets the Traffic Class value for all packets with outbound CoS 4.

tc5

Sets the Traffic Class value for all packets with outbound CoS 5.

tc6

Sets the Traffic Class value for all packets with outbound CoS 6.

tc7

Sets the Traffic Class value for all packets with outbound CoS 7.

Defaults

No CoS-to-Traffic Class QoS maps are defined.

Command Modes

Global configuration mode

Description

Use this command to create a QoS map for performing CoS-to-Traffic Class mapping.
A CoS-to-Traffic Class QoS map takes an outbound CoS value and maps it to a Traffic Class.
The outbound CoS value is used as the packet user priority after applying the configured interface
QoS trust, interface default CoS, and CoS-to-CoS mutation policies. Traffic Class is a reference to a
scheduler queue and packet servicing policy.

Usage Guidelines

Enter no qos map cos-traffic-class name to delete the CoS-to-Traffic Class QoS map specified by
name. The CoS-to-Traffic Class QoS map can only be deleted when it is not bound to any interface.
All other CoS values go through unchanged. This mapping matches the default behavior
recommended in IEEE 802.1Q for systems supporting 8 Traffic Classes.

Examples

To create a CoS-to-Traffic Class QoS map to map CoS 0 to Traffic Class 1 and CoS 1 to
Traffic Class 0:

switch(config)# qos map cos-traffic-class test 1 0 2 3 4 5 6 7

To delete a CoS-to-Traffic Class QoS map:

switch(config)# no qos map cos-traffic-class test

See Also

qos map cos-mutation, qos trust cos