H3C S12500 Configuration Examples

H3C S12500 Configuration Examples

Dldp
Hide thumbs Also See for S12500:

Advertisement

Quick Links

H3C S12500 DLDP Configuration Examples
Copyright © 2013 Hangzhou 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 Hangzhou H3C Technologies Co., Ltd.
The information in this document is subject to change without notice.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S12500 and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S12500

  • Page 1 H3C S12500 DLDP Configuration Examples Copyright © 2013 Hangzhou 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 Hangzhou H3C Technologies Co., Ltd.
  • Page 2: Table Of Contents

    Contents Introduction ··································································································································································· 1   Prerequisites ·································································································································································· 1   Example: Automatically shutting down unidirectional links ······················································································ 1   Network requirements ······················································································································································ 1   Software version used ······················································································································································ 2   Configuration restrictions and guidelines ······················································································································· 2   Configuration procedures ················································································································································ 2  ...
  • Page 3: Introduction

    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 H3C DLDP. Example: Automatically shutting down...
  • Page 4: Software Version Used

    Rx end Fiber link fiber port Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration restrictions and guidelines When you configure DLDP to automatically shut down unidirectional links, follow these restrictions and guidelines: DLDP is available only for Ethernet ports.
  • Page 5: Configuring Device B

    # Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and enable DLDP on the port. [DeviceA] interface gigabitethernet 3/0/1 [DeviceA-Gigabitethernet3/0/1] undo shutdown [DeviceA-GigabitEthernet3/0/1] duplex full [DeviceA-GigabitEthernet3/0/1] speed 1000 [DeviceA-GigabitEthernet3/0/1] dldp enable [DeviceA-GigabitEthernet3/0/1] quit # Configure GigabitEthernet 3/0/2 to operate in full duplex mode and at 1000 Mbps, and enable DLDP on the port.
  • Page 6 DLDP advertisement interval: 5s DLDP authentication-mode: None DLDP unidirectional-shutdown mode: Auto DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface GigabitEthernet3/0/1 DLDP port state: Bidirectional 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 GigabitEthernet3/0/2...
  • Page 7: Configuration Files

    DLDP unidirectional-shutdown mode: Auto DLDP delaydown-timer value: 1s Number of enabled ports: 2 Interface GigabitEthernet3/0/1 DLDP port state: Unidirectional Number of the port’s neighbors: 0 (Maximum number ever detected: 1) Interface GigabitEthernet3/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 GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 is unidirectional.
  • Page 8: Example: Manually Shutting Down Unidirectional Links

    interface GigabitEthernet3/0/1 port link-mode bridge speed 1000 duplex full dldp enable interface GigabitEthernet3/0/2 port link-mode bridge speed 1000 duplex full dldp enable Device B: • dldp global enable interface GigabitEthernet3/0/1 port link-mode bridge speed 1000 duplex full dldp enable interface GigabitEthernet3/0/2 port link-mode bridge speed 1000 duplex full...
  • Page 9: Requirements Analysis

    To manually shut down the faulty port, set the port shutdown mode to manual. The default port shutdown mode is auto. Software version used This configuration example was created and verified on S12500-CMW710-R7129. Configuration restrictions and guidelines When you configure DLDP to ask you to manually shut down unidirectional links, follow these restrictions and guidelines: DLDP is available only for Ethernet ports.
  • Page 10: Configuration Procedures

    Configuration procedures Configuring Device A # Enable DLDP globally. <DeviceA> system-view [DeviceA] dldp global enable # Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and enable DLDP on the port. [DeviceA] interface gigabitethernet 3/0/1 [DeviceA-GigabitEthernet3/0/1] undo shutdown [DeviceA-GigabitEthernet3/0/1] duplex full [DeviceA-GigabitEthernet3/0/1] speed 1000 [DeviceA-GigabitEthernet3/0/1] dldp enable...
  • Page 11: Verifying The Configuration

    [DeviceB-GigabitEthernet3/0/2] dldp enable [DeviceB-GigabitEthernet3/0/2] quit # Set the port shutdown mode to manual. [DeviceB] dldp unidirectional-shutdown manual Verifying the configuration After the configurations are complete, you can use the display dldp command to display the DLDP configuration globally and on ports. # Display the DLDP configuration globally and on all the DLDP-enabled ports of Device A.
  • Page 12 %Jul 12 08:29:17:800 2012 DeviceA IFNET/3/PHY_UPDOWN: GigabitEthernet3/0/2 link status is DOWN. %Jul 12 08:29:17:800 2012 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface GigabitEthernet3/0/2 is DOWN. %Jul 12 08:29:25:004 2012 DeviceA IFNET/3/PHY_UPDOWN: GigabitEthernet3/0/1 link status is UP. %Jul 12 08:29:25:005 2012 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface GigabitEthernet3/0/1 is UP.
  • Page 13: Configuration Files

    The output shows that the port status and link status of both GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 are now down. # Shut down GigabitEthernet 3/0/2. [DeviceA-GigabitEthernet3/0/1] quit [DeviceA] interface gigabitethernet 3/0/2 [DeviceA-GigabitEthernet3/0/2] shutdown Correct the fiber connections and bring up the two ports: # Bring up GigabitEthernet 3/0/2.
  • Page 14: Related Documentation

    1000 duplex full dldp enable interface GigabitEthernet3/0/2 port link-mode bridge speed 1000 duplex full dldp enable Related documentation H3C S12500 Routing Switch Series High Availability Configuration Guide • • H3C S12500 Routing Switch Series High Availability Command Reference...

Table of Contents