The auto-frr command enables BGP Auto fast reroute (FRR).
The undo auto-frr command restores the default configuration.
By default, BGP Auto FRR is disabled.
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. In the BGP-EVPN address family view, this command enables Auto FRR for BGP EVPN routes.Implementation Procedure
If both the ip frr and auto-frr commands are configured, the auto-frr command takes precedence over the ip frr command.
Precautions
Using both BGP Auto FRR and BFD is recommended. They can rapidly detect a link fault and switch traffic to a backup link if a fault occurs.