Depending on the configuration, a variable amount of
time is required before a router or switch is ready to perform a graceful
Routing Engine switchover (GRES). Attempting a GRES operation before
the device is ready can cause system errors and unexpected behavior.
To determine whether the member routers or switches in a Virtual
Chassis configuration are ready for a GRES operation from a database
synchronization perspective, you can issue the request virtual-chassis
routing-engine master switch check
command from the Virtual
Chassis primary router or switch (VC-Pp) before you initiate the GRES
operation. Using the request virtual-chassis routing-engine master
switch check
command before you initiate the GRES operation
ensures that the subscriber management and kernel databases on both
member routers or switches are synchronized and ready for the GRES
operation.
To determine whether the member routers or switches are
ready for GRES from a database synchronization perspective:
- Issue the
request virtual-chassis routing-engine
master switch check
command from the Virtual Chassis primary
router or switch (VC-Pp).{master:member0-re0}
user@host> request virtual-chassis routing-engine master switch check
The request virtual-chassis routing-engine master switch
check
command checks various system and database components
on the member routers or switches to determine whether they are ready
for GRES, but does not initiate the global GRES operation itself.
The readiness check includes ensuring that a system timer, which expires
after 300 seconds, completes before the global GRES operation begins.
- Review the results of the
request virtual-chassis
routing-engine master switch check
command to determine whether
the member routers or switches are ready for a GRES operation from
a database synchronization perspective.If the member routers or switches are ready for GRES, the request virtual-chassis routing-engine master switch check
command
displays a message confirming GRES readiness. For example:
{master:member0-re0}
user@host> request virtual-chassis routing-engine master switch check
Switchover Ready
If the member routers or switches are not ready for GRES,
the request virtual-chassis routing-engine master switch check
command displays information about the readiness of the system.
For example:
{master:member0-re0}
user@host> request virtual-chassis routing-engine master switch check
error: chassisd Not ready for mastership switch, try after 217 secs.
mastership switch request NOT honored, backup not ready
The specific command output differs depending on the GRES readiness
state of the member routers or switches.