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, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

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 Single-hop BFD for IPv6 for a Layer 3 Physical Link

Example for Configuring Single-hop BFD for IPv6 for a Layer 3 Physical Link

This example describes how to configure single-hop BFD for IPv6 for a Layer 3 physical link to monitor and rapidly detect faults in the IPv6 link between two directly-connected devices.

Networking Requirements

On the network shown in Figure 6-29, BFD in asynchronous mode is set to detect faults in the direct link between Router A and Router B.

Figure 6-29  Networking diagram of single-hop BFD for IPv6 for a Layer 3 physical link

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure a BFD for IPv6 session on Router A to detect faults in the directly connected link from Router A to Router B.

  2. Configure a BFD for IPv6 session on Router B to detect faults in the directly connected link from Router B to Router A.

Data Preparation

To complete the configuration, you need the following data:

  • Peer IPv6 address bound to a BFD for IPv6 session

  • IP address of the local interface sending and receiving BFD control packets

  • Local and remote discriminators for a BFD for IPv6 session

NOTE:

Default values of the minimum sending interval, minimum receiving interval, and local detection multiplier for BFD control packets are used.

Procedure

  1. Assign IPv6 addresses to the interfaces directly connected Router A and Router B.

    # Assign an IPv6 address to the interface on Router A.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] ipv6
    [RouterA] interface GigabitEthernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] undo shutdown
    [RouterA-GigabitEthernet1/0/0] ipv6 enable
    [RouterA-GigabitEthernet1/0/0] ipv6 address 2001:db8::1 64
    [RouterA-GigabitEthernet1/0/0] quit
    

    # Assign an IPv6 address to the interface on Router B.

    <Huawei> system-view
    [Huawei] sysname RouterB
    [RouterB] ipv6
    [RouterB] interface GigabitEthernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] undo shutdown
    [RouterA-GigabitEthernet1/0/0] ipv6 enable
    [RouterB-GigabitEthernet1/0/0] ipv6 address 2001:db8::2 64
    [RouterB-GigabitEthernet1/0/0] quit
    

  2. Configure single-hop BFD.

    NOTE:

    You can also configure single-hop BFD on Eth-Trunk or VLANIF interfaces. The configuration procedures are the same as those described in this example.

    # Enable BFD on Router A, create a BFD session to detect faults in the link from Router A toRouter B, and bind an outbound interface to the BFD session.

    [RouterA] bfd
    [RouterA-bfd] quit
    [RouterA] bfd atob bind peer-ipv6 2001:db8::2 interface GigabitEthernet 1/0/0
    [RouterA-bfd-session-atob] discriminator local 1
    [RouterA-bfd-session-atob] discriminator remote 2
    [RouterA-bfd-session-atob] commit
    [RouterA-bfd-session-atob] quit

    # Enable BFD on Router B, create a BFD session to detect faults in the link from Router B toRouter A, and bind an outbound interface to the BFD session.

    [RouterB] bfd
    [RouterB-bfd] quit
    [RouterB] bfd atob bind peer-ipv6 2001:db8::1 interface GigabitEthernet 1/0/0
    [RouterB-bfd-session-btoa] discriminator local 2
    [RouterB-bfd-session-btoa] discriminator remote 1
    [RouterB-bfd-session-btoa] commit
    [RouterB-bfd-session-btoa] quit

  3. Verify the configuration.

    After the configuration, run the display bfd session all verbose command on Router A and Router B. You can view that a single-hop BFD session has been set up and its status is Up.

    Use the display on Router A as an example.

    <RouterA> display bfd session all verbose
    --------------------------------------------------------------------------------
    Session MIndex : 256       (One Hop) State : Up        Name : atob
    --------------------------------------------------------------------------------
      Local Discriminator    : 1               Remote Discriminator   : 2
      Session Detect Mode    : Asynchronous Mode Without Echo Function
      BFD Bind Type          : Interface(GigabitEthernet1/0/0)
      Bind Session Type      : Static
      Bind Peer Ip Address   : 2001:db8::2
      NextHop Ip Address     : 2001:db8::2
      Bind Interface         : GigabitEthernet1/0/0
      FSM Board Id           : 1                TOS-EXP                : 7
      Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000
      Actual Tx Interval (ms): -                Actual Rx Interval (ms): -
      Local Detect Multi     : 3                Detect Interval (ms)   : -
      Echo Passive           : Disable          Acl Number             : --
      Destination Port       : 3784             TTL                    : 255
      Proc interface status  : Disable          Process PST            : Disable
      WTR Interval (ms)      : -- 
      Last Local Diagnostic  : No Diagnostic
      Bind Application       : No Application Bind
      Session TX TmrID       : --               Session Detect TmrID   : --
      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

  • Configuration file of Router A

    #
     sysname RouterA
    #
     ipv6
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8::1/64
    #
    bfd atob bind peer-ipv6 2001:db8::2 interface GigabitEthernet1/0/0
     discriminator local 1
     discriminator remote 2
     commit
    #
    return
    
  • Configuration file of Router B

    #
     sysname RouterB
    #
     ipv6
    #
     bfd
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8::2/64
    #
    bfd btoa bind peer-ipv6 2001:db8::1 interface GigabitEthernet1/0/0
     discriminator local 2
     discriminator remote 1
     commit
    #
    return
    
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 60489

Downloads: 109

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