beautypg.com

Configuring traffic storm protection, Configuring storm suppression – H3C Technologies H3C S5120 Series Switches User Manual

Page 87

background image

1-6

Configuring Traffic Storm Protection

A traffic storm occurs when a large amount of broadcast, multicast, or unicast packets congest a

network. The S5120-SI switches provide two storm protection approaches:

z

Storm suppression, which enables you to limit the size of monitored traffic passing through an

Ethernet port by setting a traffic threshold. When the traffic threshold is exceeded, the port discards

all exceeding traffic.

z

Storm control, which enables you to shut down Ethernet ports or block traffic when monitored traffic

exceeds the traffic threshold. It also enables a port to send trap or log messages when monitored

traffic reaches a certain traffic threshold, depending on your configuration.

For a particular type of traffic, configure either storm suppression or storm control, but not both. If both of

them are configured, you may fail to achieve the expected storm control effect.

Configuring Storm Suppression

You can use the storm suppression function to limit the size of a particular type of traffic (currently

broadcast, multicast and unknown unicast traffic) on a per-interface basis in Ethernet port view or port

group view.

In interface or port group view, you set the maximum broadcast, multicast or unknown unicast traffic

allowed to pass through an interface or each interface in a port group. When the broadcast, multicast, or

unknown unicast traffic on the interface exceeds the threshold, the system discards packets until the

traffic drops below the threshold.

Follow these steps to set storm suppression ratios for one or multiple Ethernet ports:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter
Ethernet port
view

interface interface-type
interface-number

Enter
Ethernet port
view or port
group view

Enter port
group view

port-group manual
port-group-name

Use either command.

If configured in Ethernet port
view, this feature takes effect
on the current port only; if
configured in port group view,
this feature takes effect on all
ports in the port group.

Set the broadcast storm
suppression ratio

broadcast-suppression { ratio |
pps max-pps | kbps max-bps }

Optional

By default, broadcast traffic is
not suppressed.

Set the multicast storm
suppression ratio

multicast-suppression { ratio |
pps max-pps | kbps max-bps }

Optional

By default, multicast traffic is
not suppressed.

Set the unknown unicast
storm suppression ratio

unicast-suppression { ratio | pps
max-pps
| kbps max-bps }

Optional

By default, unknown unicast
traffic is not suppressed.