The graceful-restart command enables RIP GR on the restarter.
The undo graceful-restart command disables RIP GR on the restarter.
By default, RIP GR is disabled.
graceful-restart [ period period | wait-time time | planned-only time ] *
undo graceful-restart
Parameter | Description | Value |
---|---|---|
period period |
Specifies the period of GR. |
It is an integer ranging from 30 to 3600, in seconds. The default value is 180 seconds. |
wait-time time |
Specifies the period of GR performed between the restarter and the neighbors that do not support GR. The value of wait-time time cannot be greater than the value of period period. |
It is an integer ranging from 1 to 3600, in seconds. The default value is 45 seconds. |
planned-only time |
Specifies the period of GR performed between the restarter and the neighbors that support GR. |
It is an integer ranging from 5 to 3600, in seconds. The default value is 60 seconds. |
Planned GR indicates the master/slave switchover triggered through the command. Unplanned GR indicates the master/slave switchover triggered because of a fault.
When most switches on a network do not support RIP GR, you are advised to set wait-time time to a larger value. This ensures that the restarter has enough time to learn correct routes.
If the restart switch completes GR before the period specified by period period expires, the restart switch automatically exits from GR. If the restart switch does not complete GR after the period specified by period period expires, the restart switch is forced to exit from GR.
If the period of GR performed between the restarter and the neighbors that do not support GR depends on wait-time, the restarter does not exit from GR regardless of whether GR is finished within wait-time. After wait-time expires, however, the restarter is forced to exit from GR.