Storm-Constrain - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

<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 1000

storm-constrain

Syntax
storm-constrain { broadcast | multicast | unicast } max-packets min-packets pps
undo storm-constrain { all | broadcast | multicast | unicast }
View
Ethernet port view
Parameters
broadcast: Specifies to control broadcast traffic on the port.
multicast: Specifies to control multicast traffic on the port.
unicast: Specifies to control unicast traffic on the port.
all: Cancels all the storm control threshold configurations on the port.
max-packets: Upper threshold of the traffic on the port, in pps (packet per second). 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. 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
broadcast/multicast/unicast 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/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.
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
command
to
set
the
1-30
upper
and
lower
thresholds
of
the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents