No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Reliability

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM Configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring DLDP to Detect a Disconnected Optical Fiber Link

Example for Configuring DLDP to Detect a Disconnected Optical Fiber Link

Networking Requirements

As shown in Figure 4-8, SwitchA and SwitchB are connected through a pair of optical fibers. On an optical fiber, Rx indicates the receive end, and Tx indicates the transmit end. The requirement is to detect unidirectional links.

Figure 4-8 Correct optical fiber connections

Configuration Roadmap

  1. Enable DLDP to detect unidirectional links between SwitchA and SwitchB.

  2. Adjust DLDP parameters to detect unidirectional links more efficiently.

Procedure

  1. Enable DLDP globally.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] dldp enable
    [*SwitchA] commit
    

  2. Enable DLDP on an interface of SwitchA.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] dldp enable
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] quit

  3. Set the interval for sending Advertisement packets to 10 seconds on SwitchA.

    [~SwitchA] dldp interval 10
    [*SwitchA] commit

  4. Set the timeout value of the DelayDown timer to 4 seconds on SwitchA.

    [~SwitchA] dldp delaydown-timer 4
    [*SwitchA] commit

  5. Set the authentication mode of DLDP packets to hmac-sha256 password authentication and set the password to Huawei-123 on SwitchA.

    [~SwitchA] dldp authentication-mode hmac-sha256 Huawei-123
    [*SwitchA] commit

    Perform steps 1 to 5 on SwitchB.

  6. Verify the configuration.

    After the configuration is complete, run the display dldp command in the interface view. The command output shows that the DLDP status of the interface is advertisement.

    [~SwitchA] display dldp
    DLDP global status              : enable 
    DLDP interval(s)                : 10
    DLDP work mode                  : enhance
    DLDP authentication mode        : hmac
    DLDP authentication password    : ******
    DLDP unidirectional shutdown    : auto
    DLDP delaydown timer(s)         : 4
    The number of enabled ports     : 1
    The number of global neighbors  : 1
    
    Interface  10GE1/0/1
    DLDP port state                 : advertisement
    DLDP link state                 : up 
    Local port index                : 4 
    The neighbor number of the port : 1
    
       Neighbor MAC address         : 0025-9e95-7c21                                
       Neighbor port index          : 80                                            
       Neighbor state               : two way                                       
       Neighbor aged time(s)        : 11                                            
       Neighbor created time        : 2012-06-09 15:09:25

    Simulate an optical fiber disconnection by removing the receive optical fiber from SwitchA. DLDP automatically shuts down 10GE1/0/1 on SwitchB when a unidirectional link occurs between SwitchA and 10GE1/0/1 on SwitchB.

    # Run the display dldp command on SwitchA and SwitchB. The command output shows that the DLDP status of 10GE1/0/1 on SwitchA is inactive, and the DLDP status of 10GE1/0/1 on SwitchB is inactive.

    [~SwitchA] display dldp interface 10ge 1/0/1
    
    Interface  10GE1/0/1
    DLDP port state                 : inactive
    DLDP link state                 : down 
    Local port index                : 4 
    The neighbor number of the port : 0
    [~SwitchB] display dldp interface 10ge 1/0/1
    
    Interface  10GE1/0/1
    DLDP port state                 : inactive
    DLDP link state                 : down 
    Local port index                : 4 
    The neighbor number of the port : 0

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    dldp enable
    dldp interval 10
    dldp delaydown-timer 4
    dldp authentication-mode hmac-sha256 %^%#rivhSm8+MJ"8gpS'tBbS,BagYG=HJ0f'*.L/#UsM%^%#
    #
    interface 10GE1/0/1
     dldp enable
    #
    return
    
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    dldp enable
    dldp interval 10
    dldp delaydown-timer 4
    dldp authentication-mode hmac-sha256 %^%#l}bLEf2iK"jy5u*j$WnO<Yy4B2i;YBl[.l.-^&UT%^%#
    #
    interface 10GE1/0/1
     dldp enable
    #
    return
    
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166606

Views: 127579

Downloads: 90

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next