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 8800, 7800, 6800, and 5800 V200R005C10

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 Intersected Fibers

Example for Configuring DLDP to Detect Intersected Fibers

Networking Requirements

As shown in Figure 4-9, 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. Optical fibers may be cross connected, as shown in Figure 4-10. The requirement is to detect unidirectional links caused by cross connections of optical fibers.

Figure 4-9 Correct optical fiber connections
Figure 4-10 Intersected fibers

Configuration Roadmap

The configuration roadmap is as follows:

  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 on SwitchA.

    <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
    [~SwitchA] interface 10ge 1/0/2
    [~SwitchA-10GE1/0/2] dldp enable
    [*SwitchA-10GE1/0/2] commit
    [~SwitchA-10GE1/0/2] 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 interface 10ge 1/0/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         : 0001-0001-0001 
       Neighbor port index          : 26
       Neighbor state               : two way 
       Neighbor aged time(s)        : 206 
       Neighbor created time        : 2009/2/13 11:40:49
    [~SwitchA] display dldp interface 10ge 1/0/2
    
    Interface 10GE 1/0/2
    DLDP port state                 : advertisement
    DLDP link state                 : up 
    Local port index                : 4 
    The neighbor number of the port : 1
    
       Neighbor MAC address         : 0001-0001-0001
       Neighbor port index          : 28
       Neighbor state               : two way 
       Neighbor aged time(s)        : 188
       Neighbor created time        : 2009/2/13 11:40:49
    [~SwitchB] display dldp interface 10ge 1/0/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         : 781d-ba57-c24a 
       Neighbor port index          : 51
       Neighbor state               : two way 
       Neighbor aged time(s)        : 235
       Neighbor created time        : 2009/2/13 11:40:49
    [~SwitchB] display dldp interface 10ge 1/0/2
    
    Interface 10GE 1/0/2
    DLDP port state                 : advertisement
    DLDP link state                 : up 
    Local port index                : 4 
    The neighbor number of the port : 1
    
       Neighbor MAC address         : 781d-ba57-c24a
       Neighbor port index          : 53
       Neighbor state               : two way 
       Neighbor aged time(s)        : 214
       Neighbor created time        : 2009/2/13 11:40:49

    As shown in Figure 4-10, if a unidirectional link occurs between the interfaces on SwitchA and SwitchB due to cross connections of optical fibers, DLDP will shut down the interfaces.

    Run the display dldp command on SwitchA and SwitchB. The command output shows that the DLDP status of interfaces on SwitchA and SwitchB is disable.

    [~SwitchA] display dldp interface 10ge 1/0/1
    
    Interface 10GE1/0/1
    DLDP port state                   : disable
    DLDP link state                   : up
    Local port index                  : 4 
    The neighbor number of the port   : 0
    [~SwitchA] display dldp interface 10ge 1/0/2
    
    Interface 10GE1/0/2
    DLDP port state                   : disable
    DLDP link state                   : up
    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                   : disable
    DLDP link state                   : up
    Local port index                  : 4 
    The neighbor number of the port   : 0
    [~SwitchB] display dldp interface 10ge 1/0/2
    
    Interface 10GE1/0/2
    DLDP port state                   : disable
    DLDP link state                   : up
    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
    #
    interface 10GE1/0/2
     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
    #
    interface 10GE1/0/2
     dldp enable
    #
    return
    
Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075366

Views: 19133

Downloads: 61

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