H3C Technologies H3C S5120 Series Switches User Manual

Page 88

Advertising
background image

1-7

As for an Ethernet port belongs to a port group, if you set a storm suppression ratio for the interface in

both Ethernet port view and port group view, the one configured the last takes effect.

Configuring the Storm Constrain Function on an Ethernet Port

The storm constrain function suppresses packet storms in an Ethernet. With this function enabled on an

interface, the system detects the unicast traffic, multicast traffic, or broadcast traffic passing through the

interface periodically and takes corresponding actions (that is, blocking or shutting down the interface

and sending trap messages and logs) when the traffic detected exceeds the threshold.

Alternatively, you can configure the storm suppression function to control a specific type of traffic. As

the function and the storm constrain function are mutually exclusive, do not enable them at the same

time on an Ethernet port. For example, with unicast storm suppression ratio set on an Ethernet port, do

not enable the storm constrain function for unicast traffic on the interface. Refer to

Configuring Storm

Suppression

.

With the storm constrain function enabled on an Ethernet port, you can specify the system to act as

follows when the traffic detected exceeds the threshold.

z

Blocking the interface. In this case, the interface is blocked and thus stops forwarding the traffic of

this type till the traffic detected is lower than the threshold. Note that an interface blocked by the

storm constrain function can still forward other types of traffic and monitor the blocked traffic.

z

Shutting down the interface. In this case, the interface is shut down and stops forwarding all types

of traffic. Interfaces shut down by the storm constrain function can only be brought up by using the

undo shutdown command or disabling the storm constrain function.

Follow these steps to configure the storm constrain function on an Ethernet port:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the interval for generating
traffic statistics

storm-constrain interval
seconds

Optional

10 seconds by default

Enter Ethernet port view

interface interface-type
interface-number

Enable the storm constrain
function and set the lower
threshold and the upper
threshold

storm-constrain { broadcast |
multicast
| unicast } pps
max-pps-values
min-pps-values

Required

Disabled by default

Set the action to be taken when
the traffic exceeds the upper
threshold

storm-constrain control
{ block | shutdown }

Optional

Disabled by default

Advertising