350
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Enable the logging of
neighbor state changes.
log-peer-change
By default, this feature is enabled.
Configuring OSPFv3 GR
GR ensures forwarding continuity when a routing protocol restarts or an active/standby switchover
occurs:
Two routers are required to complete a GR process. The following are router roles in a GR process.
•
GR restarter
—Graceful restarting router. It must be Graceful Restart capable.
•
GR helper
—The neighbor of the GR restarter. It helps the GR restarter to complete the GR process.
To prevent service interruption after a master/backup switchover, a GR restarter running OSPFv3 must
complete the following tasks:
•
Keep the GR restarter forwarding entries stable during reboot.
•
Establish all adjacencies and obtain complete topology information after reboot.
After the active/standby switchover, the GR restarter sends a Grace LSA to tell its neighbors that it
performs a GR. Upon receiving the Grace LSA, the neighbors with the GR helper capability enter the
helper mode (and are called "GR helpers"). Then, the GR restarter retrieves its adjacencies and LSDB
with the help of the GR helpers.
Configuring GR restarter
You can configure the GR restarter capability on a GR restarter.
To configure GR restarter:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter OSPFv3 view.
ospfv3
[
process-id
|
vpn-instance
vpn-instance-name
] *
N/A
3.
Enable the GR
capability.
graceful-restart enable
By default, OSPFv3 GR restarter
capability is disabled.
4.
(Optional.) Configure
the GR interval.
graceful-restart interval
interval-value
By default, the GR interval is 120
seconds.
Configuring GR helper
You can configure the GR helper capability on a GR helper.
To configure GR helper: