96 CHAPTER 5: DLDP CONFIGURATION
eSet the DLDP handling mode for unidirectional links to auto
[S5500A] dldp unidirectional-shutdown auto
fDisplay the DLDP status on Switch A
[S5500A] display dldp 2
If the fibers are correctly connected between the two switches, the system displays
the connections with the neighbor as bidirectional links, or else, it displays the
connections with the neighbor as unidirectional links.
gRestore the ports taken down by DLDP
[S5500A] dldp reset
2Configure Switch B
aConfigure the ports to work in mandatory full duplex mode
<S5500B> system-view
[S5500B] interface gigabitethernet 2/0/3
[S5500B-GigabitEthernet2/0/3] duplex full
[S5500B-GigabitEthernet2/0/3] speed 1000
[S5500B-GigabitEthernet2/0/3] quit
[S5500B] interface gigabitethernet 2/0/4
[S5500B-GigabitEthernet2/0/4] duplex full
[S5500B-GigabitEthernet2/0/4] speed 1000
[S5500B-GigabitEthernet2/0/4] quit
bEnable DLDP globally
[S5500B] dldp enable
cSet the time interval for sending DLDP packets to 15 seconds
[S5500B] dldp interval 15
dConfigure DLDP to work in enhanced mode
[S5500B] dldp work-mode enhance
[S5500B] dldp work-mode enhance
eSet the DLDP handling mode for unidirectional links to auto
[S5500B] dldp unidirectional-shutdown auto
fDisplay the DLDP status on SwitchB
[S5500B] display dldp 2
If the fibers are correctly connected between the two switches, the system displays
the connections with the neighbor as bidirectional links, or else, it displays the
connections with the neighbor as unidirectional links.
gRestore the ports taken down by DLDP
[S5500B] dldp reset
For DLDP to detect fiber disconnection in one direction, you must configure the port
to work in mandatory full duplex mode.
When a port works in mandatory full duplex mode and DLDP is enabled, DLDP
considers a link as in unidirectional status if fiber in one direction is disconnected.
When a port works in non-mandatory full duplex mode, even if DLDP is enabled, it
does not take effect when fiber in one direction is disconnected, in that case, it
considers that the port is down.