1-12
user-defined port shutdown mode. To enable the port to perform DLDP detect again, you can reset the
DLDP state of the port in one of the following methods:
z If the port is shut down with the shutdown command manually, use the undo shutdown
command on the port.
z If the port is shut down by DLDP automatically, use the dldp reset command on the port.
Alternatively, you can leave the work to DLDP, which can enable the port automatically upon
detecting that the link has been restored to bidirectional. For how to reset DLDP state with the dldp
reset command, refer to
Resetting DLDP State in System View and Resetting DLDP State in Port
view/Port Group View
.
The DLDP state that the port transits to upon the DLDP state reset operation depends on its physical
state. If the port is physically down, it transits to Inactive state; if the port is physically up, it transits to
Active state.
Resetting DLDP State in System View
Resetting DLDP state in system view applies to all the ports shut down by DLDP.
Follow these steps to reset DLDP in system view:
To do… Use the command… Remarks
Enter system view
system-view
—
Reset DLDP state
dldp reset
Required
Resetting DLDP State in Port view/Port Group View
Resetting DLDP state in port view or port group view applies to the current port or all the ports in the port
group shut down by DLDP.
Follow these steps to reset DLDP state in port view/port group view:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter
Ethernet
port view
interface interface-type
interface-number
Enter
Ethernet
port
view/port
group view
Enter port
group view
port-group manual
port-group-name
Either is required.
The configuration performed in
Ethernet port view applies to the
current port only; the configuration
performed in port group view applies
to all the ports in the port group.
Reset DLDP state
dldp reset
Required
Displaying and Maintaining DLDP
To do… Use the command… Remarks
Display the DLDP
configuration of a port
display dldp [ interface-type
interface-number ]
Available in any view
Display the statistics on
DLDP packets passing
through a port
display dldp statistics [ interface-type
interface-number ]
Available in any view