Configuration procedure, Displaying and maintaining an ethernet interface – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 25

14
•
The storm control function allows you to set the upper and lower thresholds for all three types of
packets separately on the same interface.
Configuration procedure
To configure storm control on an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the traffic polling interval
of the storm control module.
storm-constrain interval seconds
Optional.
The default setting is 10 seconds.
3.
Enter Ethernet interface view. interface interface-type
interface-number
N/A
4.
Enable storm control, and set
the lower and upper
thresholds for broadcast,
multicast, or unknown unicast
traffic.
storm-constrain { broadcast |
multicast | unicast } { pps | kbps |
ratio } max-pps-values
min-pps-values
By default, storm control is
disabled.
5.
Set the control action to take
when monitored traffic
exceeds the upper threshold.
storm-constrain control { block |
shutdown }
Optional.
No action is taken on an Ethernet
interface when a type of traffic
exceeds the upper storm control
threshold.
6.
Enable the interface to send
storm control threshold event
traps.
storm-constrain enable trap
Optional.
By default, the interface sends
traps when monitored traffic
exceeds the upper threshold or
drops below the lower threshold
from the upper threshold.
7.
Enable the interface to log
storm control threshold events. storm-constrain enable log
Optional.
By default, the interface outputs log
messages when monitored traffic
exceeds the upper threshold or
falls below the lower threshold
from the upper threshold.
Displaying and maintaining an Ethernet interface
Task Command
Remarks
Display Ethernet interface
information.
display interface [ interface-type ] brief [ down ] [ |
{ begin | exclude | include } regular-expression ]
display interface interface-type interface-number
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display traffic statistics for
the specified interfaces.
display counters { inbound | outbound } interface
[ interface-type ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.