3com 5500-ei pwr インストール手順
1-9
Configuration examples
# In the default conditions, where UP/DOWN log output is enabled, execute the shutdown command or
the undo shutdown command on Ethernet 1/0/1. The Up/Down log information for Ethernet 1/0/1 is
generated and displayed on the terminal.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] shutdown
%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
interface-number
—
Set the upper and lower
thresholds of
broadcast/multicast/unicast
traffic received on the port
thresholds of
broadcast/multicast/unicast
traffic received on the port
storm-constrain { broadcast |
multicast | unicast }
max-packets min-packets { pps
| kbps }
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.
a type of traffic received on the
port exceeds the upper
threshold.
storm-constrain control
{ block | shutdown }
{ block | shutdown }
Optional
By default, no action is taken
when a type of traffic reaches
the upper threshold.
when a type of traffic reaches
the upper threshold.