Hi Dear
please check below :
Configuring VPN FRR
If a CE is dual-homed to two PEs, you can configure VPN FRR to ensure that VPN services switch to a secondary link if the primary link between PEs fails.
Usage Scenario
VPN FRR applies to services that are sensitive to packet loss and delay on VPNs. On the network shown in Figure 1, CE1 is dual-homed to PE2 and PE3. VPN FRR is configured on PE1. When the link between PE1 and PE2 fails, VPN traffic needs to be fast switched to the link between PE1 and PE3.
You can enable VPN FRR in either of the following views as required: VPN instance IPv4 address family view and BGP-VPN instance IPv4 address family view. If only a BGP VPNv4 peer relationship is configured and no VPN instance is configured, enable VPN FRR in the BGP-VPN instance IPv4 address family view.
Pre-configuration Tasks
Before configuring VPN FRR, complete the following tasks:
Configure a routing protocol on the router to ensure IP connectivity.
Generate two unequal-cost routes on the PE by setting different costs or metrics.
Set up the VPN.
Procedure
Enable VPN FRR in the VPN instance IPv4 address family view.
Run system-view
The system view is displayed.
Run ip vpn-instance vpn-instance-name
The VPN instance view is displayed.
Run ipv4-family
The VPN instance IPv4 address family view is displayed.
Run vpn frr
VPN FRR is enabled.
(Optional) Run quit
Return to the VPN instance view.
(Optional) Run quit
Return to the system view.
(Optional) Run bgp as-number
The BGP view is displayed.
(Optional) Run ipv4-family vpn-instance vpn-instance-name
The BGP-VPN instance IPv4 address family view is displayed.
(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.
The delay-value value is an integer ranging from 0 to 3600, in seconds. The default value is 0, indicating that the device on which FRR is configured selects a route to the intermediate device on the primary path without a delay.
Run commit
The configuration is committed.
Enable VPN FRR in the BGP-VPN instance IPv4 address family view.
Run system-view
The system view is displayed.
Run bgp as-number
The BGP view is displayed.
Run ipv4-family vpn-instance vpn-instance-name
The BGP-VPN instance IPv4 address family view is displayed.
Run auto-frr
VPN FRR is enabled.
(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.
The delay-value value is an integer ranging from 0 to 3600, in seconds. The default value is 0, indicating that the device on which FRR is configured selects a route to the intermediate device on the primary path without a delay.
Run commit
The configuration is committed.
The reference : NetEngine40E_V800R011C00SPC300
Regards.