H3C Technologies H3C S5120 Series Switches User Manual
Page 89

1-8
To do…
Use the command…
Remarks
Specify to send trap messages
when the traffic detected
exceeds the upper threshold or
drops down below the lower
threshold from a point higher
than the upper threshold
storm-constrain enable trap
Optional
By default, the system sends
trap messages when the traffic
detected exceeds the upper
threshold or drops down below
the lower threshold from a point
higher than the upper
threshold.
Specify to send log when the
traffic detected exceeds the
upper threshold or drops down
below the lower threshold from
a point higher than the upper
threshold
storm-constrain enable log
Optional
By default, the system sends
log when the traffic detected
exceeds the upper threshold or
drops down below the lower
threshold from a point higher
than the upper threshold.
z
For network stability sake, configure the interval for generating traffic statistics to a value that is not
shorter than the default.
z
The storm constrain function, after being enabled, requires a complete statistical period (specified
by the storm-constrain interval command) to collect traffic data, and analyzes the data in the next
period. Thus, it is normal that a period longer than one statistic period is waited for a control action
to happen if you enable the function while the packet storm is present. However, the action will be
taken within two periods.
z
The storm constrain function is applicable to unicast packets, multicast packets, and broadcast
packets; and you can specify the upper and lower threshold for any of the three types of packets.
Setting the Interval for Collecting Ethernet Port Statistics
You can use the reset counters interface command to clear interface statistics.
Follow these steps to configure the interval for collecting interface statistics:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure the interval for
collecting interface statistics
flow-interval interval
Optional
The default interval for
collecting interface statistics is
300 seconds.