Switching HCM Mastership
When HCM mastership changes because of failure, Routing Engine mastership will change as well.
If the Routing Engines are running JUNOS Release 6.0 or later and are configured for graceful switchover, the standby Routing Engine immediately assumes Routing Engine functions and there is no interruption to packet forwarding. Otherwise, packet forwarding halts while the standby Routing Engine becomes the master and the Packet Forwarding Engine components reset and connect to the new master Routing Engine. For information about configuring graceful switchover, see the section about Routing Engine redundancy in the JUNOS System Basics Configuration Guide.
Action
To switch HCM mastership to the backup HCM, use the following CLI command:
user@host> request chassis routing-engine master switchSample Output
user@host> request chassis routing-engine master switchwarning: Traffic will be interrupted while the PFE is re-initializedToggle mastership between routing engines ? [yes,no] yesResolving mastership...Complete. The other routing engine becomes the master.What It Means
The HCM that was master is now the backup HCM.
Action
To check HCM status and mastership after a switchover, use the following CLI command:
user@host> show chassis environment hcmSample Output
user@host> show chassis environment hcmHCM 0 status:State Online StandbyFPGA Revision 27HCM 1 status:State Online MasterFPGA Revision 27Action
To switch HCM mastership from the backup to the default master, use the following CLI command
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...Message from syslogd@host cfeb at Jan 28 15:10:37 ...argh cfeb RDP: Remote side reset connection: rdp.(scb:17408).(serverRouter:chassis)Message from syslogd@host cfeb at Jan 28 15:10:37 ...argh cfeb RDP: Remote side reset connection: rdp.(scb:17409).(serverRouter:pfe)Message from syslogd@host cfeb at Jan 28 15:10:37 ...argh cfeb CM: ALARM SET: (Major) RE chassis socket closed abruptlyComplete. The local routing engine becomes the master.