DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
111
show cos port_mapping
Purpose
Used to map the destination MAC address in incoming packets to one of the hardware
queues available on the switch.
Syntax
show cos port_mapping {port <portlist>}
Description
The
show cos mac_mapping
command is used to view map static destination MAC
addresses to one of the CoS traffic classes.
Parameters
<portlist>
−
Specifies a port or range of ports to be configured.
If no parameter is specified, all port-to-class mappings will be shown.
Restrictions
None.
Example usage:
To show the cos port_mapping of the port 3:
DES-1228/ME:4# show cos port_mapping port 3
Command: show cos port_mapping port 3
Port Priority
------------------
3 3
DES-1228/ME:4#
config cos mac_mapping
Purpose
Used to map the destination MAC address in incoming packet to one of the hardware
queues available on the switch.
Syntax
config cos mac_mapping destination_addr <macaddr> [class <class_id 0-3>]
Description
The
config cos mac_mapping
command is used to map static destination MAC address
to one of the traffic classes.
Parameters
destination_addr
−
The MAC address to be configured
.
<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:
To configure the destination MAC address 00-01-02-03-04-05 to traffic class 2 mapping:
DES-1228/ME:4# config cos mac_mapping destination_addr 00-01-02-03-04-05 class 2
Command: config cos mac_mapping destination_addr 00-01-02-03-04-05 class 2
Success.
DES-1228/ME:4#