42
The output shows that both Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 are in
Bidirectional state, which means both links are bidirectional.
# Enable the monitoring of logs on the current terminal on Device A, and set the lowest level of
the logs that can be output to the current terminal to 6.
[DeviceA] quit
<DeviceA> terminal monitor
<DeviceA> terminal logging level 6
The following log information is displayed on Device A:
<DeviceA>%Jul 12 08:29:17:786 2014 DeviceA IFNET/3/PHY_UPDOWN:
Ten-GigabitEthernet1/0/1 link status is DOWN.
%Jul 12 08:29:17:787 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/1 is DOWN.
%Jul 12 08:29:17:800 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/2 link
status is DOWN.
%Jul 12 08:29:17:800 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/2 is DOWN.
%Jul 12 08:29:25:004 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/1 link
status is UP.
%Jul 12 08:29:25:005 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/1 is UP.
%Jul 12 08:29:25:893 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/2 link
status is UP.
%Jul 12 08:29:25:894 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface
Ten-GigabitEthernet1/0/2 is UP.
The output shows that the port status and link status of both Ten-GigabitEthernet 1/0/1 and
Ten-GigabitEthernet 1/0/2 are down and then up.
# Display the DLDP configuration globally and of all the DLDP-enabled ports.
<DeviceA> display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: None
DLDP unidirectional-shutdown mode: Manual
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet1/0/1
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
Interface Ten-GigabitEthernet1/0/2
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
The output shows that the DLDP port status of both Ten-GigabitEthernet 1/0/1 and
Ten-GigabitEthernet 1/0/2 is unidirectional, which indicates that DLDP detects unidirectional
links on them but does not shut down the two ports.
The unidirectional links are caused by cross-connected fibers. Manually shut down the two
ports:
# Shut down Ten-GigabitEthernet 1/0/1.
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/1