31
By default, no action is taken on an Ethernet interface when a type of traffic exceeds the upper storm
control threshold.
Examples
# Configure interface GigabitEthernet 1/0/1 to block the traffic detected crossing the upper storm
control threshold.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain control block
storm-constrain enable log
Syntax
storm-constrain enable
log
undo storm-constrain enable log
View
Ethernet interface view
Default level
2: System level
Parameters
None
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