mac
Commands for Network Port Configuration
109
Switch2(Config-If-Ethernet1/1)#speed-duplex force100-half
3.1.19 storm-control
Command: storm-control {unicast | broadcast | multicast} <Kbits>
no storm-control {unicast | broadcast | multicast}
Function: Sets the traffic limit for broadcasts, multicasts and unknown destination
unicasts on all ports in the switch; the no command disables this traffic suppression
function on all ports in the switch, i.e., enables broadcasts, multicasts and unknown
destination unicasts to pass through the switch at line speed.
Parameters: use unicast to limit unicast traffic for unknown destination; multicast to
limit multicast traffic; broadcast to limit broadcast traffic. <Kbits> means the number of
packets allowed to pass per second, the ranging from 1 to 1000000.
Command mode: Port Mode.
Default: No limit is set by default. So, broadcasts, multicasts and unknown destination
unicasts are allowed to pass at line speed.
Usage Guide: All ports in the switch belong to a same broadcast domain if no VLAN has
been set. The switch will send the above mentioned three traffics to all ports in the
broadcast domain, which may result in broadcast storm and so may greatly degrade the
switch performance. Enabling Broadcast Storm Control can better protect the switch
from broadcast storm. Note the difference of this command in 10Gb ports and other ports.
If the allowed traffic is set to 1000kbps, this means allow 1000 kbit per second and
suppress the rest.
Broadcast suppression is similar to bandwidth control. 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
For broadcast suppression, broadcast, multicast, unicast must be set the same
threshold value.
Example: Setting ports 1-8 allow 1000kbit broadcast packets per second.
Switch(config-if-port-range)#storm-control broadcast 1000
3.1.20 virtual-cable-test
Command: virtual-cable-test interface ethernet <interface-list>
Function: Test the link of the twisted pair cable connected to the Ethernet port. The
response may include: well, short, open, fail. If the test information is not well, the
location of the error will be displayed (how many meters it is away from the port).










