graceful-restart interval (OSPF view)

Use graceful-restart interval to set the GR interval.

Use undo graceful-restart interval to restore the default.

Syntax

graceful-restart interval interval

undo graceful-restart interval

Default

The GR interval is 120 seconds.

Views

OSPF view

Predefined user roles

network-admin

Parameters

interval: Specifies the GR interval in the range of 40 to 1800 seconds.

Usage guidelines

For GR restart to succeed, the value of the GR restart interval cannot be smaller than the maximum OSPF neighbor dead time of all the OSPF interfaces.

Examples

# Set the GR interval for OSPF process 1 to 100 seconds.

<Sysname> system-view
[Sysname] ospf 1
[Sysname-ospf-1] graceful-restart interval 100

Related commands

ospf timer dead