The graceful-restart helper-role command configures a device as a GR helper.
The undo graceful-restart helper-role command cancels the configuration.
By default, the device does not function as a GR helper.
graceful-restart [ period period | partial | planned-only ] * helper-role { [ { ip-prefix ip-prefix-name | acl-number acl-number | acl-name acl-name } | ignore-external-lsa | planned-only ] * | never }
undo graceful-restart [ period | partial | planned-only ] * helper-role [ [ { ip-prefix | acl-number | acl-name } | ignore-external-lsa | planned-only ] * | never ]
Parameter | Description | Value |
---|---|---|
period period |
Specifies the duration of GR. |
The value is an integer that ranges from 1 to 1800, in seconds. The default value is 120. |
planned-only |
Configures the device to support only planned GR. By default, the device supports both the planned GR and unplanned GR. |
- |
partial |
Configures the device to support partial GR. By default, the device supports totally GR. |
- |
ip-prefix ip-prefix-name |
Specifies the name of an IP prefix list. The name is a string. |
The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
acl-number acl-number |
Specifies the basic ACL number. |
The value is an integer that ranges from 2000 to 2999. |
acl-name acl-name |
Specifies the name of a named ACL. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter. |
ignore-external-lsa |
Indicates that the device does not check Type 5 and Type 7 LSAs. |
- |
planned-only |
Indicates that the device supports only planned GR. |
By default, the device supports both planned GR and unplanned GR. |
never |
Indicates that the device 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 switch, 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.