xStack Gigabit Layer 3 Switch Command Line Interface Manual
before being allowed to transmit its accumulated packets. This establishes a Class of Service (CoS) for each of the Switch’s
seven hardware classes.
The possible range for maximum packets is: 0 to 15 packets.
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> | all] {rx_rate [no_limit | <value 1-9999>] | tx_rate
[no_limit <value 1-9999>]}
show bandwidth_control
{<portlist>}
config scheduling
<class_id 0-6> {max_packet <value 0-15>}
show scheduling
config 802.1p user_priority
{<priority 0-7> <class_id 0-6>}
show 802.1p user_priority
config 802.1p default_priority
[<portlist> | all] | <priority 0-7>
show 802.1p default_priority
{<portlist>}
config
scheduling_mechanism
[strict | weight_fair]
show scheduling_mechanism
enable hol_prevention
disable hol_prevention
show hol_prevention
Each command is listed, in detail, in the following sections.
config bandwidth_control
Purpose
Used to configure bandwidth control on a by-port basis.
Syntax
config bandwidth_control [<portlist> | all] {rx_rate [no_limit |
<value 1-9999>] | tx_rate [no_limit | <value 1-9999>]}
Description
The
config bandwidth_control
command is used to configure
bandwidth on a by-port basis.
Parameters
<portlist>
−
Specifies a range of ports to be configured. The port
list is specified by listing the lowest switch number and the
beginning port number on that switch, separated by a colon.
Then the highest switch number, and the highest port number of
the range (also separated by a colon) are specified. The
beginning and end of the port list range are separated by a dash.
For example, 1:3 specifies switch number 1, port 3. 2:4 specifies
switch number 2, port 4. 1:3-2:4 specifies all of the ports between
switch 1, port 3 and switch 2, port 4
−
in numerical order.
all
– Choose this parameter to select all configurable ports.
rx_rate
−
Specifies that one of the parameters below (
no_limit
or
<value 1-9999>
) will be applied to the rate at which the above
specified ports will be allowed to receive packets
no_limit
−
Specifies that there will be no limit on the rate
of packets received by the above specified ports.
104