4-14
To do…
Use the command…
Remarks
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 Examples
Automatically Shutting Down Unidirectional Links
Network requirements
z
As shown in
, Device A and Device B are connected with two fiber pairs.
z
Make configuration so that DLDP can automatically shuts down the faulty port upon detecting a
unidirectional link, and automatically bring up the port after you clear the fault.