xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
467
64
Q
UALITY OF
S
ERVICE
(Q
O
S)
C
OMMANDS
The Quality of Service (QoS) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config bandwidth_control
[<portlist>| all] {rx_rate [ no_limit | <value 64-10000000>] | tx_rate [ no_limit |
<value 64-10000000>]}
show bandwidth_control
{<portlist>}
config scheduling
{ports [<portlist> | all ]} <class_id 0-6> [max_packet <value 0-15>]
config scheduling_mechanism
{ports [<portlist> | all ]} [strict | weight_fair]
show scheduling
{<portlist>}
show scheduling_mechanism
{<portlist>}
config 802.1p user_priority
{ports [<portlist> | all ]} <priority 0-7> <class_id 0-6>
show 802.1p user_priority
{<portlist>}
config 802.1p default_priority
[<portlist> | all ] <priority 0-7>
show 802.1p default_priority
{<portlist>}
enable hol_prevention
disable hol_prevention
show hol_prevention
config per_queue bandwidth_control
{ports [<portlist> | all ]} <cos_id_list 0-6> {{min_rate [no_limit | <value 64-
10000000>]} max_rate [no_limit | <value 64-10000000 >]}(1)
show per_queue bandwidth_control
{<portlist>}
config dscp trust
[<portlist> | all] state [enable | disable]
show dscp trust
{<portlist>}
config dscp map
[dscp_priority <dscp_list> to <priority 0-7> |dscp_dscp <dscp_list> to <dscp 0-
63>]
show dscp map
[dscp_priority | dscp_dscp ] {dscp <dscp_list>}
Each command is listed, in detail, in the following sections.
config bandwidth_control
Purpose
Use to configure the port bandwidth limit control.
Syntax
config bandwidth_control [<portlist>| all] {rx_rate [ no_limit | <value 64-10000000>] |
tx_rate [ no_limit | <value 64-10000000>]}
Description
This command sets the maximum limit for port bandwidth.
Parameters
portlist
- Specifies the range of ports to be configured.
rx_rate
- Specifies the limitations to apply to the receive data rate.
no_limit
- Indicates there is no limit on the amount of bandwidth that can be received on the
configured ports.
An integer value from 64 to 10000000 sets the maximum limit in Kbits/sec. The actual
bandwidth will be an adjusted value based on the user specified bandwidth. The actual limit
may be equal to the user specified limit, but will not exceed it. The actual limit recognized by