162
Parameters
shutdown
: Enables the shutdown mode. If a loop is detected, the device generates a log and shuts
down the port. The device automatically brings up the port after the detection timer expires. You can
use the
shutdown-interval
command to set the detection timer. For more information, see
Fundamentals Command Reference
.
Usage guidelines
To configure the loop protection action on a per-port basis, use the
loopback-detection action
command in interface view.
The global configuration applies to all ports. The per-port configuration applies to the individual ports.
The per-port configuration takes precedence over the global configuration.
Example
# Set the global loop protection action to
shutdown
.
<Sysname> system-view
[System] loopback-detection global action shutdown
Related commands
•
display
loopback-detection
•
loopback-detection
action
loopback-detection global enable
Use
loopback-detection global enable
to enable loop detection globally.
Use
undo loopback-detection global enable
to disable loop detection globally.
Syntax
loopback-detection global enable vlan
{
vlan-list
|
all
}
undo loopback-detection global enable vlan
{
vlan-list
|
all
}
Default
The loop detection function is globally disabled.
Views
System view
Predefined user roles
network-admin
Parameters
vlan-list
: Specifies a VLAN list, in the format of {
vlan-id
[
to
vlan-id
] }&<1-10>, where
vlan-id
represents the VLAN ID in the range of 1 to 4094, and &<1-10>
indicates that you can specify up to
10
vlan-id
[
to
vlan-id
] parameters.
all
: Specifies all existing VLANs.
Usage guidelines
To enable loop detection on a per-port basis, use the
loopback-detection enable
command in
interface view.
The global configuration applies to all ports in the specified VLAN. The per-port configuration applies
to the individual port only when the port belongs to the specified VLAN. The per-port configuration
takes precedence over the global configuration.
Summary of Contents for FlexNetwork 5130 HI series
Page 302: ...294 ...