44
Ste
Command
1. Enter system view.
system-view
2. Reset DLDP state.
dldp reset
Resetting DLDP state in interface view/port group view
Resetting DLDP state in interface view or port group view applies to the current port or all ports in the port
group.
To reset DLDP state in interface view/port group view:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view or port group
view.
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Use either approach.
Configurations made in Layer 2
Ethernet interface view apply to the
current port only. Configurations
made in port group view apply to all
the ports in the port group.
3. Reset DLDP state.
dldp reset N/A
Displaying and maintaining DLDP
Task Command Remarks
Display the DLDP configuration of
a port.
display dldp [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Display the statistics on DLDP
packets passing through a port.
display dldp statistics [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
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 examples
Automatically shutting down unidirectional links
Network requirements
• As shown in Figure 9, Device A and Device B are connected with two fiber pairs.
• Configure DLDP to automatically shut down the faulty port upon detecting a unidirectional link, and
automatically bring up the port after you clear the fault.