graceful-restart
Syntax
graceful-restart {restart-interval <SECONDS> | helper}
no graceful-restart {restart-interval | helper}
Description
Configures graceful restart parameters for OSPF.
The
no
form of this command sets the restart interval to the default interval of 120 seconds or disables the helper mode, depending on the parameter specified.
Command context
config-ospf
Parameters
Choose one of the following parameters:
restart-interval <SECONDS>
Specifies the time another router should wait for this router to gracefully restart and selects the maximum interval (in seconds) that another router should wait. Default: 120 seconds. Range: 5-1800.
helper
Specifies that the router will participate in the graceful restart of a neighbor router.
Authority
Administrators
Examples
Enabling OSPF nonstop forwarding:
switch# configure terminal switch(config)# router ospf 1 switch(config-ospf-1)# graceful-restart restart-interval 50 switch(config-ospf-1)# graceful-restart helper
Setting restart-interval to default, disable helper mode:
switch# configure terminal switch(config)# router ospf 1 switch(config-ospf-1)# no graceful-restart restart-interval switch(config-ospf-1)# no graceful-restart helper