Converged Enhanced Ethernet Administrator’s Guide 97
53-1001761-01
Queueing 9
DRAFT: BROCADE CONFIDENTIAL
Once the traffic class mapping has been resolved for ingress traffic, it is applied consistently
across all queueing incurred on the ingress and egress ports.
Mapping CoS-to-Traffic-Class
Perform the following steps from Privileged EXEC mode to map a CoS-to-Traffic-Class.
1. Enter global configuration mode.
switch#configure terminal
2. Create the CoS-Traffic-Class mapping by specifying a name and the mapping.
switch(config)#qos map cos-traffic-class test 1 0 2 3 4 5 6 7
Example of creating CoS-to-Traffic-Class QoS map to map CoS 0 (best effort) to Traffic Class 1 and CoS 1 to
below best effort Traffic Class 0, all other CoS go through unchanged. This mapping matches the default
behavior recommended in IEEE 802.1Q for systems supporting 8 Traffic Classes.
switch:admin>cmsh
switch>enable
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)#qos map cos-traffic-class test 1 0 2 3 4 5 6 7
switch(config)#end
switch#
3. Enter the copy comman d to save the running-conf ig file to the start up-config file.
switch#copy running-config startup-config
Activating a mapping CoS-to-Traffic-Class
Perform the following steps from Privileged EXEC mode to activate a CoS-to-traffic class mapping.
1. Enter global configuration mode.
switch#configure terminal
2. Specify the 10-gigabit Ethernet interface.
Example of selecting the 10-Gigabit Ethernet inter face port 0/2.
switch(config)#interface tengigabitethernet 0/2
3. Activate the CoS-to-Traffic-Class mapping by name.
switch(conf-if-te-0/2)#qos cos-traffic-class test
Example of activating the CoS-to-Traffic-Class QoS map on an interface.
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-traffic-class test
switch(conf-if-te-0/2)#exit
switch(config)#end
switch#
4. Enter the copy comman d to save the running-conf ig file to the start up-config file.
switch#copy running-config startup-config