
42
Description
Use the
storm-constrain enable log
command 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 the
undo storm-constrain enable log
command to disable log sending.
By default, a storm control-enabled port sends out log messages when monitored traffic exceeds the
upper threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable interface GigabitEthernet 1/0/1 to send out log messages upon detecting storm control
threshold events.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/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 the
storm-constrain enable trap
command 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 the
undo storm-constrain enable trap
command to disable trap message sending.
By default, a storm control-enabled interface sends out traps when monitored traffic exceeds the upper
threshold or falls below the lower threshold from the upper threshold.
Examples
# Disable interface GigabitEthernet 1/0/1 from sending out storm control threshold event traps.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo storm-constrain enable trap
storm-constrain interval
Syntax
storm-constrain interval
seconds