background image

 

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.  

Prerequisites 

The configuration examples in this document were created and verified in a lab environment, and 
all the devices were started with the factory default configuration. When you are working on a live 
network, make sure you understand the potential impact of every command on your network. 

This document assumes that you have basic knowledge of DLDP. 

Example: Automatically shutting down 
unidirectional links 

Network requirements 

As shown in 

Figure 1

, Device A and Device B are connected through two fiber pairs.  

Configure DLDP on the devices so each device performs the following tasks:  

 

Detects unidirectional links caused by cross-connected fibers or a disconnected fiber. 

 

Automatically shuts down the faulty interface when detecting a unidirectional link.  

 

Automatically brings up the interface after the administrator clears the fault. 

Figure 1 Network diagram 

 

 

Software version used 

This configuration example was created and verified on S6300-CMW710-R2310.. 

Configuration restrictions and guidelines 

When you configure DLDP, follow these restrictions and guidelines: 

 

For DLDP to operate correctly, configure the full duplex mode for the interfaces at the two ends of 
the link, and configure the same speed for the two interfaces.  

Summary of Contents for S6300 Series

Page 1: ...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 b...

Page 2: ...n restrictions and guidelines 1 Configuration procedures 2 Verifying the configuration 2 Configuration files 5 Example Manually shutting down unidirectional links 6 Network requirements 6 Software ver...

Page 3: ...sic knowledge of DLDP Example Automatically shutting down unidirectional links Network requirements As shown in Figure 1 Device A and Device B are connected through two fiber pairs Configure DLDP on t...

Page 4: ...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 default interval...

Page 5: ...2 Cross connected fibers The following log information is displayed on Device A DeviceA Jul 11 17 40 31 089 2014 DeviceA IFNET 3 PHY_UPDOWN Ten GigabitEthernet1 0 1 link status is DOWN Jul 11 17 40 31...

Page 6: ...sec 63 bytes sec 0 Input total 26470 packets 2469445 bytes 0 unicasts 1 broadcasts 26469 multicasts 0 pauses Input normal 26470 packets bytes 0 unicasts 1 broadcasts 26469 multicasts 0 pauses Input 0...

Page 7: ...rface Ten GigabitEthernet1 0 1 The neighbor s system MAC is 0023 8956 3600 and the port index is 1 Jul 11 17 43 02 344 2014 DeviceA DLDP 6 DLDP_LINK_BIDIRECTIONAL DLDP detected a bidirectional link on...

Page 8: ...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...

Page 9: ...uit Set the interval for sending Advertisement packets to 5 seconds default interval DeviceA dldp interval 5 Configure the plain text authentication mode and set the password to abc DeviceA dldp authe...

Page 10: ...bitEthernet1 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_U...

Page 11: ...1 bytes sec 0 Input total 27226 packets 2547709 bytes 0 unicasts 1 broadcasts 27225 multicasts 0 pauses Input normal 27226 packets bytes 0 unicasts 1 broadcasts 27225 multicasts 0 pauses Input 0 input...

Page 12: ...779 2014 DeviceA IFNET 5 LINK_UPDOWN Line protocol on the interface Ten GigabitEthernet1 0 2 is DOWN The output shows that the physical status and link status of Ten GigabitEthernet 1 0 1 and Ten Giga...

Page 13: ...DeviceA DLDP 6 DLDP_LINK_BIDIRECTIONAL DLDP detected a bidirectional link on interface Ten GigabitEthernet1 0 1 The output shows that the physical status and link status of Ten GigabitEthernet 1 0 1 a...

Reviews: