DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
113
show cos tos
Purpose
Used to show TOS value to traffic class mapping.
Syntax
show cos tos {value <value 0-7>}
Description
The
show cos tos
command displays the information of ToS to traffic class mappings.
Parameters
<value 0-7>
−
The TOS value of the incoming packet. If no parameter is specified, all the
ToS values to traffic class mappings will be shown.
Restrictions
None.
Example usage:
To show the TOS to traffic class mapping of the TOS 5:
DES-1228/ME:4# show cos tos value 5
Command: show cos tos value 5
TOS value Class
-------------------------------------------
5 2
DES-1228/ME:4#
config dscp_mapping
Purpose
Used to map the DSCP value in the IP header of incoming packet to one of the four
hardware queues available on the switch.
Syntax
config dscp_mapping dscp_value <value 0-63> [class <class_id 0-3>]
Description
The
config dscp_mapping
command is used to configure DSCP mapping to traffic class.
This command is supported when the ACL commands are not supported.
Parameters
<value 0-63>
−
The DSCP value of the incoming packet you want to associate with the
class_id.
<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 DSCP map to traffic class:
DES-1228/ME:4# config dscp_mapping dscp_value 8 class 1
Command: config dscp_mapping dscp_value 8 class 1
Success.
DES-1228/ME:4#