102
Configuration prerequisites
Before you configure OSPF FRR, perform the following tasks:
• Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes.
• Enable OSPF.
Configuration guidelines
• Do not use the fast-reroute lfa command together with the vlink-peer command.
• When both OSPF PIC and OSPF FRR are configured, OSPF FRR takes effect.
Configuration procedure
Configuring OSPF FRR to calculate a backup next hop using the LFA algorithm
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. (Optional.) Enable LFA on an
interface.
ospf fast-reroute lfa-backup
By default, the interface is enabled
with LFA and it can be selected as a
backup interface.
4. Return to system view.
N/A
5. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
6. Enable OSPF FRR to
calculate a backup next hop
by using the LFA algorithm.
fast-reroute
lfa
[
abr-only
]
By default, OSPF FRR is disabled.
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 perform this task, use the apply fast-reroute backup-interface command to specify a
backup next hop in the routing policy to be used. For more information about the apply fast-reroute
backup-interface command and routing policy configuration, see "Configuring routing policies."
To configure OSPF FRR to specify a backup next hop using a routing policy:
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. 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
disabled.