display loop-detect block

Function

The display loop-detect block command displays information about interfaces blocked in loop detection.

Format

display loop-detect block all

display loop-detect block interface { interface-name | interface-type interface-num }

Parameters

Parameter Description Value
interface interface-name

Specifies the interface name.

-

interface-type

Specifies the interface type.

-

interface-num

Specifies the interface number.

-

all

Indicates that all blocked interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vlan write

Usage Guidelines

Usage Scenario

If all is specified, all blocked interfaces are displayed. These interfaces are not listed in sequence.

Precautions

When you check all blocked interfaces on the slave main control board, the loop detection information on the Eth-trunk sub-interface is saved on the main control board, and the loop detection information on the physical sub-interface is saved on the interface board. Therefore, you need to pay attention to the following when running the display loop-detect block all slave command:

  • In the case of dual MPUs, you can only view the blocking status of the Eth-trunk sub-interface on the slave main control board.
  • In the NPU1:1 environment, you can only view the blocking status of physical sub-interfaces on the slave main control board.

Example

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

# Display all the interface blocking information in L2VPN loop detection.
<HUAWEI> display loop-detect block all
Info: A link has been blocked (PORT:GigabitEthernet0/1/9.1, PEVLAN ID:1, CEVLAN ID:2)
Info: A link has been blocked (PORT:GigabitEthernet0/1/9.2, VLAN ID:2)
# Display information about all interfaces blocked in loop detection.
<HUAWEI> display loop-detect block all
Info: GigabitEthernet0/1/0.1 has been blocked.
Table 1 Description of the display loop-detect block command output
Item Description
Info

Loop detection·information.

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