beautypg.com

Configuration procedure, Configuring storm control on an ethernet interface – H3C Technologies H3C S5560 Series Switches User Manual

Page 26

background image

12

If the configured value is smaller than 64, the value of 64 takes effect.

If the configured value is greater than 64 but not an integer multiple of 64, the integer multiple of
64 that is greater than and closest to the configured value takes effect.

For the suppression threshold that takes effect, see the prompt on the switch.

Configuration procedure

To set storm suppression thresholds on one or multiple Ethernet interfaces:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view. interface interface-type

interface-number

N/A

3.

Enable broadcast suppression
and set the broadcast

suppression threshold.

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

By default, broadcast traffic is
allowed to pass through an
interface.

4.

Enable multicast suppression
and set the multicast

suppression threshold.

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

By default, multicast traffic is
allowed to pass through an
interface.

5.

Enable unknown unicast

suppression and set the
unknown unicast suppression

threshold.

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

By default, unknown unicast traffic
is allowed to pass through an

interface.

Configuring storm control on an Ethernet interface

Storm control compares broadcast, multicast, and unknown unicast traffic regularly with their respective

traffic thresholds on an Ethernet interface. For each type of traffic, storm control provides a lower

threshold and a higher threshold.
For management purposes, you can configure the interface to output threshold event traps and log

messages when monitored traffic meets one of the following conditions:

Exceeds the upper threshold.

Falls below the lower threshold from the upper threshold.

Depending on your configuration, when a particular type of traffic exceeds its upper threshold, the

interface does either of the following:

Blocks this type of traffic, while forwarding 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.

Goes down automatically—The interface goes down automatically and stops forwarding any
traffic. When the blocked traffic is detected dropping below the lower threshold, the port does not

forward the traffic. To bring up the interface, use the undo shutdown command or disable the storm

control feature.

Any of the storm-constrain, broadcast-suppression, multicast-suppression, and unicast-suppression
commands can suppress storm on a port. The broadcast-suppression, multicast-suppression, and

unicast-suppression commands suppress traffic in hardware, and have less impact on device

performance than the storm-constrain command, which performs suppression in software.