1-33
undo storm-constrain enable
View
Ethernet port view
Parameters
log: Enables log information to be output when traffic received on the port exceeds the upper threshold
or falls below the lower threshold.
trap: Enables trap information to be output when traffic received on the port exceeds the upper
threshold or falls below the lower threshold.
Description
Use the storm-constrain enable command to enable log/trap information to be output when traffic
received on the port exceeds the upper threshold or falls below the lower threshold.
Use the undo storm-constrain enable command to disable log/trap information from being output
when traffic received on the port exceeds the upper threshold or falls below the lower threshold.
By default, log/trap information is output when traffic received on the port exceeds the upper threshold
or falls below the lower threshold.
Related commands: display storm-constrain, storm-constrain.
Examples
# Disable log information from being output when traffic received on Ethernet 1/0/1 exceeds the upper
threshold or falls below the lower threshold.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo storm-constrain enable log
storm-constrain interval
Syntax
storm-constrain interval interval-value
undo storm-constrain interval
View
System view
Parameters
interval-value: Interval to collect traffic statistics, in the range of 1 to 300 (in seconds).
Description
Use the storm-constrain interval command to set the interval to collect traffic statistics.
Use the undo storm-constrain interval command to restore the default setting.
By default, the interval is 10 seconds.
Related commands: display storm-constrain, storm-constrain.
Examples
# Set the interval to collect traffic statistics to 2 seconds.
<Sysname> system-view