DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
112
show cos mac_mapping
Purpose
Used to show the mapping between destination MAC addresses and CoS traffic classes.
Syntax
show cos mac_mapping {destination_addr <macaddr>}
Description
The
show cos mac_mapping
command display the information of the destination MAC
address mapped to a traffic class.
Parameters
destination_addr
−
The MAC address of the incoming packet destination address. If no
parameter is specified, all the MAC address mapping to traffic class will be shown.
Restrictions
None.
Example usage:
To show the MAC address to traffic class mapping of MAC address 00-01-02-03-04-05:
DES-1228/ME:4# show cos mac_mapping destination_addr 00-01-02-03-04-05
Command: show cos mac_mapping destination_addr 00-01-02-03-04-05
MAC Address Class
---------------------------------------
00-01-02-03-04-05 2
DES-1228/ME:4#
config cos tos value
Purpose
Used to map the ToS value in the IP header of incoming packets to one of the eight
hardware queues available on the switch.
Syntax
config cos tos value <value 0-7> [class <class_id 0-3>]
Description
The
config cos tos
command is used to configure ToS to traffic class mapping.
Parameters
<value 0-7>
−
The ToS value of incoming packet that you want to associate with the traffic
class.
<class_id 0-3>
−
The number of the Switch’s hardware priority queue. The Switch has four
hardware priority queues available. They are numbered between 0 (the lowest priority)
and 3 (the highest priority).
Restrictions
Only Administrator-level users can issue this command.
Example usage:
Configure the TOS 5 to the traffic class 1 mapping:
DES-1228/ME:4# config cos tos value 5 class 1
Command: config cos tos value 5 class 1
Success.
DES-1228/ME:4#