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.


CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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 IP FRR on the Public Network

Configuring IP FRR on the Public Network

Usage Scenario

On a traditional IP network, when a lower-layer failure occurs on the forwarding link of a device, the physical interface of the device becomes Down. After the device detects the failure, it instructs the upper-layer routing system to recalculate routes and update routing information. It often takes the routing system several seconds to reselect an available route.

Second-level convergence is intolerable to the services that are quite sensitive to delay and packet loss because it may lead to service interruption. For example, Voice over Internet Protocol (VoIP) services are only tolerant of millisecond-level interruption. IP FRR ensures that the forwarding system rapidly responds to link failures and uses backup routes to forward data, minimizing service traffic interruption.

Among the AR160 series routers, the AR169, AR169G-L, AR169CVW, AR169CVW-4B4S, AR169-P-M9, AR169W-P-M9, AR169RW-P-M9, and AR161FW-P-M5 do not support the function.

Pre-configuration Tasks

Before configuring IP FRR on the public network, complete the following tasks:

  • Configuring static routes or an IGP to ensure that there are reachable IP routes between devices

  • Configuring different costs for routes to generate two non-equal-cost routes

Configuration Procedure

Configure a route-policy and then enable IP FRR on the public network for the route-policy.


  1. Configure a route-policy.
    1. Run system-view

      The system view is displayed.

    2. Run route-policy route-policy-name { permit | deny } node node

      A route-policy is created and the route-policy view is displayed.

    3. (Optional) Run if-match

      Matching conditions are set to filter the routes to be backed up.

      Select the if-match command according to (Optional) Configuring an if-match Clause.

      If no matching condition is specified, backup outbound interfaces and backup next hops will be specified for all routes of the device. This, however, causes backup information to be specified for some routes that do not need to be backed up. To correctly configure backup between routes, you are advised to specify matching conditions.

    4. Run apply backup-interface interface-type interface-number

      The backup outbound interface is set.

    5. Run apply backup-nexthop ip-address

      The backup next hop is set.

      • If a backup outbound interface is specified on a P2P link, no backup next hop needs to be specified.

      • If a backup outbound interface is specified on a non-P2P link, a backup next hop needs to be specified.

    6. Run quit

      Return to the system view.

  2. Enable IP FRR on the public network.
    1. Run ip frr route-policy route-policy-name

      IP FRR on the public network is enabled.

      When using IP FRR, use this command to enable IP FRR so that the route-policy can take effect.

      Only one route-policy can be configured every time you use the command. If you run the command multiple times, only the latest configuration takes effect.

Verifying the Configuration

Run the display ip routing-table [ verbose ] command to check information about the IPv4 routing table.

Updated: 2019-12-27

Document ID: EDOC1000174069

Views: 199927

Downloads: 356

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next