![D-Link DGS-3700 Series Reference Manual Download Page 270](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575270.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 270
config traffic control
adding the new software traffic control mechanism, the user can now use both a
hardware and software mechanism, the latter of which now provides shutdown,
recovery and trap notification functions for the Switch.
Parameters
<portlist>
−
Used to specify a group list of ports to be configured for traffic control,
as defined below:
all
−
Specifies all portlists 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 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 Shutdown Forever mode and is
no longer operational until the user manually resets the port using the
config ports
enable
command or when the
auto-recover time
has expired. 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 0-255000>
−
The upper threshold at which the specified traffic
control is switched on. The
<value>
is the number of broadcast/multicast/unicast
packets, in packets per second (pps), received by the Switch that will trigger the
storm traffic control measures. The default setting is
131072
.
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.
sec 5-600
−
The Interval may be set between
5
and
60
seconds with the default setting
of 5 seconds.
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. The switch will shutdown the port only if the traffic level exceeds the
configured threshold all the time during this countdown period. 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.
min 0
−
0 is the default setting for this field and
0
will denote that the port will never
shutdown forever.
min 3-30
– Select a time from
3
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 shutdown forever mode and can be manually
recovered using the config ports command mentioned previously in this manual or
the when the
auto-recover time
has expired.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage: