xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
590
config traffic control
multicast
- Enable or disable multicast storm control.
dlf
- Enable or disable unknown packet storm control. ( Supported for drop mode only)
action
- One of the two options for action are specified for storm control, shutdown of 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 back_off and
time_interval parameters.
threshold
- 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.
time_interval
- The sampling interval of received packet counts. The possible value will be 5-
600 seconds. The parameter is not applicable if “drop” (mode) is specified for the “action”
parameter.
countdown
- Timer for shutdown mode. If a port enters the shutdown Rx state and this timer
runs out, port will be shutdown forever. The parameter is not applicable if “drop” (mode) is
specified for the “action” parameter. Default is 0 minutes. 0 disables the forever state,
meaning that the port will not enter the shut down forever state.
disable
– Specifies that the countdown is disabled. The port will directly shutdown when the
switch detects a storm.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the parameters so that the traffic control status is enabled on ports 1-12:
DGS-3450:admin# config traffic control 1-12 broadcast enable action shutdown threshold 1
countdown 5 time_interval 10
Command: config traffic control 1-12 broadcast enable action shutdown threshold 1
countdown 5 time_interval 10
Success.
DGS-3450:admin#
config traffic trap
Purpose
Used to configure trap modes.
Syntax
config traffic trap [ none | storm_occurred | storm_cleared | both ]
Description
Occurred Mode:
This trap is sent when a packet storm is detected by the packet storm
mechanism.
Cleared Mode:
This trap is sent when the packet storm is cleared by the packet storm
mechanism.
Parameters
none
- No trap state is specified for storm control.
storm_occurred
- Occurred mode is enabled and cleared mode is disabled.
storm_cleared
- Occurred mode is disabled and cleared mode is enabled.
both
- Both occurred and cleared modes are enabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable both the occurred mode and cleared mode traffic control traps: