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

CLI-based Configuration Guide - Reliability

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides guidance for configuring reliability services, including interface backup, BFD, VRRP, and EFM.
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 the BFD Echo Function

Example for Configuring the BFD Echo Function

Networking Requirements

As shown in Figure 6-27, RouterA connects to RouterB through a direct link. RouterA supports BFD, whereas RouterB does not support BFD. Faults on the link between RouterA and RouterB need to be fast detected.

Figure 6-27  Networking diagram for configuring the BFD Echo function

Configuration Roadmap

The configuration roadmap is as follows:

  • Configure the BFD Echo function on RouterA to detect faults on the link between RouterA and RouterB.

Procedure

  1. Set IP addresses of the directly connected interfaces on RouterA and RouterB.

    # Assign an IP address to the interface of RouterA.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    
    [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24
    [RouterA-GigabitEthernet1/0/0] quit

    # Assign an IP address to the interface of RouterB.

    <Huawei> system-view
    [Huawei] sysname RouterB
    [RouterB] interface gigabitethernet 1/0/0
    
    [RouterB-GigabitEthernet1/0/0] ip address 10.1.1.2 24
    [RouterB-GigabitEthernet1/0/0] quit

  2. Configure a BFD session supporting the BFD Echo function.

    # Configure RouterA.

    [RouterA] bfd
    [RouterA-bfd] quit
    [RouterA] bfd atob bind peer-ip 10.1.1.2 interface gigabitEthernet1/0/0 one-arm-echo
    [RouterA-bfd-session-atob] discriminator local 1
    [RouterA-bfd-session-atob] min-echo-rx-interval 100
    [RouterA-bfd-session-atob] commit
    [RouterA-bfd-session-atob] quit

  3. Verify the configuration.

    # After the configuration is complete, run the display bfd session all verbose command on RouterA. You can see that a single-hop BFD session is set up and its status is Up.

    <RouterA> display bfd session all verbose
    --------------------------------------------------------------------------------
    Session MIndex : 256       (One Hop) State : Up        Name : atob
    --------------------------------------------------------------------------------
      Local Discriminator    : 1                Remote Discriminator   : -
      Session Detect Mode    : Asynchronous One-arm-echo Mode
      BFD Bind Type          : Interface(GigabitEthernet1/0/0)
      Bind Session Type      : Static
      Bind Peer IP Address   : 10.1.1.2
      NextHop Ip Address     : 10.1.1.2
      Bind Interface         : GigabitEthernet1/0/0
      FSM Board Id           : 0                TOS-EXP                : 7
      Echo Rx Interval (ms)  : 100
      Actual Tx Interval (ms): 1000             Actual Rx Interval (ms): 1000
      Local Detect Multi     : 3                Detect Interval (ms)   : 3000
      Echo Passive           : Disable          Acl Number             : -
      Destination Port       : 3784             TTL                    : 255
      Proc Interface Status  : Disable          Process PST            : Disable
      WTR Interval (ms)      : -                
      Active Multi           : 3                Echo Rx Interval(ms)   : 10
      Last Local Diagnostic  : No Diagnostic
      Bind Application       : No Application Bind
      Session TX TmrID       : 87               Session Detect TmrID   : 88
      Session Init TmrID     : -                Session WTR TmrID      : -
      Session Echo Tx TmrID  : -
      PDT Index              : FSM-0 | RCV-0 | IF-0 | TOKEN-0
      Session Description    : -
    --------------------------------------------------------------------------------
    
         Total UP/DOWN Session Number : 1/0   

Configuration Files

  • RouterA configuration file

    #
     sysname RouterA
    #
     bfd
    #
    interface gigabitethernet1/0/0
     ip address 10.1.1.1 255.255.255.0
    #
    bfd atob bind peer-ip 10.1.1.2 interface gigabitEthernet1/0/0 one-arm-echo
     discriminator local 1
     commit
    #
    return
  • RouterB configuration file

    #
     sysname RouterB
    #
    interface gigabitethernet1/0/0
      ip address 10.1.1.2 255.255.255.0
    #
    return
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069338

Views: 14190

Downloads: 42

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