Configuration procedure

Configuring OSPFv3 FRR to calculate a backup next hop using the LFA algorithm

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. (Optional.) Disable LFA on an interface.

ospfv3 fast-reroute lfa-backup exclude

By default, the interface on which LFA is enabled can be selected as a backup interface.

4. Return to system view.

quit

N/A

5. Enter OSPFv3 view.

ospfv3 [ process-id | vpn-instance vpn-instance-name ] *

N/A

6. Enable OSPFv3 FRR to calculate a backup next hop by using the LFA algorithm.

fast-reroute lfa [ abr-only ]

By default, OSPFv3 FRR is disabled.

If abr-only is specified, the route to the ABR is selected as the backup path.

Configuring OSPFv3 FRR to specify a backup next hop using a routing policy

Before you perform this task, use the apply ipv6 fast-reroute backup-interface command to specify a backup next hop in the routing policy to be used. For more information about the apply ipv6 fast-reroute backup-interface command and routing policy configuration, see "Configuring routing policies."

To configure OSPFv3 FRR to specify a backup next hop using a routing policy:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. (Optional.) Disable LFA on an interface.

ospfv3 fast-reroute lfa-backup exclude

By default, the interface is enabled with LFA and it can be selected as a backup interface.

4. Return to system view.

quit

N/A

5. Enter OSPFv3 view.

ospfv3 [ process-id | vpn-instance vpn-instance-name ] *

N/A

6. Enable OSPFv3 FRR to specify a backup next hop by using a routing policy.

fast-reroute route-policy route-policy-name

By default, OSPFv3 FRR is disabled.

Configuring BFD for OSPFv3 FRR

By default, OSPFv3 FRR does not use BFD to detect primary link failures. To speed up OSPFv3 convergence, enable BFD for OSPFv3 FRR to detect primary link failures.

To configure BFD control packet mode for OSPFv3 FRR:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Enable BFD control packet mode for OSPFv3 FRR.

ospfv3 primary-path-detect bfd ctrl [ instance instance-id ]

By default, BFD control packet mode for OSPFv3 FRR is disabled.

To configure BFD echo packet mode for OSPFv3 FRR:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the source IPv6 address of BFD echo packets.

bfd echo-source-ipv6 ipv6-address

By default, the source IPv6 address of BFD echo packets is not configured.

The source IPv6 address cannot be on the same network segment as any local interface's IP address.

For more information about this command, see High Availability Command Reference.

3. Enter interface view.

interface interface-type interface-number

N/A

4. Enable BFD echo packet mode for OSPFv3 FRR.

ospfv3 primary-path-detect bfd echo [ instance instance-id ]

By default, BFD echo packet mode for OSPFv3 FRR is disabled.