Configure the loop protection settings for interfaces and display the loop protection state
Before you can configure loop protection for individual ports, you must globally enable loop protection (see Configure the global loop protection settings).
To enable and configure loop protection for an interface and display the loop protection state on the switch:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select Switching > L2 Loop Protection > L2 Loop Protection Configuration.
The L2 Loop Protection Configuration page displays.
- Select whether to display physical interfaces, LAGs, or both by clicking one of the following links above the table heading:
-
1 or Unit ID for a stacked switch:
- 1: If no switch stack is configured, the physical interfaces for the switch are displayed.
- Unit ID for a stacked switch: If a switch stack is configured, the physical interfaces for the switch with the selected stack unit ID are displayed.
-
LAG: Only LAGs are displayed.
-
All: Both physical interfaces and LAGs are displayed, or for a switch stack, both physical interfaces on all switches in the stack and LAGs are displayed.
-
- Select one or more interfaces by taking one of the following actions:
-
To configure a single interface, select the check box associated with the interface, or type the interface number in the Go To Interface field and click the Go button.
-
To configure multiple interfaces with the same settings, select the check box associated with each interface.
-
To configure all interfaces with the same settings, select the check box in the heading row.
-
- From the Keep Alive menu, select Enable to specify that loop protection must be enabled on the port.
By default, loop protection is disabled for a port.
- From the RX Action menu, select the action that the switch takes when a loop is detected on the port:
-
Log: Log the message when a loop is detected on the port.
-
Disable: Disable the port when a loop is detected. This is the default setting.
-
Both: Log and disable the port when a loop is detected.
-
- Click the Apply button.
Your settings are saved.
- To save the settings to the running configuration, click the Save icon.
- To refresh the page, click the Refresh button.
The following table describes the view-only fields on the page.
Table 1. Loop protection interface configuration information Field
Description
Loop Detected
Indicates (Yes or No) whether a loop is detected on the interface
Loop Count
The number of packets that were received on the interface after the loop was detected
Time Since Last Loop
The time since the loop was detected
Port Status
The status of the interface (Enabled or Disabled)
Errdisable Reason
The reason that the interface was disabled. In addition to being disabled because of loop protection, the interface can be disabled because of Unidirectional Link Detection (UDLD), a broadcast storm, a unicast storm, and so on.
Auto Recovery Time Left (sec)
The time that is left before the interface is reenabled through the autorecovery process. The time is in the range from 30 to 604800 seconds.