Command Manual (For Soliton) – Port Basic Configuration
H3C S3100 Series Ethernet Switches
Chapter 1 Port Basic Configuration
Commands
1-38
Note:
z
You are not recommended to set the upper and lower traffic thresholds to the same
value.
z
The system can take one of the actions when the broadcast/multicast/unicast traffic
received on a port exceeds the upper threshold:
block
and
shutdown
. The
block
action blocks only those types of traffic that exceed the upper thresholds instead of
all types of traffic. When a type of traffic is blocked, it is still counted by the system
and contained in the traffic statistics. The
shutdown
action automatically
shutdowns the port when a type of traffic on the port exceeds the upper threshold. If
you want to bring up the port again, you can execute the
undo shutdown
command
or the
undo storm-constrain
{
all
|
broadcast
|
multicast
} command.
Related commands:
display
storm-constrain
,
storm-constrain
.
Examples
# Set the control action on Ethernet 1/0/1 to block.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] storm-constrain control block
1.1.34 storm-constrain enable
Syntax
storm-constrain
enable
{
log
|
trap
}
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.