4-18
z
Make configuration so that DLDP, upon detecting a unidirectional link, reminds the network
administrator to manually shut down the faulty port.
Figure 4-4
Network diagram for configuring manual shutdown of unidirectional links
Correct fiber connection
Fiber link
Cross-connected fibers
Device A
Device B
Device A
Device B
Ethernet
optical port
Tx end
Rx end
GE1/0/50
GE1/0/51
GE1/0/50
GE1/0/51
GE1/0/50
GE1/0/51
GE1/0/50
GE1/0/51
Configuration procedure
1) Configuration on Device A
# Enable DLDP globally.
<DeviceA> system-view
[DeviceA] dldp enable
# Configure GigabitEthernet 1/0/50 to operate in full duplex mode, configure the port rate as 1000
Mbps, and enable DLDP on the port.
[DeviceA] interface gigabitethernet 1/0/50
[DeviceA-GigabitEthernet1/0/50] duplex full
[DeviceA-GigabitEthernet1/0/50] speed 1000
[DeviceA-GigabitEthernet1/0/50] dldp enable
[DeviceA-GigabitEthernet1/0/50] quit
# Configure GigabitEthernet 1/0/51 to operate in full duplex mode, configure the port rate as 1000
Mbps, and enable DLDP on the port.
[DeviceA] interface gigabitethernet 1/0/51
[DeviceA-GigabitEthernet1/0/51] duplex full
[DeviceA-GigabitEthernet1/0/51] speed 1000
[DeviceA-GigabitEthernet1/0/51] dldp enable
[DeviceA-GigabitEthernet1/0/51] quit
# Set the DLDP mode to enhanced.
[DeviceA] dldp work-mode enhance
# Set the port shutdown mode to manual.
[DeviceA] dldp unidirectional-shutdown manual