< Home

dldp reset

Function

The dldp reset command resets the DLDP status of an interface so that the interface re-detects unidirectional links.

Format

dldp reset

Parameters

None

Views

System view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, MultiGE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a unidirectional link is detected, the corresponding interface enters the Disable state. The system prompts you to shut down the interface or automatically sets the interface state to DLDP Down according to the configuration. To enable the interface to detect unidirectional links again, you can reset the DLDP status of the interface as follows:

  • If the interface is shut down using the shutdown (interface view) command, run the undo shutdown (interface view) command to enable the interface to detect unidirectional links again. If the system automatically sets the interface state to DLDP Down, wait the interface to recover using the auto recovery mechanism after the link state becomes bidirectional using the auto recovery mechanism.

  • Run the dldp reset command to restore the interface. The DLDP status of the interface after recovery depends on the physical status of the port. If the physical status is Down, the DLDP status of the interface changes to Inactive. If the physical status is Up, the DLDP status changes to Active.

You can reset the DLDP status globally or on the interfaces.

  • When you run the dldp reset command in the interface view, the command takes effect only on this interface.

  • When you run the dldp reset command in the system view, the command takes effect on all disabled interfaces.

Prerequisites

  • If you run this command in the system view, ensure that DLDP has been enabled globally using the dldp enable command.

  • If you run this command in the interface view, ensure that DLDP has been enabled globally and on the interfaces using the dldp enable command.

Example

# Reset the DLDP status of all disabled interfaces.
<HUAWEI> system-view
[HUAWEI] dldp reset
# Reset the DLDP status of disabled interfaceGE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] dldp reset
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >