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.


Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

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).
ip frr (VPN instance IPv4 address family view)

ip frr (VPN instance IPv4 address family view)


The ip frr command enables IP FRR of a private network in the VPN instance IPv4 address family view.

The undo ip frr command disables IP FRR of a private network in the VPN instance IPv4 address family view.

By default, IP FRR of a private network is disabled in the VPN instance IPv4 address family view.


ip frr

undo ip frr




VPN instance view, VPN instance IPv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When there are private network routes generated by multiple types of routing protocols in a VPN instance enabled with the IPv4 address family, the ip frr command can be used to enable IP FRR to immediately switch traffic among routes and ensure the normal forwarding of traffic if certain routes are faulty. The following example shows how IP FRR works:

There are two routes to One is a BGP route with priority 150, and the other one is a static route with priority 60. When IP FRR is not enabled, the static route is preferred. After IP FRR is enabled, the static route functions as the primary route, and the BGP route functions as the backup route. If the static route fails, the system immediately switches traffic to the BGP route to ensure the normal forwarding of traffic.


The route-distinguisher command has been executed to set the RD of the VPN instance.


After the ip frr command is run, the system automatically selects an inactive route as the backup of an active route.

The ip frr enables routes of different routing protocols to back up each other. A routing loop may occur during a switchover between routes. Therefore, exercise caution when using this command.


# Enable IP FRR of a private network in the VPN instance.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpn1
[*HUAWEI-vpn-instance-vpn1] ipv4-family
[*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpn1-af-ipv4] ip frr
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 94493

Downloads: 407

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next