DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
672
Chapter 75
Traffic Control Command
List
config traffic control
[<portlist> | all] {broadcast [enable | disable] | multicast [enable | disable]
|unicast [enable | disable] | action [drop | shutdown] | threshold <value 0-255000> |
countdown [<min 0> | <min 3-30> | disable] | time_interval <sec 5-600>}
config traffic trap
[none | storm_occurred | storm_cleared | both]
show traffic control
{<portlist>}
config traffic control log state
[enable | disable]
config traffic control auto_recover_time
[<min 0> | <min 1-65535>]
75-1
config traffic control
Description
This command is used to configure broadcast/ multicast/ unicast packet storm control. Shutdown
mode is provided to monitor the traffic rate in addition to the storm control drop mode. If traffic rate
is too high, this port will be shut down.
Format
config traffic control [<portlist> | all] {broadcast [enable | disable] | multicast [enable |
disable] | unicast [enable | disable] | action [drop | shutdown] | threshold <value 0-255000> |
countdown [<min 0> | <min 3-30> | disable] | time_interval <sec 5-600>}
Parameters
<portlist>
- Used to Specifies a range of ports to be configured.
all
- Specifies that all the ports will be used for this configuration.
broadcast
- (Optional) Enable or disable broadcast storm control.
enable
- Specifies that broadcast storm control will be enabled.
disable
- Specifies that broadcast storm control will be disabled.
multicast
- (Optional) Enable or disable multicast storm control.
enable
- Specifies that multicast storm control will be enabled.
disable
- Specifies that multicast storm control will be disabled.
unicast
- (Optional) Enable or disable unknown packet storm control. ( Supported for drop mode
only)
enable
- Specifies that unicast storm control will be enabled.
disable
- Specifies that unicast storm control will be disabled.
action
- (Optional) One of the two options for action is specified for storm control, shutdown or
drop mode. Shutdown mode is a function of software, drop mode is implemented by the chip.
If shutdown mode is specified, it is necessary to configure values for the countdown and
time_interval parameters.
drop
- Specifies that the action applied will be drop mode.
shutdown
- Specifies that the action applied will be shutdown mode.
threshold
- (Optional) The upper threshold, at which point the specified storm control is
triggered. The <value> is the number of broadcast/multicast packets per second received by
the Switch that will trigger the storm traffic control measure. The threshold is expressed as
PPS (packets per second) and must be an unsigned integer.
<value 0-255000>
- Enter the upper threshold value here. This value must be between 0 and
255000.
countdown
- (Optional) Timer for shutdown mode. If a port enters the shutdown Rx state and