D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
108
config bandwidth_control
Purpose Used to configure bandwidth control on a port by-port basis.
Syntax
<portlist> {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 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. Non-
contiguous portlist entries are separated by a comma. (ex: 1:1-1:3,1:7-1:9)
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 users can issue this command.
Example usage:
To configure bandwidth control:
DGS-3600:4#config bandwidth_control 1:1-1:8 rx_rate 64 tx_rate 64
Command: config bandwidth_control 1:1-1:8 rx_rate 64 tx_rate 64
Success.
DGS-3600:4#
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 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