beautypg.com

Configuring storm control on a port, On, refer to – H3C Technologies H3C S3600 Series Switches User Manual

Page 170

background image

1-10

%Apr 5 07:25:37:634 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -

Ethernet1/0/1 is DOWN

[Sysname-Ethernet1/0/1] undo shutdown

%Apr 5 07:25:56:244 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -

Ethernet1/0/1 is UP

# Disable Ethernet 1/0/1 from generating Up/Down log information and execute the shutdown

command or the undo shutdown command on Ethernet 1/0/1. No Up/Down log information is

generated or output for Ethernet 1/0/1.

[Sysname-Ethernet1/0/1] undo enable log updown

[Sysname-Ethernet1/0/1] shutdown

[Sysname-Ethernet1/0/1] undo shutdown

Configuring Storm Control on a Port

The storm control function is used to control traffic received on an Ethernet port.

z

With traffic upper and lower thresholds specified on a port, the system periodically collects

statistics about the broadcast/multicast/unicast/ traffic on the port. Once it finds that a type of traffic

exceeds the specified upper threshold, it blocks this type of traffic on the port or directly shuts down

the port, and outputs trap/log information according to your configuration.

z

When a type of traffic on the port falls back to the specified lower threshold, the system cancels the

blocking of this type of traffic on the port or brings up the port to restore traffic forwarding for the port,

and outputs log/trap information according to your configuration.

Follow these steps to configure storm control on a port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Set the upper and lower
thresholds of
broadcast/multicast/unicast
traffic received on the port

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

Required

Set the action to be taken when
a type of traffic received on the
port exceeds the upper
threshold.

storm-constrain control
{ block | shutdown }

Optional

By default, no action is taken
when a type of traffic reaches
the upper threshold.

Enable log/trap information to
be output when a type of traffic
received on the port exceeds
the upper threshold or falls
below the lower threshold

storm-constrain enable { log |
trap }

Optional

Enabled by default.

Return to system view

quit

Set the interval at which the
port collects traffic statistics

storm-constrain interval
interval-value

Optional

It is 10 seconds by default.

This manual is related to the following products: