Storm-Constrain Control - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

max-packets: Upper threshold of the traffic on the port, in pps, or kbps. It ranges from 1 to
4,294,967,295 and must be greater than or equal to the lower threshold.
min-packets: Lower threshold of the traffic on the port, in pps, or kbps. It ranges from 1 to 4,294,967,295,
and must be less than or equal to the upper threshold.
Description
Use the storm-constrain command to set the upper and lower thresholds of the broadcast/multicast
traffic received on the port.
Use the undo storm-constrain command to cancel the threshold configuration.
With traffic upper and lower thresholds specified on a port, the system periodically collects
statistics about the broadcast/multicast 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.
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 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
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.
1-31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents