%Jul 11 17:43:02:362 2018 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was
confirmed on interface HundredGigE1/0/2. The neighbor's system MAC is 0023-8956-3600,
and the port index is 2.
%Jul 11 17:43:02:362 2018 DeviceA DLDP/6/DLDP_LINK_BIDIRECTIONAL: DLDP detected a
bidirectional link on interface HundredGigE1/0/2.
%Jul 11 17:43:02:368 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the
interface HundredGigE1/0/2 changed to up.
The output shows that the physical status and link status of both HundredGigE 1/0/1 and
HundredGigE 1/0/2 are up and their DLDP neighbors are determined. The links become
bidirectional.
Configuration files
•
Device A:
#
dldp global enable
dldp authentication-mode simple
dldp authentication-password cipher $c$3$wHDzwD/AZNW+q+otXapfZ/tUB/Wgbg==
#
interface HundredGigE1/0/1
speed 10000
duplex full
dldp enable
#
interface HundredGigE1/0/2
speed 10000
duplex full
dldp enable
#
•
The configuration file for Device B is the same as Device A. (Details not shown.)
Example: Configuring the manual port
shutdown mode
Network configuration
As shown in
Configure DLDP on the devices to meet the following requirements:
•
Each device can detect unidirectional links caused by cross-connected fibers or a
disconnected fiber.
•
When a unidirectional link is detected, the administrator can manually shut down the faulty
port based on the connection status of the link.
•
The interface recovers from failure after the administrator clears the fault and manually brings
up the port.
Figure
3, Device A and Device B are connected through two fiber pairs.
6