1-34
Description
Use the storm-constrain command to set the upper and lower thresholds of the
broadcast/multicast/unicast traffic received on the port.
Use the undo storm-constrain command to cancel the threshold configuration.
z With traffic upper and lower thresholds specified on a port, the system periodically collects
statistics about the broadcast/multicast/unicast/ traffic on the port. Once it finds that a type of traffic
exceeds the specified upper threshold, it blocks this type of traffic on the port or directly shuts down
the port, and outputs trap/log information according to your configuration.
z When a type of traffic on the port falls back to the specified lower threshold, the system cancels the
blocking of this type of traffic on the port or brings up the port to restore traffic forwarding for the port,
and outputs log/trap information according to your configuration.
Related commands: display storm-constrain, storm-constrain control, storm-constrain enable.
Examples
# Set the upper and lower thresholds of broadcast traffic on Ethernet 1/0/1 to 100 pps and 10 pps
respectively.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] storm-constrain broadcast 100 10 pps
storm-constrain control
Syntax
storm-constrain control { block | shutdown }
undo storm-constrain control
View
Ethernet port view
Parameters
block: Blocks and stops forwarding those types of traffic exceeding the upper thresholds.
shutdown: Shutdowns the port if the broadcast/multicast/unicast traffic exceeds the upper threshold,
and stops receiving and forwarding all types of traffic on the port.
Description
Use the storm-constrain control command to set the action to be taken when the
broadcast/multicast/unicast traffic on the port exceeds the upper threshold.
Use the undo storm-constrain control command to cancel the configured action.
By default, no action is taken.