1-13
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.
Configurations made in Ethernet
port view apply to the current port
only; configurations performed in
port group view apply 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
Clear the statistics on DLDP
packets passing through a port
reset dldp statistics
[
interface-type interface-number
]
Available in user view
DLDP Configuration Example
Network requirements
Device A and Device B are connected through two fiber pairs, in which two fibers are cross-connected,
as shown in
Figure 1-3
.
Make configuration so that the unidirectional links can be disconnected on being detected. The ports
thus shut down can automatically recover after the fiber connections are corrected.
Figure 1-3
Network diagram for DLDP configuration