display l2-loop-detect status-info

Function

The display l2-loop-detect status-info command displays information about Layer 2 loop detection.

Format

display l2-loop-detect status-info slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
device-mgr read

Usage Guidelines

Usage Scenario

The CPU determines whether to enable or disable Layer 2 loop detection based on packet loss caused by the CAR. Run the display l2-loop-detect status-info command to display information about Layer 2 loop detection. The information includes actions in response to Layer 2 loops, interfaces where Layer 2 loops occur, loop level, and interface status.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about Layer 2 loop detection on the board in slot 1.
<HUAWEI> display l2-loop-detect status-info slot 1
l2-loop-detect action : trap and shutdown
  port in loop-state :
  ------------------------------------------------------------
  Interface                       LoopLevel        State
  GigabitEthernet0/1/0               Determined       Down
Table 1 Description of the display l2-loop-detect status-info command output
Item Description
l2-loop-detect action

Action in response to a potential loop that is detected on a specified interface. The value can be as follows:

  • trap: Send a trap.
  • shutdown: Shut down the interface.
  • trap and shutdown: Send a trap and shut down the interface.
  • none: Ignore Layer 2 loops (A log is generated to track when Layer 2 loops occur.).
port in loop-state

Indicates the interface information about a potential loop. If no loop occurs on the interface, the system displays "none".

Interface

Name of an interface.

LoopLevel

Loop level. The value can be as follows:

  • Determined: indicates an existing loop on an interface.
  • Suspect: indicates that there is a relatively high possibility that there is a loop on the interface.
  • Notification: indicates that there is a relatively low possibility that there is a loop on the interface.
State

Status of an interface: Up or Down.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >