37
For the traffic suppression result to be determined, do not configure both storm control and storm
suppression for the same type of traffic.
When configuring this command, make sure
upperlimit is greater than lowerlimit.
Examples
# Enable unknown unicast storm control on GigabitEthernet 1/0/1 and set the upper and lower
thresholds to 200 pps and 150 pps, respectively.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] storm-constrain unicast pps 200 150
# Enable broadcast storm control on GigabitEthernet 1/0/2, and set the upper and lower thresholds
to 2000 kbps and 1500 kbps, respectively.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] storm-constrain broadcast kbps 2000 1500
# Enable multicast storm control on GigabitEthernet 1/0/3, and set the upper and lower thresholds to
80% and 15%, respectively.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] storm-constrain multicast ratio 80 15
Related commands
storm-constrain control
storm-constrain interval
storm-constrain control
Use storm-constrain control to set the action to take on an Ethernet interface when a type of
traffic (unknown unicast, multicast, or broadcast) exceeds the upper storm control threshold.
Use
undo storm-constrain control to restore the default.
Syntax
storm-constrain control { block | shutdown }
undo storm-constrain control
Default
No action is taken on an Ethernet interface when a type of traffic exceeds the upper storm control
threshold.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
block: Blocks this type of traffic and forwards other types of traffic. Even though the interface does
not forward the blocked traffic, it still counts the traffic. When the blocked traffic drops below the lower
threshold, the port begins to forward the traffic.
shutdown: Goes down automatically. The interface goes down automatically and stops forwarding
any traffic. When the blocked traffic drops below the lower threshold, the interface does not forward