xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Manual
13
9
config cos tos value
Used to map
the ToS value in the IP header of incoming packets to
one of the four hardware queues available on the Switch.
Purpose
config
cos tos value <value 0-7> [class <class_id 0-3>]
Syntax
This
command is used to configure ToS to traffic class mapping.
Description
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).
Only Administrator-level users
can issue this command.
Restrictions
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
Used to sh
ow TOS value to traffic class mapping.
Purpose
sho
w cos tos {value <value 0-7>}
Syntax
This
command is used to display the information of ToS to traffic
class mappings.
Description
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.
Non
e.
Restrictions
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#