D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
701
The Traffic Control commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
config traffic control [<portlist> | all] {broadcast [enable| disable] | multicast [enable | disable] | [dlf |
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
auto_recover_time
[<min 0> | <min 1-65535>]
config traffic control_recover [<portlist> | all]
Each command is listed, in detail, in the following sections.
config traffic control
Purpose Used to configure broadcast/multicast 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.
Syntax
config traffic control [<portlist> | all] {broadcast [enable| disable] | multicast [enable |
disable] | [dlf | unicast ] [enable | disable] | action [ drop | shutdown ] | threshold
<value 0-255000 > | countdown [<min 0> | <min 3-30> | disable] | time_interval <sec 5-
600>}
Description The config traffic control command configures broadcast/multicast/DLF storm control.
Parameters
portlist - Used to specify a range of ports to be configured.
broadcast - Enable or disable broadcast storm 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 - Countdown is disable, the port directly shutdown when the switch detects 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: