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 BFD to Detect a Layer 3 Eth-Trunk Member Link

Example for Configuring BFD to Detect a Layer 3 Eth-Trunk Member Link

Networking Requirements

In Figure 2-26, SwitchA and SwitchB are directly connected through an Eth-Trunk. BFD is required to detect faults on the link between them. When a single-hop BFD session is bound to the Eth-Trunk and randomly selects a faulty member link to send BFD packets, the BFD session may incorrectly report a Down event. BFD for Link-bundle can solve this problem.

Figure 2-26 Networking diagram for configuring BFD to detect an Eth-Trunk member link

Configuration Roadmap

The configuration roadmap is as follows:

  1. Create Eth-Trunks on SwitchA and SwitchB and add Ethernet physical interfaces to the Eth-Trunks.

  2. Configure IP addresses for Eth-Trunks on SwitchA and SwitchB to implement Layer 3 connectivity.

  3. Configure BFD sessions for Link-bundle on SwitchA and SwitchB to detect Eth-Trunk member links.

Procedure

  1. Create Eth-Trunks on SwitchA and SwitchB and add Ethernet physical interfaces to the Eth-Trunks.

    # SwitchA is used as an example. The configuration of SwitchB is similar to the configuration of SwitchA.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] interface eth-trunk 1
    [*SwitchA-Eth-Trunk1] commit
    [~SwitchA-Eth-Trunk1] quit
    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] eth-trunk 1
    [*SwitchA-10GE1/0/1] commit
    [~SwitchA-10GE1/0/1] quit
    [~SwitchA] interface 10ge 1/0/2
    [~SwitchA-10GE1/0/2] eth-trunk 1
    [*SwitchA-10GE1/0/2] commit
    [~SwitchA-10GE1/0/2] quit

  2. Configure IP addresses for Eth-Trunks on SwitchA and SwitchB to implement Layer 3 connectivity.

    # SwitchA is used as an example. The configuration of SwitchB is similar to the configuration of SwitchA.

    [~SwitchA] interface eth-trunk 1
    [~SwitchA-Eth-Trunk1] undo portswitch
    [*SwitchA-Eth-Trunk1] ip address 10.1.1.5 24
    [*SwitchA-Eth-Trunk1] quit
    [*SwitchA] commit

  3. Configure a BFD session for Link-bundle on SwitchA to detect an Eth-Trunk member link from SwitchA to SwitchB. Configure a BFD session for Link-bundle on SwitchB to detect an Eth-Trunk member link from SwitchB to SwitchA.

    # Configure SwitchA.

    [~SwitchA] bfd
    [*SwitchA-bfd] quit
    [*SwitchA] bfd atob bind link-bundle peer-ip 10.1.1.6 interface eth-trunk 1 source-ip 10.1.1.5
    [*SwitchA-bfd-session-atob] commit
    [~SwitchA-bfd-session-atob] quit

    # Configure SwitchB.

    [~SwitchB] bfd
    [*SwitchB-bfd] quit
    [*SwitchB] bfd btoa bind link-bundle peer-ip 10.1.1.5 interface eth-trunk 1 source-ip 10.1.1.6
    [*SwitchB-bfd-session-btoa] commit
    [~SwitchB-bfd-session-btoa] quit

  4. Verify the configuration.

    Run the display bfd link-bundle session command on SwitchA. You can see that three BFD sessions are set up and are in Up state. The discriminators of the three BFD sessions are dynamically allocated by the system. The BFD session bound to Eth-Trunk1 is the main session, and the two sessions bound to 10GE1/0/1 and 10GE1/0/2 are sub-sessions.

    [~SwitchA] display bfd link-bundle session
    Total Up/Down Main Session Number : 1/0                                         
    Total Up/Down Sub Session Number  : 2/0                                         
    --------------------------------------------------------------------------------
      Name                   : atob                                                 
      State                  : Up                                                   
      Local Discriminator    : 1048576                                              
      Remote Discriminator   : -                                                    
      Session Detect Mode    : Asynchronous Mode Without Echo Function              
      BFD Bind Type          : Interface(Eth-Trunk1)                                
      Bind Session Type      : Static_Auto(Bundle_Main)                             
      Bind Peer IP Address   : 10.1.1.6                                             
      Bind Source IP Address : 10.1.1.5                                             
      FSM Board Id           : -                                                    
      TOS-EXP                : 7                                                    
      Min Tx Interval (ms)   : 1000                                                 
      Min Rx Interval (ms)   : 1000                                                 
      Local Detect Multi     : 3                                                    
      WTR Interval (ms)      : -                                                    
      Last Local Diagnostic  : No Diagnostic                                        
      Bind Application       : AUTO                                                 
      Sub Session Count      : 2                                                    
    --------------------------------------------------------------------------------
          Sub Session Number     : 1                                                
          State                  : Up                                               
          Local Discriminator    : 16385                                            
          Remote Discriminator   : 16385                                            
          BFD Bind Type          : Interface(10GE1/0/1)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 1000                                             
          Actual Rx Interval (ms): 1000                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : 3000                                             
          Destination Port       : 6784                                             
          Last Local Diagnostic  : No Diagnostic                                    
    --------------------------------------------------------------------------------
          Sub Session Number     : 2                                                
          State                  : Up                                               
          Local Discriminator    : 16386                                            
          Remote Discriminator   : 16386                                            
          BFD Bind Type          : Interface(10GE1/0/2)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 1000                                             
          Actual Rx Interval (ms): 1000                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : 3000                                             
          Destination Port       : 6784                                             
          Last Local Diagnostic  : No Diagnostic                                    
    --------------------------------------------------------------------------------

    # Run the shutdown command on 10GE1/0/1 of SwitchA to simulate a link fault.

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

    # Run the display bfd link-bundle session command on SwitchA to check the status of the three BFD sessions. You can see that the BFD sub-session bound to 10GE1/0/1 is in Down state and the main BFD session bound to Eth-Trunk 1 is still in Up date.

    [~SwitchA] display bfd link-bundle session
    Total Up/Down Main Session Number : 1/0                                         
    Total Up/Down Sub Session Number  : 1/1                                         
    --------------------------------------------------------------------------------
      Name                   : atob                                                 
      State                  : Up                                                   
      Local Discriminator    : 1048576                                              
      Remote Discriminator   : -                                                    
      Session Detect Mode    : Asynchronous Mode Without Echo Function              
      BFD Bind Type          : Interface(Eth-Trunk1)                                
      Bind Session Type      : Static_Auto(Bundle_Main)                             
      Bind Peer IP Address   : 10.1.1.6                                             
      Bind Source IP Address : 10.1.1.5                                             
      FSM Board Id           : -                                                    
      TOS-EXP                : 7                                                    
      Min Tx Interval (ms)   : 1000                                                 
      Min Rx Interval (ms)   : 1000                                                 
      Local Detect Multi     : 3                                                    
      WTR Interval (ms)      : -                                                    
      Last Local Diagnostic  : No Diagnostic                                        
      Bind Application       : AUTO                                                 
      Sub Session Count      : 2                                                    
    --------------------------------------------------------------------------------
          Sub Session Number     : 1                                                
          State                  : Down                                             
          Local Discriminator    : 16385                                            
          Remote Discriminator   : 0                                                
          BFD Bind Type          : Interface(10GE1/0/1)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 6908                                             
          Actual Rx Interval (ms): 6908                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : -                                                
          Destination Port       : 6784                                             
          Last Local Diagnostic  : Control Detection Time Expired                   
    --------------------------------------------------------------------------------
          Sub Session Number     : 2                                                
          State                  : Up                                               
          Local Discriminator    : 16386                                            
          Remote Discriminator   : 16386                                            
          BFD Bind Type          : Interface(10GE1/0/2)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 1000                                             
          Actual Rx Interval (ms): 1000                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : 3000                                             
          Destination Port       : 6784                                             
          Last Local Diagnostic  : No Diagnostic                                    
    --------------------------------------------------------------------------------

    # Run the shutdown command on 10GE1/0/2 of SwitchA to simulate a link fault. You can see that the three BFD sessions enter the Down state.

    [~SwitchA] interface 10ge 1/0/2
    [~SwitchA-10GE1/0/2] shutdown
    [*SwitchA-10GE1/0/2] commit
    [~SwitchA-10GE1/0/2] quit
    [~SwitchA] display bfd link-bundle session
    Total Up/Down Main Session Number : 0/1                                         
    Total Up/Down Sub Session Number  : 0/2                                         
    --------------------------------------------------------------------------------
      Name                   : atob                                                 
      State                  : Down                                                 
      Local Discriminator    : 1048576                                              
      Remote Discriminator   : -                                                    
      Session Detect Mode    : Asynchronous Mode Without Echo Function              
      BFD Bind Type          : Interface(Eth-Trunk1)                                
      Bind Session Type      : Static_Auto(Bundle_Main)                             
      Bind Peer IP Address   : 10.1.1.6                                             
      Bind Source IP Address : 10.1.1.5                                             
      FSM Board Id           : -                                                    
      TOS-EXP                : 7                                                    
      Min Tx Interval (ms)   : 1000                                                 
      Min Rx Interval (ms)   : 1000                                                 
      Local Detect Multi     : 3                                                    
      WTR Interval (ms)      : -                                                    
      Last Local Diagnostic  : Control Detection Time Expired                       
      Bind Application       : AUTO                                                 
      Sub Session Count      : 2                                                    
    --------------------------------------------------------------------------------
          Sub Session Number     : 1                                                
          State                  : Down                                             
          Local Discriminator    : 16385                                            
          Remote Discriminator   : 0                                                
          BFD Bind Type          : Interface(10GE1/0/1)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 6908                                             
          Actual Rx Interval (ms): 6908                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : -                                                
          Destination Port       : 6784                                             
          Last Local Diagnostic  : Control Detection Time Expired                   
    --------------------------------------------------------------------------------
          Sub Session Number     : 2                                                
          State                  : Down                                             
          Local Discriminator    : 16386                                            
          Remote Discriminator   : 0                                                
          BFD Bind Type          : Interface(10GE1/0/2)                             
          Bind Session Type      : Dynamic(Bundle_Sub)                              
          FSM Board Id           : 1                                                
          Min Tx Interval (ms)   : 1000                                             
          Min Rx Interval (ms)   : 1000                                             
          Local Detect Multi     : 3                                                
          Actual Tx Interval (ms): 7324                                             
          Actual Rx Interval (ms): 7324                                             
          Active Multi           : 3                                                
          Detect Interval (ms)   : -                                                
          Destination Port       : 6784                                             
          Last Local Diagnostic  : Control Detection Time Expired                   
    --------------------------------------------------------------------------------

Configuration Files

  • SwitchA configuration file

    #
    sysname SwitchA
    #
    bfd
    #
    interface Eth-Trunk1                                                            
     undo portswitch                                                                
     ip address 10.1.1.5 255.255.255.0                                              
    #
    interface 10GE1/0/1                                                             
     eth-trunk 1                                                                    
    #
    interface 10GE1/0/2                                                             
     eth-trunk 1                                                                    
    #
    bfd atob bind link-bundle peer-ip 10.1.1.6 interface Eth-Trunk1 source-ip 10.1.1.5
    #
    return
  • SwitchB configuration file

    #
    sysname SwitchB
    #
    bfd
    #
    interface Eth-Trunk1                                                            
     undo portswitch                                                                
     ip address 10.1.1.6 255.255.255.0                                              
    #
    interface 10GE1/0/1                                                             
     eth-trunk 1                                                                    
    #
    interface 10GE1/0/2                                                             
     eth-trunk 1                                                                    
    #
    bfd btoa bind link-bundle peer-ip 10.1.1.5 interface Eth-Trunk1 source-ip 10.1.1.6
    #
    return
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166606

Views: 120854

Downloads: 90

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