The graceful-restart helper-role command configures the GR helper mode on devices that run OSPF.
The undo graceful-restart helper-role command removes the GR helper mode.
By default, the GR helper mode is disabled.
graceful-restart [ period period | partial | planned-only ] * [ helper-role { { { ip-prefix ip-prefix-name | acl-number acl-number } | ignore-external-lsa | planned-only } * | never } ]
undo graceful-restart [ period | partial | planned-only ] * [ helper-role [ [ [ ip-prefix | acl-number ] | ignore-external-lsa | planned-only ] * | never ] ]
| Parameter | Description | Value |
|---|---|---|
| period period | Specifies the duration of GR. | It is an integer ranging from 1s to 1800s. The default value is 120s. |
| partial | Indicates that the FW partially supports the GR. By default, the FW totally supports the GR. | - |
| planned-only | Indicates that the FW supports only the planned-GR. By default, the FW supports both the planned GR and unplanned GR. | - |
| ip-prefix ip-prefix-name | Specifies the prefix list name. | The value must be the name of an existing prefix list. |
| acl-number acl-number | Specifies the number of the ACL. | The value is an integer that ranges from 2000 to 2999. |
| ignore-external-lsa | Indicates that the Type-5 and Type-7 LSAs are not checked. | - |
| never | Indicates that the FW does not support the Helper mode. | - |
Usage Scenario
If an OSPF neighbor supports GR and can be a restarter, the current device needs to be set to helper mode, and the neighbor is assisted to complete the GR process.
After the graceful-restart command is run to enable GR for a FW, the Helper function is also enabled.
Prerequisites
OSPF supports GR using Type 9 LSAs. So before configuring GR, run the opaque-capability enable command to enable opaque LSA capability.