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 H3C 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.
• For DLDP to operate correctly, enable DLDP on both sides and make sure the following settings are consistent: Interval to send Advertisement packets. DLDP authentication mode. Password. Configuration procedures Configure Device A: # Enable DLDP globally. <DeviceA> system-view [DeviceA] dldp global enable # Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to operate in full duplex mode at 10000 Mbps, and enable DLDP on the interfaces.
Page 5
Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 1 Neighbor state: Confirmed Neighbor aged time: 11s Interface Ten-GigabitEthernet1/0/2 DLDP port state: Bidirectional Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 2 Neighbor state: Confirmed Neighbor aged time: 12s The output shows that the DLDP port status of both Ten-GigabitEthernet 1/0/1 and Ten-...
Page 6
Line protocol state: DOWN(DLDP) IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5929 Description: Ten-GigabitEthernet1/0/1 Interface Bandwidth: 10000000kbps Loopback is not set Media type is optical fiber, Port hardware type is 10G_BASE_SR_SFP 10Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is force link Flow-control is not enabled The Maximum Frame Length is 10000 Allow jumbo frame to pass...
DLDP unidirectional-shutdown mode: Auto 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.
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: Manually shutting down unidirectional links Network requirements As shown in Figure 3, Device A and Device B are connected through two fiber pairs.
DLDP authentication mode. Password. Configuration procedures Configure Device A: # Enable DLDP globally. <DeviceA> system-view [DeviceA] dldp global enable # Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to operate in full duplex mode at 10000 Mbps, and enable DLDP on the interfaces. [DeviceA] interface ten-gigabitethernet 1/0/1 [DeviceA-Ten-GigabitEthernet1/0/1] duplex full [DeviceA-Ten-GigabitEthernet1/0/1] speed 10000...
Page 10
Neighbor state: Confirmed Neighbor aged time: 11s Interface Ten-GigabitEthernet1/0/2 DLDP port state: Bidirectional Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 2 Neighbor state: Confirmed Neighbor aged time: 12s The output shows that the DLDP port status of both Ten-GigabitEthernet 1/0/1 and Ten- GigabitEthernet 1/0/2 is Bidirectional.
Page 11
Line protocol state: UP IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5929 Description: Ten-GigabitEthernet1/0/1 Interface Bandwidth: 10000000kbps Loopback is not set Media type is optical fiber, Port hardware type is 10G_BASE_SR_SFP 10Gbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is force link Flow-control is not enabled The Maximum Frame Length is 10000 Allow jumbo frame to pass...
Page 12
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.
• The configuration file for Device B is the same as Device A. (Details not shown.) Related documentation • H3C S6300 Switch Series High Availability Configuration Guide-Release 23xx • H3C S6300 Switch Series High Availability Command Reference-Release 23xx...
Need help?
Do you have a question about the S6300 Series and is the answer not in the manual?
Questions and answers