R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference
163
Predefined user roles
network-admin
mdc-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
Use this command to enable loop detection globally.
To enable loop detection on specific ports, 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.
Example
# Globally enable loop detection for VLAN 10 through VLAN 20.
<Sysname> system-view
[System] loopback-detection global enable vlan 10 to 20
Related commands
• display loopback-detection
• loopback-detection enable
loopback-detection interval-time
Use loopback-detection interval-time to set the loop detection interval.
Use undo loopback-detection interval-time to restore the default.
Syntax
loopback-detection interval-time interval
undo loopback-detection interval-time
Default
The loop detection interval is 30 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interval: Sets the loop detection interval in the range of 1 to 300 seconds.










