mac
Commands for Network Port Configuration
97
Chapter 3 Commands for Network Port
Configuration
3.1 Commands for Ethernet Port Configuration
3.1.1 bandwidth
Command: bandwidth control <bandwidth> {transmit | receive | both}
no bandwidth control
Function: Enable the bandwidth limit function on the port; the no command disables this
function.
Parameter: <bandwidth> is the bandwidth limit, which is shown in kbps ranging
between 1-1000000K; both refers to the bandwidth limit when the port receives and
sends data, receive refers to the bandwidth limit will only performed when the switch
receives data from out side, while transmit refers to the function will be perform on
sending only.
Command Mode: Port Mode.
Default: Bandwidth limit disabled by default.
Usage Guide: When the bandwidth limit is enabled with a size set, the max bandwidth of
the port is determined by this size other than by 10/100/1000M. If [both | receive |
transmit] keyword is not specified, the default is both.
Note: The bandwidth limit can not exceed the physic maximum speed on the port. For
example, an 10/100M Ethernet port can not be set to a bandwidth limit at 101000K (or
higher), but applicable on a 10/100/1000 port working at a speed of 100M. If the actual
bandwidth is not a integral multiple of chip bandwidth granularity, it will be modified
automatically. For example, a chip bandwidth granularity is 64K, but the input bandwidth
is 50, the bandwidth will be modified as 64K.
Bandwidth control is similar to broadcast suppression. There is granularity limitation for
the chip; S61xx series switch support 1M and 62.5K granularities. When setting the
value to be integer multiple of 1M, the setting value is effective, other conditions get
integer of 62.5K granularity.
Example: Set the bandwidth limit of 1/1-8 port is 40000K.
Switch(config)#interface ethernet 1/1-8
Switch(Config-If-Port-Range)#bandwidth control 40000 both










