D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
139
config cos tos value
Purpose
Used to map the ToS value in the IP header of incoming packets to
one of the four hardware queues available on the Switch.
Syntax
config cos tos value <value 0-7> [class <class_id 0-3>]
Description
This command is used to configure ToS to traffic class mapping.
Parameters
<value 0-7> The ToS value of incoming packet that you want to
associate with the traffic class.
<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:
Configure the TOS 5 to the traffic class 1 mapping:
DES-3200-28:4#config cos tos value 5 class 1
Command: config cos tos value 5 class 1
Success.
DES-3200-28:4#
show cos tos
Purpose
Used to show TOS value to traffic class mapping.
Syntax
show cos tos {value <value 0-7>}
Description
This command is used to display 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-3200-28:4#show cos tos value 5
Command: show cos tos value 5
TOS value Class
-------------------------------------------
5 2
DES-3200-28:4#