Configure OSPFv3 Graceful Restart
GR (Graceful Restart) is used to keep the route information of the forwarding layer between the local device and the neighbor device unchanged during the active/standby switchover of the devices and the forwarding is not affected. After switching the device and running again, the protocol layer of the two devices synchronizes the route information and updates the forwarding layer so that the data forwarding is not interrupted during the device switchover.
There are two roles during GR:
- GR Restarter: The device performing the protocol graceful restarting
- GR Helper: The device assisting the protocol graceful restarting
The distributed device can serve as GR Restarter and GR Helper, while the centralized device can only serve as GR Helper, assisting Restarter to complete GR.
Configuration Condition
Before configuring OSPFv3 GR, first complete the following task:
- The IPv6 forwarding function is enabled.
- The OSPFv3 protocol is enabled.
Configure OSPFv3 GR Restarter
Table 8-31 Configure OSPFv3 GR Restarter
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the OSPFv3 configuration mode.
|
ipv6 router ospf process-id [ vrf vrf-name ]
|
-
|
Configure OSPFv3 GR
|
nsf ietf
|
Mandatory
By default, do not enable GR function.
The function takes effect and the protocol needs to support the Opaque-LSA function. By default, support the Opaque-LSA function.
|
Configure OSPFv3 GR period
|
nsf interval grace-period
|
Optional
By default, the GR period is 95s.
|
Configure OSPFv3 GR Helper
GR Helper helps Restarter to complete GR. By default, the device enables the function. The nsf ietf helper disable command is used to disable the GR Helper function. The nsf ietf helper strict-lsa-checking command is used to configure Helper to perform the strict check for LSA during GR. If finding that the LSA does not change, exit the GR Helper mode.
Table 8-32 Configure OSPFv3 GR Helper
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the OSPFv3 configuration mode.
|
ipv6 router ospf process-id [ vrf
vrf-name ]
|
-
|
Configure OSPFv3 GR Helper
|
nsf ietf helper [ disable | strict-lsa-checking ]
|
Optional
By default, enable the Helper function and do not perform the strict check for LSA
|