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:

  1. 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.
  2. Select Switching > L2 Loop Protection > L2 Loop Protection Configuration.

    The L2 Loop Protection Configuration page displays.

  3. Select whether to display physical interfaces, LAGs, or both by clicking one of the following links above the table heading:
    • 1: Only physical interfaces are displayed. This is the default setting.
    • LAG: Only LAGs are displayed.

    • All: Both physical interfaces and LAGs are displayed.

  4. 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.

  5. 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.

  6. 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.

  7. Click the Apply button.

    Your settings are saved.

  8. To save the settings to the running configuration, click the Save icon.
  9. 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.