Page 1
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd. Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.
Introduction This document provides DLDP configuration examples. The Device Link Detection Protocol (DLDP) was developed by HP to detect the status of fiber links or twisted-pair links. When DLDP detects unidirectional links, it can automatically shut down the faulty port to avoid network problems. Alternatively, a user can manually shut down the faulty port. Configuration restrictions and guidelines When you configure DLDP, follow these restrictions and guidelines: •...
Figure 1 Network diagram Device A Device B XGE1/0/1 XGE1/0/1 XGE1/0/2 XGE1/0/2 Ethernet Tx end Rx end Fiber link fiber port Software versions used This configuration example was created and verified on Release 3606. Procedures Configure Device A: # Enable DLDP globally. <DeviceA>...
Page 5
DLDP authentication-password: ****** DLDP unidirectional-shutdown mode: Auto DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface Ten-GigabitEthernet1/0/1 DLDP port state: Bidirectional DLDP port unidirectional-shutdown mode: None DLDP initial-unidirectional-delay: 100s Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 1 Neighbor state: Confirmed Neighbor aged time: 11s...
Page 6
%Jul 11 17:40:31:677 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/2 changed to down. %Jul 11 17:40:31:678 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/2 changed to down. %Jul 11 17:40:38:544 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/1 changed to up.
Page 7
Output (normal): 16962 packets, - bytes 0 unicasts, 0 broadcasts, 16962 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier The output shows that the physical status of Ten-GigabitEthernet 1/0/1 is up, but DLDP automatically shuts down the interface.
%Jul 11 17:43:02:362 2018 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was confirmed on interface Ten-GigabitEthernet1/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 Ten-GigabitEthernet1/0/2. %Jul 11 17:43:02:368 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/2 changed to up.
Figure 3 Network diagram Device A Device B XGE1/0/1 XGE1/0/1 XGE1/0/2 XGE1/0/2 Ethernet Tx end Rx end Fiber link fiber port Software versions used This configuration example was created and verified on Release 3606. Procedures Configure Device A: # Enable DLDP globally. <DeviceA>...
Page 10
DLDP authentication-password: ****** DLDP unidirectional-shutdown mode: Manual DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface Ten-GigabitEthernet1/0/1 DLDP port state: Bidirectional DLDP port unidirectional-shutdown mode: None DLDP initial-unidirectional-delay: 100s Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 1 Neighbor state: Confirmed Neighbor aged time: 11s...
Page 11
%Jul 12 08:29:17:800 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/2 changed to down. %Jul 12 08:29:17:800 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/2 changed to down. %Jul 12 08:29:25:004 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/1 changed to up.
%Jul 12 08:34:23:779 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/2 changed to down. The output shows that the physical status and link status of Ten-GigabitEthernet 1/0/1 and Ten- GigabitEthernet 1/0/2 are down. # Shut down Ten-GigabitEthernet 1/0/2. [DeviceA-Ten-GigabitEthernet1/0/1] quit [DeviceA] interface ten-gigabitethernet 1/0/2 [DeviceA-Ten-GigabitEthernet1/0/2] shutdown...
dldp unidirectional-shutdown manual interface Ten-GigabitEthernet1/0/1 speed 10000 duplex full dldp enable interface Ten-GigabitEthernet1/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 hybrid port shutdown mode Network configuration As shown in...
[DeviceA-Ten-GigabitEthernet1/0/1] duplex full [DeviceA-Ten-GigabitEthernet1/0/1] speed 10000 [DeviceA-Ten-GigabitEthernet1/0/1] dldp enable [DeviceA-Ten-GigabitEthernet1/0/1] quit # Configure Ten-GigabitEthernet 1/0/2 to operate in full duplex mode and at 10000 Mbps, and enable DLDP on the port. [DeviceA] interface ten-gigabitethernet 1/0/2 [DeviceA-Ten-GigabitEthernet1/0/2] duplex full [DeviceA-Ten-GigabitEthernet1/0/2] speed 10000 [DeviceA-Ten-GigabitEthernet1/0/2] dldp enable [DeviceA-Ten-GigabitEthernet1/0/2] quit # Set the interval for sending Advertisement packets to 5 seconds, configure the DLDP...
Page 16
Neighbor MAC address: 0023-8956-3600 Neighbor port index: 2 Neighbor state: Confirmed Neighbor aged time: 12s Neighbor echo time: - 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. Set the lowest level of the logs that can be output to the current terminal to 6.
Page 17
Description: Ten-GigabitEthernet1/0/1 Interface Bandwidth: 10000000kbps Media type is optical fiber, Port hardware type is 10G_BASE_SR_SFP Maximum frame length: 9216 Allow jumbo frame to pass Broadcast max-ratio: 100% Multicast max-ratio: 100% Unicast max-ratio: 100% IP packet frame type: Ethernet II, hardware address: 00e0-fc00-5929 Flow-control is not enabled Loopback is not set 10Gbps-speed mode, full-duplex mode...
Page 18
DLDP unidirectional-shutdown mode: Hybrid DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface Ten-GigabitEthernet1/0/1 DLDP port state: Unidirectional DLDP port unidirectional-shutdown mode: None DLDP initial-unidirectional-delay: 0s Number of the port’s neighbors: 0 (Maximum number ever detected: 1) Interface Ten-GigabitEthernet1/0/2 DLDP port state: Unidirectional DLDP port unidirectional-shutdown mode: None DLDP initial-unidirectional-delay: 0s...
• The configuration file for Device B is the same as Device A. (Details not shown.) Related documentation • H3C S6890 Switch Series High Availability Command Reference-R3606 • H3C S6890 Switch Series High Availability Configuration Guide-R3606...
Need help?
Do you have a question about the S6890 Series and is the answer not in the manual?
Questions and answers