This section describes how to configure OSPF GR to avoid traffic interruption and route flapping caused by the active/standby switchover.
Before configuring OSPF GR, complete the following tasks:
Configuring IP addresses for interfaces to ensure that neighboring routers are reachable at the network layer.
To avoid traffic interruption and route flapping caused by the active/standby switchover, you can enable OSPF GR.
After the OSPF process is restarted through Graceful Restart (GR), the Restarter and the Helper reestablish the neighbor relationship, exchange routing information, synchronize the LSDB, and update the routing table and forwarding table. These operations ensure the fast convergence of OSPF and the stability the network topology.
In practical applications, you can configure OSPF GR on the dual main control boards to avoid service forwarding from being affected by the fault occurred on the main control board.
system-view
ospf [ process-id ]
opaque-capability enable
Opaque LSAs provide a generic mechanism for OSPF extension:
Before configuring OSPF GR, you must enable opaque LSA capability running the opaque-capability enable command.
When enabling or disabling the opaque LSA function, OSPF process will go down in order to renegotiate the new capability, which means that the traffic will be affected for few seconds.
graceful-restart
After the graceful-restart command is run to enable GR for a FW, the Helper function is also enabled.
graceful-restart [ period period | planned-only | partial ] *