100
6. (Optional.) Enable strict LSA
checking for the GR helper.
graceful-restart helper
By default, strict LSA checking for
the GR helper is disabled.
Triggering OSPF GR
OSPF GR is triggered by an active/standby switchover or when the following command is executed.
To trigger OSPF GR, perform the following command in user view:
Trigger OSPF GR.
reset ospf
[ process-id ]
process graceful-restart
Configuring OSPF NSR
Nonstop routing (NSR) backs up OSPF link state information from the active process to the standby
process. After an active/standby switchover, NSR can complete link state recovery and route
regeneration without tearing down adjacencies or impacting forwarding services.
NSR does not require the cooperation of neighboring devices to recover routing information, and it is
typically used more often than GR.
A device that has OSPF NSR enabled cannot act as GR restarter.
To enable OSPF NSR:
1. Enter 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 NSR.
non-stop-routing
By default, OSPF NSR is disabled.
This command takes effect only for the
current process. As a best practice,
enable OSPF NSR for each process if
multiple OSPF processes exist.
Configuring BFD for OSPF
BFD provides a single mechanism to quickly detect and monitor the connectivity of links between
OSPF neighbors, which improves the network convergence speed. For more information about BFD,
see High Availability Configuration Guide.
OSPF supports the following BFD detection modes:
• Bidirectional control detection—Requires BFD configuration to be made on both OSPF
routers on the link.
• Single-hop echo detection—Requires BFD configuration to be made on one OSPF router on
the link.