4-37
Default Level
2: System level
Parameters
ietf
: Enables the IETF GR capability.
nonstandard
: Enables the non-IETF GR capability.
Description
Use the
graceful-restart
command to enable OSPF Graceful Restart capability.
Use the
undo graceful-restart
command to disable OSPF Graceful Restart capability.
By default, OSPF Graceful Restart capability is disabled.
Note the following:
z
Enable Opaque LSA advertisement and reception with the
opaque-capability enable
command
before enabling the IETF GR capability for OSPF.
z
Before enabling non-IETF GR capability for OSPF, enable OSPF LLS (link local signaling) with
the
enable link-local-signaling
command and OOB (out of band resynchronization) with the
enable out-of-band-resynchronization
command.
z
If the keywords
nonstandard
and
ietf
are not specified when OSPF GR is enabled,
nonstandard
is the default.
Related commands:
enable link-local-signaling
,
enable out-of-band-resynchronization
,
opaque-capability enable
.
Examples
# Enable IETF Graceful Restart for OSPF process 1.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] opaque-capability enable
[Sysname-ospf-1] graceful-restart ietf
# Enable non-IETF Graceful Restart for OSPF process 1.
<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] enable link-local-signaling
[Sysname-ospf-1] enable out-of-band-resynchronization
[Sysname-ospf-1] graceful-restart nonstandard
graceful-restart help
Syntax
graceful-restart help
{
acl-number
|
prefix prefix-list
}
undo graceful-restart help
View
OSPF view
Default Level
2: System level