98
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Enable GTSM for the
interface.
ospf ttl-security
[
hops
hop-count
|
disable
]
By default, GTSM is disabled for
the interface.
Configuring OSPF 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 have GR capability.
• GR helper—A neighbor of the GR restarter. It helps the GR restarter to complete the GR
process.
OSPF GR has the following types:
• IETF GR—Uses Opaque LSAs to implement GR.
• Non-IETF GR—Uses link local signaling (LLS) to advertise GR capability and uses out of band
synchronization to synchronize the LSDB.
A device can act as a GR restarter and GR helper at the same time.
Configuring OSPF GR restarter
You can configure the IETF or non-IETF OSPF GR restarter.
You cannot enable OSPF NSR on a device that acts as GR restarter.
Configuring the IETF OSPF GR restarter
1. Enter system view.
system-view
N/A
2. Enable OSPF and enter its
view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Enable opaque LSA
reception and advertisement
capability.
opaque-capability enable
By default, opaque LSA reception
and advertisement capability is
enabled.
4. Enable the IETF GR.
graceful-restart ietf
[
global
|
planned-only
]
*
By default, the IETF GR capability
is disabled.
5. (Optional.) Set the GR
interval.
graceful-restart interval
interval
By default, the GR interval is 120
seconds.