Specifications
DES-3000 Series Layer 2 Switch CLI Reference Manual
config cos mapping
• 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>]
Description This is used to map the 64-level DSCP priority to the 4-level class of service
priority used in the Switch.
Parameters dscp_value <0 – 63> - The DSCP priority level being mapped. Each DSCP
level must be configured separately to be mapped.
class <class_id 0-3> - The class of service level being mapped to.
Restrictions Only administrator-level users can issue this command.
88