H3C S12500R Series Configuration Examples

H3C S12500R Series Configuration Examples

Switch router dldp configuration examples
Hide thumbs Also See for S12500R Series:

Advertisement

Quick Links

H3C S12500R Switch Router Series
DLDP Configuration Examples
Copyright © 2021 New H3C Technologies Co., Ltd. All rights reserved.
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.
The information in this document is subject to change without notice.

Advertisement

Table of Contents
loading

Summary of Contents for H3C S12500R Series

  • 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.
  • Page 2: Table Of Contents

    Contents Introduction ···································································································· 1 Configuration restrictions and guidelines ······················································· 1 Prerequisites ·································································································· 1 Example: Configuring the auto port shutdown mode ······································ 1 Network configuration ········································································································································ 1 Software versions used ······································································································································ 2 Procedures ························································································································································· 2 Verifying the configuration·································································································································· 2 Configuration files ·············································································································································· 6 Example: Configuring the manual port shutdown mode ·································...
  • Page 3: Introduction

    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: •...
  • Page 4: Software Versions Used

    Figure 1 Network diagram Device A Device B HGE1/0/1 HGE1/0/1 HGE1/0/2 HGE1/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 HundredGigE1/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 HundredGigE1/0/2 changed to down. %Jul 11 17:40:31:678 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface HundredGigE1/0/2 changed to down. %Jul 11 17:40:38:544 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface HundredGigE1/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 HundredGigE 1/0/1 is up, but DLDP automatically shuts down the interface.
  • Page 8: Configuration Files

    %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.
  • Page 9: Software Versions Used

    Figure 3 Network diagram Device A Device B HGE1/0/1 HGE1/0/1 HGE1/0/2 HGE1/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 HundredGigE1/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 HundredGigE1/0/2 changed to down. %Jul 12 08:29:17:800 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface HundredGigE1/0/2 changed to down. %Jul 12 08:29:25:004 2018 DeviceA IFNET/3/PHY_UPDOWN: Physical state on the interface HundredGigE1/0/1 changed to up.
  • Page 12 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 17991 packets, 1260564 bytes 0 unicasts, 0 broadcasts, 17991 multicasts, 0 pauses Output (normal): 17991 packets, - bytes 0 unicasts, 0 broadcasts, 17991 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier...
  • Page 13: Configuration Files

    %Jul 12 08:34:23:779 2018 DeviceA IFNET/5/LINK_UPDOWN: Line protocol state on the interface HundredGigE1/0/2 changed to down. The output shows that the physical status and link status of HundredGigE 1/0/1 and HundredGigE 1/0/2 are down. # Shut down HundredGigE 1/0/2. [DeviceA-HundredGigE1/0/1] quit [DeviceA] interface hundredgige 1/0/2 [DeviceA-HundredGigE1/0/2] shutdown # Correct the fiber connections, and bring up HundredGigE 1/0/2.
  • Page 14: Example: Configuring The Hybrid Port Shutdown Mode

    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 hybrid port shutdown mode Network configuration As shown in Figure 5, Device A and Device B are connected through two fiber pairs.
  • Page 15: Verifying The Configuration

    [DeviceA-HundredGigE1/0/1] dldp enable [DeviceA-HundredGigE1/0/1] quit # Configure HundredGigE 1/0/2 to operate in full duplex mode and at 10000 Mbps, and enable DLDP on the port. [DeviceA] interface hundredgige 1/0/2 [DeviceA-HundredGigE1/0/2] duplex full [DeviceA-HundredGigE1/0/2] speed 10000 [DeviceA-HundredGigE1/0/2] dldp enable [DeviceA-HundredGigE1/0/2] quit # Set the interval for sending Advertisement packets to 5 seconds, configure the DLDP authentication mode as simple, and configure the password for DLDP authentication as abc.
  • Page 16 Neighbor state: Confirmed Neighbor aged time: 12s Neighbor echo time: - The output shows that both HundredGigE 1/0/1 and HundredGigE 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 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 Link speed type is force link, link duplex type is force link...
  • Page 18 Interface HundredGigE1/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 HundredGigE1/0/2 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) The output shows that the DLDP port status of both HundredGigE 1/0/1 and HundredGigE 1/0/2 is Unidirectional.
  • Page 19: Configuration Files

    • The configuration file for Device B is the same as Device A. (Details not shown.) Related documentation • H3C S12500R Switch Router Series High Availability Command Reference-R3606 • H3C S12500R Switch Router Series High Availability Configuration Guide-R3606...

Table of Contents