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


To have a better experience, please upgrade your IE browser.


NE40E V800R010C10SPC500 Configuration Guide - IP Routing 01

This is NE40E V800R010C10SPC500 Configuration Guide - IP Routing
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).
Configuring BGP Auto FRR

Configuring BGP Auto FRR

BGP Auto FRR, a protection measure against link faults, applies to the network topology with both primary and backup links. It can be configured for services that are quite sensitive to the packet loss and delay.

Usage Scenario

As networks evolve continuously, voice, on-line video, and financial services raise increasingly high requirements for real-time performance. Usually, primary and backup links are deployed on a network to ensure the stability of these services. In a traditional forwarding mode, the router selects a route out of several routes that are bound for the same destination network as the optimal route and delivers the route to the FIB table to guide data forwarding. If the optimal route fails, the router has to wait for route convergence to be completed before reselecting an optimal route. During this period, services are interrupted. After the router delivers the reselected optimal route to the FIB table, services are restored. Service interruption in this mode lasts a long time, which cannot meet services' requirements.

After BGP Auto FRR is enabled on a router, the router selects the optimal route from the routes that are bound for the same destination network. In addition, the router automatically adds information about the second optimal route to the backup forwarding entries of the optimal route. If the primary link fails, the router quickly switches traffic to the backup link. The switchover does not depend on route convergence. Therefore, the service interruption time is very short, reaching the sub-second level.

Pre-configuration Tasks

Before configuring BFD Auto FRR, complete the following task:


  1. Run system-view

    The system view is displayed.

  2. Run bgp as-number

    The BGP view is displayed.

  3. Run ipv4-family unicast

    The BGP IPv4 unicast address family view is displayed.

  4. Run auto-frr

    BGP Auto FRR for unicast routes is enabled.

  5. (Optional) Run route-select delay delay-value

    A delay for selecting a route to the intermediate device on the primary path is configured. After the primary path recovers, an appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.

  6. Run commit

    The configuration is committed.

Checking the Configurations

After configuring BGP Auto FRR, you can run the following commands to check the previous configuration.

  • Run the display bgp routing-table [ network [ { mask | mask-length } [ longer-prefixes ] ] ] command to check information in a BGP routing table.
  • Run the display ip routing-table [ ip-address [ mask | mask-length ] [ longer-match ] ] verbose command to check backup forwarding entries in an IP routing table.

# Run the display bgp routing-table ip-address mask-length longer-prefixes command. The command output shows that there are two next hops to reach The route with the next hop of has a smaller MED value and therefore becomes the optimal route.

<HUAWEI> display bgp routing-table 32 longer-prefixes
 BGP Local router ID is
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

      Network            NextHop        MED        LocPrf    PrefVal Path/Ogn

 *>        80                    0      200i
 *        120                   0      200i

# Run the display ip routing-table ip-address mask-length verbose command. The command output shows that there are two next hops to reach, and is the backup next hop.

<HUAWEI> display ip routing-table 32 verbose
Route Flags: R - relay, D - download
to fib, T - to vpn-instance, B - black hole route
Routing Table : Public
Summary Count : 1

     Protocol: EBGP            Process ID: 0
   Preference: 255                   Cost: 80
      NextHop:         Neighbour:
        State: Active Adv             Age: 00h05m41s
          Tag: 0                 Priority: low
        Label: NULL               QoSInfo: 0x0
   IndirectID: 0x2
 RelayNextHop:          Interface: GigabitEthernet1/0/0
     TunnelID: 0x0                  Flags:  D
    BkNextHop:       BkInterface: GigabitEthernet1/0/1
      BkLabel: NULL           SecTunnelID: 0x0
 BkPETunnelID: 0x0        BkPESecTunnelID: 0x0
 BkIndirectID: 0x1
Updated: 2019-01-03

Document ID: EDOC1100055018

Views: 49988

Downloads: 205

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