xStack Gigabit Layer 3 Switch Command Line Interface Manual
config bandwidth_control
<value 1-9999>
−
Specifies the packet limit, in Mbps, that
the above ports will be allowed to receive.
tx_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 transmit packets.
no_limit
−
Specifies that there will be no limit on the rate
of packets transmitted by the above specified ports.
<value 1-9999>
−
Specifies the packet limit, in Mbps, that
the above ports will be allowed to transmit.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To configure bandwidth control:
DGS-3324SRi:4#config bandwidth_control 1:1-1:10 tx_rate 10
Command: config bandwidth_control 1:1-1:10 tx_rate 10
Success.
DGS-3324SRi:4#
show bandwidth_control
Purpose
Used to display the bandwidth control configuration on the Switch.
Syntax
show bandwidth_control {<portlist>}
Description
The
show bandwidth_control
command displays the current
bandwidth control configuration on the Switch, on a port-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.
Using this command without adding a portlist entry will show the
bandwidth control for all ports in the Switch stack.
Restrictions None.
Example usage:
To display bandwidth control settings:
105