51
Manually shutting down unidirectional links
Network requirements
•
As shown in
, Device A and Device B are connected with two fiber pairs.
•
Configure DLDP to send information when a unidirectional link is detected, to remind the network
administrator to manually shut down the faulty port.
Figure 12
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/49
GE1/0/50
GE1/0/49
GE1/0/50
GE1/0/49
GE1/0/50
GE1/0/49
GE1/0/50
Configuration procedure
1.
Configuration on Device A
# Enable DLDP globally.
<DeviceA> system-view
[DeviceA] dldp enable
# Configure GigabitEthernet 1/0/49 to operate in full duplex mode and at 1000 Mbps, and enable
DLDP on the port.
[DeviceA] interface gigabitethernet 1/0/49
[DeviceA-GigabitEthernet1/0/49] duplex full
[DeviceA-GigabitEthernet1/0/49] speed 1000
[DeviceA-GigabitEthernet1/0/49] dldp enable
[DeviceA-GigabitEthernet1/0/49] quit
# Configure GigabitEthernet 1/0/50 to operate in full duplex mode and at 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