The display l2-loop-detect status-info command displays information about Layer 2 loop detection.
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.
The actual command output varies according to the device. The command output here is only an example.
<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
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:
|
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:
|
State | Status of an interface: Up or Down. |