Manually Switching Routing Engine Mastership
Action
To manually switch the Routing Engine mastership, use one of the following CLI commands.
user@host>request chassis routing-engine master acquireuser@host>request chassis routing-engine master acquirewarning: Traffic will be interrupted while the PFE is re-initializedAttempt to become the master routing engine ? [yes,no] (no)Resolving mastership...Complete. The local routing engine becomes the master.user@host>request chassis routing-engine master releaseuser@host>request chassis routing-engine master releaseTraffic will be interrupted while the PFE is re-initializedRequest the other routing engine become master ? [yes,no] (no)Resolving mastership...Complete. The other routing engine becomes the master.user@host>request chassis routing-engine master switchIf graceful-switchover is not configured, the command output looks as follows:
user@host>request chassis routing-engine master switchwarning: Traffic will be interrupted while the PFE is re-initializedToggle mastership between routing engines ? [yes,no] (no) yesResolving mastership...Complete. The local routing engine becomes the master.user@host>request chassis routing-engine master switchIf graceful-switchover is configured the command output looks as follows:
Toggle mastership between routing engines ? [yes,no] (no) yesResolving mastership...Complete. The other routing engine becomes the master.What It Means
When you enter the
request chassis routing-engine master acquirecommand on the backup Routing Engine, you see the following:warning: Traffic will be interrupted while the PFE is re-initializedAttempt to become the master routing engine ? [yes,no] (no).The master Routing Engine gives up control of the system bus and goes into the backup state. The backup Routing Engine becomes master and restarts the Packet Forwarding Engine. You can then diagnose the original master Routing Engine for problems or prepare it for upgrade or reconfiguration. When switchover occurs, the backup Routing Engine does not run through its full boot cycle (only the packet forwarding components run through a full boot cycle).
When you enter the
request chassis routing-engine master releasecommand on the master Routing Engine, the system passes mastership to the backup Routing Engine. The master Routing Engine gives up control of the system bus and goes into the backup state. The backup Routing Engine becomes master and restarts the Packet Forwarding Engine. You can then diagnose the original master Routing Engine for problems or prepare it for upgrade or reconfiguration.In all cases, once the switchover occurs, the new master Routing Engine reestablishes routing adjacencies, populates the routing table, and transfers forwarding table information to the Packet Forwarding Engine. When Routing Engine mastership changes, the Packet Forwarding Engine components are rebooted to reestablish communication links and download the microkernel to each component. When this occurs, forwarding is interrupted and packet buffers are flushed.