Enabling loop detection on a port

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view.

interface interface-type interface-number

N/A

3. Enable loop detection on the port.

loopback-detection enable vlan { vlan-list | all }

Disabled by default.