< Home

auto-frr (BGP-VPNv4 address family view)

Function

The auto-frr command enables VPNv4 FRR.

The undo auto-frr command restores the default configuration.

By default, VPNv4 FRR is disabled.

Format

auto-frr

undo auto-frr

Parameters

None.

Views

BGP-VPNv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Running the auto-frr command in the BGP-VPNv4 address family view enables VPNv4 FRR and improves network reliability. After VPNv4 FRR is configured, traffic can be switched to the backup LSP (Label Switched Path) immediately after the primary LSP to which a VPNv4 route is iterated becomes faulty. VPNv4 FRR applies to HVPN scenarios.

  • In an HVPN scenario, VPNv4 FRR is deployed on SPEs.

Prerequisites

BGP has been enabled.

Precautions

If used with BFD, VPNv4 FRR can rapidly detect link faults and switch services to the standby link for transmission.

Do not configure the apply-label per-nexthop command in the BGP-VPNv4 address family view if VPNv4 FRR is enabled, or VPNv4 FRR will fail to take effect.

If the auto-frr command is configured in the BGP-VPNv4 address family view, the bestroute nexthop-resolved tunnel command must also be configured, so that packets will not get lost during traffic switchback.

Example

# Enable VPNv4 FRR.

<HUAWEI> system-view
[HUAWEI] bgp 100
[HUAWEI-bgp] ipv4-family vpnv4
[HUAWEI-bgp-af-vpnv4] auto-frr
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >