Manually Switching from Master to Backup Routing Engine
Action
To manually switch from master to backup Routing Engine, or to force the backup Routing Engine to become master, use the following CLI command:
user@host>request chassis routing-engine master releaseYou can also use the following CLI command:
user@host>request chassis routing-engine master switchFor routers with multiple Routing Engines only, you can control which Routing Engine is the master.
By default, the Routing Engine in slot 0 (
RE0) is the master and the Routing Engine in slot 1 (RE1) is the backup. To change the default master Routing Engine, include therouting-enginestatement at the [edit chassis redundancy] hierarchy level in the configuration. For more information, see the JUNOS System Basics Configuration Guide.When you force the backup Routing Engine to become the master Routing Engine with the
request chassis routing-engine mastercommand and then restart the chassis software for any reason, the master reverts to the default setting.
When both Routing Engines have the same configuration and come up at the same time, the Routing Engine in slot 0 takes precedence over the Routing Engine in slot 1. Table 110 indicates which Routing Engine becomes master based on the configuration of both Routing Engines.
Sample Output
The following command output displays when you attempt to have the backup Routing Engine become master:
user@M20-host>request chassis routing-engine master acquirewarning: Traffic will be interrupted while the PFE is re-initializedwarning: The other routing engine's file system could be corruptedReset other routing engine and become master ? [yes,no] (no)The following command output displays when you switch the mastership from the master Routing Engine to the backup:
user@m20-host-0>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 other Routing Engine becomes the master.root@m20-host-0>The following command output displays when you switch the mastership from the backup to the master Routing Engine:
root@m20-host-0>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.root@m20-host-0>What It Means
The command output indicates that traffic will be interrupted during the Routing Engine mastership switch process. The command output confirms whether you really want to continue with the mastership switch process, and indicates when the mastership switch process is complete.
Syntax
request chassis routing-engine master <acquire <no-confirm>| release | switch>
acquire—(Optional) Attempt to become the master Routing Engine.
no-confirm—(Optional) Do not request confirmation.
release—(Optional) Request the other Routing Engine to become the master.
switch—(Optional) Toggle mastership between Routing Engines.