44Step Command1. Enter system view. system-view2. Reset DLDP state. dldp resetResetting DLDP state in interface view/port group viewResetting DLDP state in interface view or port group view applies to the current port or all ports in the portgroup.To reset DLDP state in interface view/port group view:Step Command Remarks1. Enter system view. system-view N/A2. Enter Layer 2 Ethernetinterface view or port groupview.Enter Layer 2 Ethernet interfaceview:interface interface-typeinterface-numberEnter port group view:port-group manualport-group-nameUse either approach.Configurations made in Layer 2Ethernet interface view apply to thecurrent port only. Configurationsmade in port group view apply to allthe ports in the port group.3. Reset DLDP state. dldp reset N/ADisplaying and maintaining DLDPTask Command RemarksDisplay the DLDP configuration ofa port.display dldp [ interface-typeinterface-number ] [ | { begin | exclude |include } regular-expression ]Available in any viewDisplay the statistics on DLDPpackets passing through a port.display dldp statistics [ interface-typeinterface-number ] [ | { begin | exclude |include } regular-expression ]Available in any viewClear the statistics on DLDP packetspassing through a port.reset dldp statistics [ interface-typeinterface-number ] Available in user viewDLDP configuration examplesAutomatically shutting down unidirectional linksNetwork 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, andautomatically bring up the port after you clear the fault.