DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
109
config cos mapping
Purpose
Used to configure the CoS to port mapping method to be used on the switch.
Syntax
config cos mapping port [<portlist> | all] [none |{port_mapping | ethernet [802.1p |
mac_mapping] | ip [tos | dscp]}(1)]
Description
The
config cos mapping
is used to set the method of which incoming packets will be
identified for the CoS to port mapping feature on the Switch. Identified packets will be
forwarded to the appropriate CoS queue.
Parameters
<portlist>
−
Specifies a port or range of ports to be configured.
all
– Specifies all ports will be configured.
none
−
Disable all priority-base CoS features.
port_mapping
−
Enable port-based CoS.
ethernet
−
Enable Ethernet frame based priority.
802.1p
−
Enable 802.1p CoS
mac_mapping
−
Enable MAC-based CoS.
ip
−
Enable Ethernet frame based priority.
Restrictions
None.
Example usage:
To configure port 1 as a CoS enabled port which uses the physical port number as its criteria for identifying packets:
DES-1228/ME:4#config cos mapping port 1 port_mapping
Command: config cos mapping port 1 port_mapping
Success.
DES-1228/ME:4#
show cos mapping
Purpose
Used to show CoS mapping.
Syntax
show cos mapping {port <portlist> }
Description
The
show cos mapping
displays information regarding CoS mapping enabled ports and
their mapping method.
Parameters
<portlist>
−
Specifies a range of ports to be displayed. If no parameter is specified, the all
ports priority settings will be shown.
Restrictions
None.
Example usage:
To show the CoS mapping information:
DES-1228/ME:4# show cos mapping
Command: show cos mapping
Port Port_priority Ethernet_priority IP_priority
----------------------------------------------------------------------
1 off 802.1p off
2 off 802.1p off
3 off 802.1p off
4 off 802.1p off
5 off 802.1p off