R3303-HP HSR6800 Routers High Availability Configuration Guide

44
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, Router A and Router 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.
Figure 9 Network diagram
Configuration procedure
1. Configure Router A:
# Enable DLDP globally.
Correct fiber connection
Ethernet
fiber port
Fiber link
Cross-connected fibers
GE3/0/1
GE3/0/1
GE3/0/2
GE3/0/2
Router A
Router B
GE3/0/1
GE3/0/1
GE3/0/2
GE3/0/2
Router A
Router B
Tx end Rx end