Switching the Global Primary and Backup Roles in a Virtual Chassis Configuration
You can change the primary role in an MX Series Virtual
Chassis by switching the global roles of the primary router and backup
router in the Virtual Chassis configuration. When you change the primary
role by issuing the request virtual-chassis routing-engine master
switch
administrative command, the current primary router in
the Virtual Chassis (also known as the Virtual Chassis protocol primary,
or VC-P) becomes the backup router, and the current backup router
(also known as the Virtual Chassis protocol backup, or VC-B) becomes
the primary router.
Before you begin:
Make sure the system configuration is synchronized between the primary router and the backup router.
If the configuration between the member routers is not synchronized when you issue the
request virtual-chassis routing-engine master switch
command, the router displays the following error message and rejects the command.Error: mastership switch request NOT honored, backup not ready
Make sure the Virtual Chassis is not in a transition state (for example, the backup router is in the process of disconnecting from the Virtual Chassis) when you issue the
request virtual-chassis routing-engine master switch
command.If you attempt to issue the
request virtual-chassis routing-engine master switch
command during a transition state, the router does not process the command.
To switch the global primary and backup roles:
Issue the
request virtual-chassis routing-engine master switch
command from the Virtual Chassis primary Routing Engine in the Virtual Chassis primary router (VC-Pp):{master:member0-re0} user@host> request virtual-chassis routing-engine master switch Do you want to continue ? [yes,no] (no) yes
If you attempt to issue the
request virtual-chassis routing-engine master switch
command from the backup router , the router displays the following error message and rejects the command.error: Virtual Chassis member is not the protocol master
Issuing the
request virtual-chassis routing-engine master switch
command from the VC-Pp causes the global role transitions listed in Table 1.Table 1: Virtual Chassis Global Role Transitions Before and After Primary-role Switchover Virtual Chassis Role Before Switching Primary Role
Virtual Chassis Role After Switching Primary Role
Primary Routing Engine in Virtual Chassis primary router (VC-Pp)
Standby Routing Engine in Virtual Chassis backup router (VC-Bs)
Standby Routing Engine in Virtual Chassis primary router (VC-Ps)
Primary Routing Engine in Virtual Chassis backup router (VC-Bp)
Primary Routing Engine in Virtual Chassis backup router (VC-Bp)
Primary Routing Engine in Virtual Chassis primary router (VC-Pp)
Standby Routing Engine in Virtual Chassis backup router (VC-Bs)
Standby Routing Engine in Virtual Chassis primary router (VC-Ps)