Storm-Constrain - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Examples
# Configure 10 Mbps and 100 Mbps as the auto-negotiation speeds of Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] speed auto 10 100

storm-constrain

Syntax
storm-constrain { broadcast | multicast } max-packets min-packets { pps | kbps }
undo storm-constrain { all | broadcast | multicast }
View
Ethernet port view
Parameters
broadcast: Specifies to control broadcast traffic on the port.
multicast: Specifies to control multicast traffic on the port.
all: Cancels all the storm control threshold configurations on the port.
pps: Specifies the storm constrain threshold in packets.
kbps: Specifies the storm constrain threshold in kilobits per second (kbps).
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
1-31

Advertisement

Table of Contents
loading

Table of Contents