95
• When both OSPF PIC and OSPF FRR are configured, OSPF FRR takes effect.
Configuring OSPF FRR to calculate a backup next hop using the
LFA algorithm
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the source address
of echo packets.
bfd echo-source-ip ip-address
By default, the source address of echo
packets is not configured.
3. Enter interface view.
interface interface-type
interface-number
N/A
4. Enable LFA calculation on an
interface.
ospf fast-reroute lfa-backup
By default, the interface on which LFA
calculation is enabled can be selected
as a backup interface.
5. Return to system view.
quit N/A
6. Enter OSPF view.
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
N/A
7. Enable OSPF FRR to calculate
a backup next hop by using
the LFA algorithm.
fast-reroute lfa [ abr-only ]
By default, OSPF FRR is not configured.
If abr-only is specified, the route to the
ABR is selected as the backup path.
Configuring OSPF FRR to specify a backup next hop using a
routing policy
Before you configure this task, use the apply fast-reroute backup-interface command to specify a backup
next hop in the routing policy to be referenced. For more information about the apply fast-reroute
backup-interface command and routing policy configuration, see "Configuring routing policies."
T
o configure OSPF FRR to specify a backup next hop using a routing policy:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the source address
of echo packets.
bfd echo-source-ip ip-address
By default, the source address of
echo packets is not configured.
3. Enter OSPF view.
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
N/A
4. Enable OSPF FRR to specify a
backup next hop by using a
routing policy.
fast-reroute route-policy
route-policy-name
By default, OSPF FRR is not
configured.