35
Description
Use
storm-constrain enable log
to enable an Ethernet interface to log storm control threshold
events. Logged events include traffic exceeding the upper threshold and traffic falling below the
lower threshold from the upper threshold.
Use
undo storm-constrain enable log
to disable log sending.
By default, a storm control-enabled port sends log messages when monitored traffic exceeds the
upper threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable Ethernet 1/0/1 from sending out log messages upon detecting storm control threshold
events.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo storm-constrain enable log
storm-constrain enable trap
Syntax
storm-constrain enable
trap
undo storm-constrain enable
trap
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use
storm-constrain enable trap
to enable an Ethernet interface to send storm control threshold
event traps. Triggering events include traffic exceeding the upper threshold and traffic falling below
the lower threshold from the upper threshold.
Use
undo storm-constrain enable trap
to disable trap message sending.
By default, a storm control-enabled interface sends traps when monitored traffic exceeds the upper
threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable Ethernet 1/0/1 from sending out storm control threshold event traps.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo storm-constrain enable trap
storm-constrain interval
Syntax
storm-constrain interval
seconds
undo storm-constrain interval