On PTX10008 EVO devices, the Routing and Control Board (RCB) is an integrated board and a single FRU that provides Routing Engine and Control Board (CB) functionality.
We can install one or two RCBs on the router. This article explains about how to shut down the standby RCB to replace it.
Use the following three request node < halt | offline | power-off > CLI operations to initiate shutdown of the standby RCB 1.
request node < halt | offline | power-off >
{MASTER} User@ptx10008-re0> request node ? Possible completions: halt Halt the node offline Offline the node online Online the node power-off Power-off the node power-on Power-on the node reboot Reboot the node
Operation 1. Backup node (RE 1) goes to Present state with the node halt operation.
node halt
########## Backup RE 1 is node halted ########## {MASTER} User@ptx10008-re0> show system information Model: ptx10008 Family: junos Junos: 21.1R1.11-EVO Hostname: ptx10008-re0 {BACKUP} User@ptx10008-re1> show system information Model: ptx10008 Family: junos Junos: 21.1R1.11-EVO Hostname: ptx10008-re1 {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby
{MASTER} User@ptx10008-re0> request chassis cb offline slot 1 Node is online
RE 1 is node halted. CB 1 is Online Standby and RE 1 becomes Present.
{MASTER} User@ptx10008-re0> request node halt re1 Halt the node ? [yes,no] (no) yes *** Shutdown message for node re1 from root@ptx10008-re0*** Shutdown at Thu Jun 17 08:00:56 2021 {MASTER} User@ptx10008-re0> {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Present {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby
CB 1 is offlined. CB 1 is Offline Standby and RE 1 is Present.
{MASTER} User@ptx10008-re0> request chassis cb offline slot 1 Offline initiated {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Offline Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Present
<<<< RCB 1 shutdown completed. We can exchange RCB 1. After exchanging RCB 1, RCB 1 will be operational with the following steps.
Step 4. CB 1 is onlined. CB 1 is Online Standby and RE 1 is Backup.
{MASTER} User@ptx10008-re0> request chassis cb online slot 1 Online initiated {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup
Operation 2. Backup node (RE 1) goes to Present state with node offline operation.
node offline
########## Backup RE is offlined ########## {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby
RE 1 is node offlined. CB 1 is Online Standby and RE 1 is Present.
{MASTER} User@ptx10008-re0> request node offline re1 This may take a few minutes. Offline the node ? [yes,no] (no) yes Node re1 is set to be offline {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Present
CB 1 is offlined. CB 1 becomes Offline Standby and RE 1 is Present.
<<<< RCB 1 shutdown is completed. We can exchange RCB 1. After exchanging RCB 1, RCB 1 will be operational with the following steps.
CB 1 is onlined. CB 1 is Online Standby and RE 1 is Present.
{MASTER} User@ptx10008-re0> request chassis cb online slot 1 Online initiated {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Present
RE 1 is node onlined. RE 1 becomes Backup.
{MASTER} User@ptx10008-re0> request node online re1 This may take a few minutes. Online the node ? [yes,no] (no) yes Node re1 is set to be online {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby
Operation 3. Backup node (RE 1) goes to Present state with the node power-off operation.
node power-off
########## Backup RE 1 is power-off with 21.1R1.11-EVO (without fix of PR 1581476) ########## {MASTER} User@ptx10008-re0> show system information Model: ptx10008 Family: junos Junos: 21.1R1.11-EVO Hostname: ptx10008-re0 {BACKUP} User@ptx10008-re1> show system information Model: ptx10008 Family: junos Junos: 21.1R1.11-EVO Hostname: ptx10008-re1
Node power-off RE 1. CB 1 becomes Fault Standby . This is due to PR1581476 .
{MASTER} User@ptx10008-re0> request node power-off re1 Power-off the node ? [yes,no] (no) yes *** System shutdown message from root@ptx10008-re0*** Shutdown at Thu Jun 17 05:00:43 2021 {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Fault Standby <----------- PR 1581476
CB 1 offlined. CB 1 becomes Offline Standby and RE 1 is Present.
{MASTER} User@ptx10008-re0> request chassis cb slot 1 offline Offline initiated {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Offline Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Routing Engine status: Slot 0: Current state Master Slot 1: Current state Present
CB 1 is onlined. CB 1 becomes Online Standby and RE 1 becomes Backup.
{MASTER} User@ptx10008-re0> request chassis cb online slot 1 Online initiated {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup ########## Backup RE 1 is power-off with 20.4R2.14-EVO (with fix of PR 1581476) ########## {MASTER} User@ptx10008-re0> show system information Model: ptx10008 Family: junos Junos: 20.4R2.14-EVO Hostname: ptx10008-re0 {BACKUP} User@ptx10008-re1> show system information Model: ptx10008 Family: junos Junos: 20.4R2.14-EVO Hostname: ptx10008-re1 {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Backup {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Online Standby
Node power-off RE 1. CB 1 is Offline Standby and RE 1 is Present. This is OK.
{MASTER} User@ptx10008-re0> request node power-off re1 Power-off the node ? [yes,no] (no) yes *** System shutdown message from root@ptx10008-re0*** Shutdown at Thu Jun 17 13:55:17 2021 . {MASTER} User@ptx10008-re0> show chassis routing-engine |match "Slot|state" Slot 0: Current state Master Slot 1: Current state Present {MASTER} User@ptx10008-re0> show chassis environment cb |match "status|State" CB 0 status: State Online Master CB 1 status: State Offline Standby
CB 1 is onlined. CB 1 is Online Standby and RE1 becomes Backup.
To shut down the standby RCB on PTX10008 Evo, use the following three request node < halt | offline | power-off > CLI operations.
If we perform the node halt or node power-off operation to shut down the standby RCB 1, we only need to bring CB 1 up. RE comes Backup online by default.
However, if we perform the node offline operation to shut down the standby RCB 1, we bring CB 1 up and need to do node online .
node online
Operation 1. Backup node (RE 1) goes to Present state with " node halt " operation.
RE 1 is Backup and CB 1 is Online Standby.
RE 1 is node halted , then CB 1 is Online Standby and RE 1 is Present.
CB 1 is offlined , then CB 1 is Offline Standby and RE 1 is Present.
RCB 1 shutdown completed. We can exchange RCB 1.
CB 1 is onlined , then CB 1 is Online Standby and RE 1 is Backup.
Operation 2. Backup node (RE 1) goes to Present state with " node offline " operation.
RE 1 is node offlined , then CB 1 is Online Standby and RE 1 is Present.
CB 1 is onlined , then CB 1 is Online Standby and RE 1 is Present.
RE 1 is node onlined , then RE 1 is Backup.
Operation 3. Backup node (RE 1) goes to Present state with " node power-off " operation.
[21.1R1.11-EVO]
RE 1 is node power-off , then CB 1 is Fault Standby due to PR1581476 and RE 1 is Present.
* PR1581476 is not fixed in 21.1R1.11-EVO.
[20.4R2.14-EVO]
RE 1 is node power-off , then CB 1 is Offline Standby and RE 1 is Present.
* PR1581476 is fixed in 20.4R2.14-EVO.