D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
124
config traffic control
Purpose
Used to configure broadcast/multicast/unicast packet storm control. The software mechanism is
provided to monitor the traffic rate in addition to the hardware storm control mechanism
previously provided.
Syntax
[<portlist> | all] {broadcast [enable | disable] | multicast [enable | disable] | unicast [enable |
disable] | action [drop | shutdown] | threshold <value 64-1000000> | time_interval <secs 5-30> |
countdown [<minutes 0>| <minutes 5-30>] } (1)
Description
This command is used to configure broadcast/multicast/unicast storm control. By adding the new
software traffic control mechanism, the user can now use both a hardware and software
mechanism, the latter of which will now provide shutdown, recovery and trap notification functions
for the Switch.
Parameters
<portlist> Used to specify a range of ports to be configured for traffic control.
all Specifies all ports are to be configured for traffic control on the Switch.
broadcast [enable | disable] Enables or disables broadcast storm control.
multicast [enable | disable] Enables or disables multicast storm control.
unicast [enable | disable] Enables or disables Unknown unicast traffic control.
action – Used to configure the action taken when a storm control has been detected on the
Switch. The user has two options:
drop Utilizes the hardware Traffic Control mechanism, which means the Switch’s hardware
will determine the Packet Storm based on the Threshold value stated and drop packets
until the issue is resolved.
shutdown Utilizes the Switch’s software Traffic Control mechanism to determine the Packet
Storm occurring. Once detected, the port will deny all incoming traffic to the port except
STP BPDU packets, which are essential in keeping the Spanning Tree operational on the
Switch. If the countdown timer has expired and yet the Packet Storm continues, the port
will be placed in Rest mode and is no longer operational until (1) auto-recovery after 5
minutes or (2) the user manually resets the port using the config ports 1 state disable and
config ports 1 state enable command. Choosing this option obligates the user to configure
the time_interval field as well, which will provide packet count samplings from the Switch’s
chip to determine if a Packet Storm is occurring.
threshold <value 64-1000000> This value represents the upper threshold at which the specified
traffic control is switched on. The threshold value is measured in Kbit/sec when the action is set
to drop mode; it is measured in pps(packets/sec) when the action is set to shutdown mode. That
is, the number of broadcast/multicast/Unknown unicast packets, received by the Switch that will
trigger the storm traffic control measures.
The default setting is 64 Kbit/sec.
time_interval The Interval will set the time between Multicast and Broadcast packet counts sent
from the Switch’s chip to the Traffic Control function. These packet counts are the determining
factor in deciding when incoming packets exceed the Threshold value.
countdown The countdown timer is set to determine the amount of time, in minutes, that the
Switch will wait before shutting down the port that is experiencing a traffic storm. This parameter
is only useful for ports configured as shutdown in the action field of this command and therefore
will not operate for Hardware based Traffic Control implementations.
<minutes 0> 0 is the default setting for this field and 0 will denote that the port will never
shutdown.
<minutes 5-30> – Select a time from 5 to 30 minutes that the Switch will wait before shutting
down. Once this time expires and the port is still experiencing packet storms, the port will
be placed in rest mode and can only be manually recovered using the config ports
command mentioned previously in this manual.
<secs 5-30> The Interval may be set between 5 and 30 seconds with the default setting of 5
seconds.
Restrictions
Only Administrator-level users can issue this command.
Example usage: