action-shutdown
Syntax
action-shutdown;
Hierarchy Level
For platforms with Enhanced Layer 2 Software (ELS):
[edit forwarding-options storm-control-profiles profile-name]
For platforms without ELS:
[edit ethernet-switching-options storm-control]
Description
Logically shut down or temporarily disable interfaces when the storm control level is exceeded.
To configure the shutdown action so that the interfaces are disabled temporarily, and recover automatically after a specified period of time:
(MX Series, QFX Series, and EX switches that support ELS) Configure both the
action-shutdown
and therecovery-timeout
statements. The interfaces recover automatically when the recovery timeout expires.(EX switches that do not support ELS) Configure both the
action-shutdown
and theport-error-disable
statements. The interfaces recover automatically when the disable timeout expires. (Theport-error-disable
statement is not supported on QFX Series switches or MX Series routers.)
If you configure the action-shutdown
statement without configuring either
the port-error-disable
or recovery-timeout
statement, the interfaces
that are enabled for storm control are shut down when the storm control level is exceeded
and they do not recover automatically from that port-error condition.
If you do not configure the switch for autorecovery from the disabled condition, you can bring up the disabled interfaces by running one of the following commands:
(MX Series)—Issue the
clear bridge recovery-timeout
(QFX Series)—Issue the
clear ethernet-switching recovery-timeout
(EX Series switches that support ELS)—Issue the
clear ethernet-switching recovery-timeout
(EX Series switches that do not support ELS)—Issue the
clear ethernet-switching port-error
On EX4300 switches, action-shutdown
causes an interface to stop learning
MAC addresses and it also drops all incoming packets, but does not disable the physical interface.
Default
The action-shutdown
option is not enabled by default. The switching
device drops packets for the controlled traffic types if the ingress rate of the combined
traffic streams exceeds the specified storm control level. Depending upon the configuration,
applicable traffic could include broadcast, unknown unicast, and multicast traffic.
Required Privilege Level
system—To view this statement in the configuration.system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.6.
Hierarchy level [edit forwarding-options]
introduced in Junos OS Release
13.2X50-D10. (See Using the Enhanced Layer 2 Software CLI for information about
ELS.)