graceful-restart restart-interval

Use this command to set the graceful-restart restart interval.

Syntax

graceful-restart restart-interval interval
no graceful-restart restart-interval interval

Parameters

interval Specifies the maximum amount of time in seconds that this router will remain in graceful-restart mode starting at the time it enters graceful-restart. Valid values are 1 - 1800 seconds. Default value is 120 seconds.

Defaults

None.

Mode

OSPF router configuration.

Usage

The restart interval sets the maximum amount of time that this router will remain in graceful restart once an OSPF restart is initiated.

The “no” form of this command resets the graceful-restart restart-interval to its default value.

Example

This example sets the graceful restart restart-interval to 300 seconds:

System(rw-config)->router ospf 1
System(rw-config-ospf-1)->graceful-restart enable
System(rw-config-ospf-1)->graceful-restart restart-interval 300