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 Multi-hop BFD for IPv6

Example for Configuring Multi-hop BFD for IPv6

This example describes how to configure a BFD for IPv6 session over a multi-hop path to monitor and rapidly detect faults in links along the path.

Networking Requirements

On the network shown in Figure 6-30, BFD in asynchronous mode is used to detect faults in a multi-hop link between Router A and Router C.

Figure 6-30  Networking diagram of multi-hop BFD for IPv6

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure a BFD for IPv6 session on Router A to detect faults in a multi-hop link from Router A toRouter C.

  2. Configure a BFD for IPv6 session on Router C to detect faults in a multi-hop link from Router C toRouter 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. Run OSPFv3 on Router A, Router B, and Router C to ensure intercommunication between them. RouterA is used as an example. The configurations of RouterB and RouterC are similar to the configuration of RouterA, and are not mentioned here.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] ospfv3
    [RouterA-ospfv3-1] router-id 1.1.1.1
    [RouterA-ospfv3-1] quit
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ospfv3 1 area 0
    [RouterA-GigabitEthernet1/0/0] quit
    

  2. Assign IPv6 addresses to the interfaces connecting Router A, Router B, and Router C.

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

    [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::1 64
    [RouterA-GigabitEthernet1/0/0] quit

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

    [RouterB] ipv6
    [RouterB] interface GigabitEthernet 1/0/0
    [RouterB-GigabitEthernet1/0/0] undo shutdown
    [RouterB-GigabitEthernet1/0/0] ipv6 enable
    [RouterB-GigabitEthernet1/0/0] ipv6 address 2001:db8:1::2 64
    [RouterB-GigabitEthernet1/0/0] quit
    [RouterB] interface GigabitEthernet 2/0/0
    [RouterB-GigabitEthernet2/0/0] undo shutdown
    [RouterB-GigabitEthernet2/0/0] ipv6 enable
    [RouterB-GigabitEthernet2/0/0] ipv6 address 2001:db8:2::1 64
    [RouterB-GigabitEthernet2/0/0] quit

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

    [RouterC] ipv6
    [RouterC] interface GigabitEthernet 2/0/0
    [RouterC-GigabitEthernet2/0/0] undo shutdown
    [RouterC-GigabitEthernet2/0/0] ipv6 enable
    [RouterC-GigabitEthernet2/0/0] ipv6 address 2001:db8:2::2 64
    [RouterC-GigabitEthernet2/0/0] quit

  3. Configure multi-hop BFD between Router A and Router C.

    # Create a BFD session on Router A to detect faults in the link from Router A to Router C. Do not bind the BFD session to an outbound interface.

    [RouterA] bfd
    [RouterA-bfd] quit
    [RouterA] bfd atoc bind peer-ipv6 2001:db8:2::2
    [RouterA-bfd-session-atoc] discriminator local 10
    [RouterA-bfd-session-atoc] discriminator remote 20
    [RouterA-bfd-session-atoc] commit
    [RouterA-bfd-session-atoc] quit

    # Create a BFD session on Router C to detect faults in the link from Router C to Router A. Do not bind the BFD session to an outbound interface.

    [RouterC] bfd
    [RouterC-bfd] quit
    [RouterC] bfd ctoa bind peer-ipv6 2001:db8:1::1
    [RouterC-bfd-session-ctoa] discriminator local 20
    [RouterC-bfd-session-ctoa] discriminator remote 10
    [RouterC-bfd-session-ctoa] commit
    [RouterC-bfd-session-ctoa] quit

  4. Verify the configuration.

    After the configuration, run the display bfd session all verbose command on Router A and Router C. You can view that a multi-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       (Multi Hop) State :Up        Name : atoc
    --------------------------------------------------------------------------------
      Local Discriminator    : 10               Remote Discriminator   : 20
      Session Detect Mode    : Asynchronous Mode Without Echo Function
      BFD Bind Type          : Peer Ip Address
      Bind Session Type      : Static
      Bind Peer Ip Address   : 2001:db8:2::2
      Bind Interface         : --
      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       : 4784               TTL                    : 254
      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      : --
      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
    #
    ospfv3 1
     router-id 1.1.1.1
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::1/64
     ospfv3 1 area 0.0.0.0
    #
    bfd atoc bind peer-ipv6 2001:db8:2::2
     discriminator local 10
     discriminator remote 20
     commit
    #
    return
    
  • Configuration file of Router B

    #
     sysname RouterB
    #
     ipv6
    #
     bfd
    #
    ospfv3 1
     router-id 1.1.1.1
    #
    interface GigabitEthernet1/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:1::2/64
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::1
     ospfv3 1 area 0.0.0.0
    #
    return
    
  • Configuration file of Router C

    #
     sysname RouterC
    #
     ipv6
    #
     bfd
    #
    ospfv3 1
     router-id 1.1.1.1
    #
    interface GigabitEthernet2/0/0
     undo shutdown
     ipv6 enable
     ipv6 address 2001:db8:2::2
     ospfv3 1 area 0.0.0.0
    #
    bfd ctoa bind peer-ipv6 2001:db8:1::1
     discriminator local 20
     discriminator remote 10
     commit
    #
    return
    
Translation
Download
Updated: 2019-08-12

Document ID: EDOC1100034076

Views: 57486

Downloads: 107

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