DES-3000 Series Layer 2 Switch CLI Reference Manual
107
config cos mapping
mapping as defined by the class (class <class_id 0-3>).
ip – Specifies port-based CoS mapping on selected ports to be tos or dscp
mapping.
tos – Specifies CoS mapping for Type of Service (ToS) priority. Select the
ToS value (value <value 0 - 7>) and the class (class <class_id 0-3>)
Restrictions Only Administrator-level users can issue this command.
Example usage:
To configure CoS to enable port-based CoS mapping:
DES-3026:4#config cos mapping port all port_mapping
Command: config cos mapping port all port_mapping
Success
DES-3026:4#
show cos mapping
Purpose Used to show CoS mapping.
Syntax
show cos mapping {port <portlist> | all }
Description The show cos mapping displays information regarding CoS mapping enabled ports and
their mapping method.
Parameters
<portlist> Specified a range of ports to be displayed. If no parameter specified, all ports
priority settings will be shown.
Restrictions None.
Example usage:
To display CoS mapping configuration:
DES-3026:4#show cos mapping port 1-3
Command: show cos mapping port 1-3
Port Port priority Ethernet_priority IP_priority
-----------------------------------------------------
-
1 off 802.1p off
2 off 802.1p off
3 off 802.1p off
DES-3026:4#
config dscp_mapping
Purpose To configure CoS mapping for DSCP (DiffServ) based priority.
Syntax
config dscp_mapping dscp_value <0–63> [class <class_id 0-3>]