HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
58
Usage guidelines
You can configure the loop protection action globally or on specific ports. 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
You can enable loop detection globally or on specific ports. 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.
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