Brocade Converged Enhanced Ethernet Administrator's Guide v6.1.2_cee (53-1001258-01, June 2009)

Table Of Contents
Converged Enhanced Ethernet Administrator’s Guide 107
53-1001258-01
Queueing
8
Example of setting the interface default CoS to ‘3’
switch:admin>cmsh
switch>enable
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#interface tengigabitethernet 0/2
switch(conf-if-te-0/2)#qos cos 3
Creating a CoS-CoS mutation
Example of creating a CoS-to-CoS mutation QoS map to swap CoS 4 and CoS 5 (i.e. inbound CoS 4 is mapped to outbound CoS
5 and inbound CoS 5 is mapped to outbound CoS 4) all other CoS passes through unchanged.
switch:admin>cmsh
switch>enable
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#qos map cos-mutation test 0 1 2 3 5 4 6 7
switch(config)#exit
switch#
Applying a CoS mutation QoS map
Example of applying (activating) the CoS-to-CoS mutation QoS map on an interface.
switch:amdin>cmsh
switch>enable
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#interface tengigabitethernet 0/2
switch(conf-if-te-0/2)#qos cos-mutation test
switch(conf-if-te-0/2)#exit
switch(config)#exit
switch#
Step Task Command
1 Enter global configuration mode.
switch#configure terminal
2 Create the CoS mutation QoS map name. In
this example ‘test’ is used. Add the changes to
the CoS-CoS mutation QoS map name.
switch(config)#qos map cos-mutation
test 0 1 2 3 5 4 6 7
Step Task Command
1 Enter global configuration mode.
switch#configure terminal
2 Specify the 10-gigabit Ethernet interface. In
this example, 0/2 is used.
switch(config)#interface
tengigabitethernet 0/2
3 Activate or apply changes made to the
CoS-to-CoS mutation QoS map name. In this
example ‘test’ is used.
switch(config)#qos map cos-mutation
test 0 1 2 3 5 4 6 7