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 - IP Unicast Routing

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
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 Dynamic BFD for IPv6 Static Routes

Example for Configuring Dynamic BFD for IPv6 Static Routes

Networking Requirements

As shown in Figure 2-10, SwitchA and SwitchB connect to each other and have static routes configured between them. Customers require that a link fault between SwitchA and SwitchB be detected within milliseconds and SwitchA and SwitchB dynamically update their routing tables.

Figure 2-10 Networking diagram for configuring dynamic BFD for IPv6 static routes

Configuration Roadmap

To meet the preceding requirement, configure dynamic BFD for IPv6 static routes. The configuration roadmap is as follows:

  1. Configure dynamic BFD for IPv6 static routes so that link faults between SwitchA and SwitchB can be detected within milliseconds to speed up route convergence.

Procedure

  1. Configure IPv6 addresses for interfaces. The configuration details are not provided here.
  2. Configure static IPv6 routes.

    # Configure a static route destined for FC00:0:0:2008::1/64 on SwitchA.

    [~SwitchA] ipv6 route-static fc00:0:0:2008:: 64 fc00:0:0:2200::2
    [*SwitchA] commit

    # Configure a static route destined for FC00:0:0:2007::1/64 on SwitchB.

    [~SwitchB] ipv6 route-static fc00:0:0:2007:: 64 fc00:0:0:2200::1
    [*SwitchB] commit

  3. Configure dynamic BFD for IPv6 static routes.

    # Bind the static route to a BFD session on SwitchA.

    [~SwitchA] bfd
    [*SwitchA-bfd] quit
    [*SwitchA] ipv6 route-static bfd fc00:0:0:2200::2 local-address fc00:0:0:2200::1
    [*SwitchA] ipv6 route-static fc00:0:0:2008:: 64 fc00:0:0:2200::2 bfd enable
    [*SwitchA] commit

    # Bind the static route to a BFD session on SwitchB.

    [~SwitchB] bfd
    [*SwitchB-bfd] quit
    [*SwitchB] ipv6 route-static bfd fc00:0:0:2200::1 local-address fc00:0:0:2200::2
    [*SwitchB] ipv6 route-static fc00:0:0:2007:: 64 fc00:0:0:2200::1 bfd enable
    [*SwitchB] commit

  4. Verify the configuration.

    # After the configurations are complete, run the display bfd session all verbose command on SwitchA or SwitchB. You can view that the BFD session is established and in Up state. The static route is bound to the BFD session.

    Take the display information on SwitchA as an example. The command output shows that a BFD session is set up.

    <SwitchA> display bfd session all verbose
    (w): State in WTR
    (*): State is invalid
    Total UP/DOWN Session Number : 1/0
    --------------------------------------------------------------------------------
      Name : dyn_16385             (Multiple Hops) State : Up
    --------------------------------------------------------------------------------
      Local Discriminator    : 16385            Remote Discriminator   : 16385 
      Session Detect Mode    : Asynchronous Mode Without Echo Function
      BFD Bind Type          : Peer IP Address  
      Bind Session Type      : Dynamic  
      Bind Peer IP Address   : FC00:0:0:2200::2                           
      Bind Interface         : -                                                 
      Bind Source IP Address : FC00:0:0:2200::1   
      FSM Board ID           : 3                ToS-EXP                : 6
      Min Tx Interval (ms)   : 1000             Min Rx Interval (ms)   : 1000 
      Actual Tx Interval (ms): 1000             Actual Rx Interval (ms): 1000 
      WTR Interval (ms)      : -                Detect Interval (ms)   : - 
      Local Detect Multi     : 3                Active Multi           : - 
      Destination Port       : 4784             TTL                    : 253 
      Process PST            : Disable          Config PST             : Disable 
      Last Local Diagnostic  : No Diagnostic
      Bind Application       : STATICRTV6   
      Session Description    : - 
    --------------------------------------------------------------------------------

Configuration Files

  • Configuration file of SwitchA

    #
    sysname SwitchA
    #
    bfd
    #
    interface 10GE1/0/1
     undo portswitch
     ipv6 enable
     ipv6 address FC00:0:0:2200::1/64
    #
    interface 10GE1/0/2
     undo portswitch
     ipv6 enable
     ipv6 address FC00:0:0:2007::1/64
    #
    ipv6 route-static bfd FC00:0:0:2200::2 local-address FC00:0:0:2200::1
    ipv6 route-static FC00:0:0:2008:: 64 FC00:0:0:2200::2 bfd enable
    #
    return
  • Configuration file of SwitchB

    #
    sysname SwitchB
    #
    bfd
    #
    interface 10GE1/0/1
     undo portswitch
     ipv6 enable
     ipv6 address FC00:0:0:2200::2/64
    #
    interface 10GE1/0/2
     undo portswitch
     ipv6 enable
     ipv6 address FC00:0:0:2008::1/64
    #
    ipv6 route-static bfd FC00:0:0:2200::1 local-address FC00:0:0:2200::2
    ipv6 route-static FC00:0:0:2007:: 64 FC00:0:0:2200::1 bfd enable
    #
    return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074760

Views: 56226

Downloads: 62

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