xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
110
config bandwidth_control
Purpose
Used to configure bandwidth control on a port by-port basis.
Syntax
[<portlist>|all] {rx_rate [no_limit | <value 1-156249>] | tx_rate
[no_limit | <value 1-156249>]}
Description The
config bandwidth_control
command is used to configure bandwidth
on a port by-port basis.
Parameters
<portlist>
−
Specifies a port or range of ports to be configured. The
beginning and end of the port list range are separated by a dash.
all
−
Specifies that the command applies to all ports on the Switch.
rx_rate
−
Specifies that one of the parameters below (
no_limit
or
<value 1-
156249>
) 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.
<value 1-156249>
−
Specifies the packet limit, in Kbps, that the
above ports will be allowed to receive.
tx_rate
−
Specifies that one of the parameters below (
no_limit
or
<value 1-
156249>
) 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 received by the above specified ports.
<value 1-156249>
−
Specifies the packet limit, in Kbps, that the
above ports will be allowed to receive.
Restrictions
Only administrator-level and operator-level users can issue this command.
Example usage:
To configure bandwidth control:
DGS-3627:5#config bandwidth_control 1-8 rx_rate 64 tx_rate 64
Command: config bandwidth_control 1-8 rx_rate 64 tx_rate 64
Success.
DGS-3627:5#
show bandwidth_control
Purpose
Used to display the bandwidth control table.
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 port or range of ports to be viewed. The beginning and
end of the port list range are separated by a dash.
Restrictions None.
Example usage:
To display bandwidth control settings:
DGS-3627:5#show bandwidth_control 1-10
Command: show bandwidth_control 1-10
Bandwidth Control Table