beautypg.com

Qos map cos-mutation – Brocade Network OS Command Reference v4.1.0 User Manual

Page 618

background image

580

Network OS Command Reference

53-1003115-01

qos map cos-mutation

2

qos map cos-mutation

Creates a QoS map for performing CoS-to-CoS mutation.

Synopsis

qos map cos-mutation name cos0 cos1 cos2 cos3 cos4 cos5 cos6 cos7

no qos map cos-mutation name

Operands

name

Specifies a unique name across all CoS-to-CoS mutation QoS maps defined
within the system. If the named CoS-to-CoS mutation QoS map does not
exist, then it is created. If the named CoS-to-CoS mutation QoS map already
exists, then it is updated and new mapping is automatically propagated to
all interfaces bound to the QoS map.

cos0

Sets the outbound CoS value for all packets with inbound CoS 0.

cos1

Sets the outbound CoS value for all packets with inbound CoS 1.

cos2

Sets the outbound CoS value for all packets with inbound CoS 2

cos3

Sets the outbound CoS value for all packets with inbound CoS 3.

cos4

Sets the outbound CoS value for all packets with inbound CoS 4.

cos5

Sets the outbound CoS value for all packets with inbound CoS 5.

cos6

Sets the outbound CoS value for all packets with inbound CoS 6.

cos7

Sets the outbound CoS value for all packets with inbound CoS 7.

Defaults

No CoS-to-CoS mutation QoS maps are defined.

Command Modes

Global configuration mode

Description

Use this command to create a QoS map for performing CoS-to-CoS Mutation. A CoS-to-CoS
mutation takes an inbound CoS value and maps it to an outbound CoS value. The inbound CoS
value is the user priority after any interface ingress QoS trust and Interface default CoS policy have
been applied. The outbound CoS value is used in selecting Traffic Class and egress packet
marking.

Usage Guidelines

Enter no qos map cos-mutation name command to delete the named CoS-to-CoS mutation QoS
map. A QoS map can only be deleted if it is not bound to any interface.

Examples

To create a CoS-to-CoS mutation QoS map to swap CoS 4 and CoS 5 and apply it on an interface,
for example having inbound CoS 4 mapped to outbound CoS 5 and inbound CoS 5 mapped to
outbound CoS 4; but all other CoS values go through unchanged:

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

switch(config)# interface tengigabitethernet 0/1

switch(conf-if-te-0/1)# qos cos-mutation test

To delete a CoS-to-CoS mutation QoS map:

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

See Also

qos cos-mutation, show qos maps