DES-3028 DES-3028P DES-3028G DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
98
14
C
O
S
C
OMMANDS
The DES-3028/28G/28P/52/52P supports 802.1p priority queuing. The Switch has four priority queues. These priority queues are
numbered from 3 (Class 3) — the highest priority queue — to 0 (Class 0) — the lowest priority queue. The eight priority tags
specified in IEEE 802.1p (p0 to p7) are mapped to the Switch’s priority queues as follows:
Priority 0 is assigned to the Switch’s Q1 queue.
Priority 1 is assigned to the Switch’s Q0 queue.
Priority 2 is assigned to the Switch’s Q0 queue.
Priority 3 is assigned to the Switch’s Q1 queue.
Priority 4 is assigned to the Switch’s Q2 queue.
Priority 5 is assigned to the Switch’s Q2 queue.
Priority 6 is assigned to the Switch’s Q3 queue.
Priority 7 is assigned to the Switch’s Q3 queue.
Priority scheduling is implemented by the priority queues stated above. The Switch will empty the four hardware priority queues
in order, beginning with the highest priority queue, 3, to the lowest priority queue, 0. Each hardware queue will transmit all of the
packets in its buffer before permitting the next lower priority to transmit its packets. When the lowest hardware priority queue has
finished transmitting all of its packets, the highest hardware priority queue will begin transmitting any packets it may have
received.
The commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
config bandwidth_control
[<portlist>] {rx_rate [no_limit | <value 64-1024000>] | tx_rate [no_limit
<value 64-1024000>]}
show bandwidth_control
<portlist>
config scheduling
<class_id 0-3> {weight <value 1-55>}
config scheduling_mechanism
[strict | weight_fair]
show scheduling
show scheduling_mechanism
config 802.1p user_priority
<priority 0-7> <class_id 0-3>
show 802.1p user_priority
config 802.1p default_priority
[<portlist> | all] <priority 0-7>
show 802.1p default_priority
<portlist>
config cos mapping port
[<portlist> | all] [none | {port_mapping | ethernet [802.1p | mac_mapping]
| ip [tos | dscp]}]
show cos mapping
{port <portlist> }
config cos port_mapping
[class [ 0(1) | 3(2) ] [<portlist> | all]
show cos port_mapping
{port <portlist> }
config cos mac_mapping
destination_addr <macaddr> [class <class_id 0-3>]
show cos mac_mapping
{destination_addr < macaddr > }
config cos tos value
<value 0-7> [class <class_id 0-3>]
show cos tos
{value <value 0-7>}
config dscp_mapping
dscp_value <value 0-63> [class <class_id 0-3>]
show dscp_mapping
{dscp_value <value 0-63> }