I can't speak for Juniper's recommendation in this regard as there documentation does not talk about shutting down the FPCs first. I personally would recommend it, only to save you the time of waiting for the I2C timeout as mentioned earlier.
Juniper has the following article pertaining to the discussions in this thread. The both-routing-engine option is mentioned for MX-Series, but this may be impacted by the version of code you are currently running. I have also included an additional MX960 shutdown procedure for your review (NOTE: the commands are different again) :)
https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/command/request-system-power-off.html
https://www.juniper.net/documentation/us/en/hardware/mx960/topics/task/power-supply-mx960-powering-off.html
Original Message:
Sent: 04-18-2024 15:23
From: aaron.gould
Subject: Question on 'request system power-off'
Thanks Gavin, I also have never read that in any docs. All I'm aware of is the vmhost power-off commands to gracefully bring down an MX. Are you aware otherwise? I mean do you have an understanding that the Juniper-recommended procedure for correctly shutting down a MX960 (240/480) modular system with FPC's is something like this.... fpc's first, then re's... ?
1 - request chassis fpc offline slot 0
2 - request chassis fpc offline slot 1
3 - request chassis fpc offline slot 2
4 - request vmhost power-off other-routing-engine --- executed on master re
5 - request vmhost power-off --- executed on master re
btw, i don't see a power-off both routing engines option.... but i do see a reboot both re's option...
request vmhost reboot routing-engine both
agould@lab-960> request vmhost power-off ?
Possible completions:
<[Enter]> Execute this command
other-routing-engine Power off other Routing Engine
| Pipe through a command
{master}
agould@lab-960>
------------------------------
- Aaron
Original Message:
Sent: 04-18-2024 14:57
From: GAVIN WHITE
Subject: Question on 'request system power-off'
Hi Aaron,
Great Question... The impact/risk of not waiting is not mentioned in the Juniper documentation. Nor is there any option to shut down the FPCs, from the power-off command. You would have to execute the request chassis fpc offline
command first. The FPCs shut down because they no longer have communication with the Routing Engines and an Inter-Integrated Circuit (l2C) timeout occurred.
This command and procedure is valid for all PTX and MX routers.
------------------------------
GAVIN WHITE
Original Message:
Sent: 04-18-2024 11:57
From: aaron.gould
Subject: Question on 'request system power-off'
Interesting Gavin, about your mention of the 10 minute wait period for FPC shutdown… is this statement true of MX960? I'm asking because I usually shutdown the BURE and then the master RE… then a few seconds later power off the power supplies by flipping the toggle switches off. Is it better to wait this 10 minutes to watch all the FPC's (linecards) poweroff? …or does it really matter?
"When you request to power off both Routing Engines, all the FPCs in the chassis shut down after approximately 10 minutes and the chassis fans run at full speed. You will need to wait for this to ensure a graceful shutdown."
------------------------------
- Aaron
Original Message:
Sent: 04-17-2024 23:01
From: GAVIN WHITE
Subject: Question on 'request system power-off'
Hi Aqeel,
For VM Hosted devices, the request system power-off
command is replaced with the request vmhost power-off
command which provides similar functionality.
Juniper states: "For the devices with Routing Engines RE-S-2x00x6, RE-PTX-2x00x8, and RE-S-2x00x8, this command is deprecated and might be removed completely in a future release."
Note though, running this command will only shut down the RE you are connected to and the device will hand over the control function to the other RE. You must include the both-routing-engines
option using either of the commands above.
When you request to power off both Routing Engines, all the FPCs in the chassis shut down after approximately 10 minutes and the chassis fans run at full speed. You will need to wait for this to ensure a graceful shutdown.
Powering the router back on, should only require restoring the power input.
------------------------------
GAVIN WHITE
Original Message:
Sent: 04-17-2024 17:35
From: MUHAMMAD AQEEL AHMAD
Subject: Question on 'request system power-off'
Hello,
Relating to same topic, we need to relocate a MX10003 router from one DC to another DC, and are required to power-off the router gracefully to be shifted. I checked Juniper documentation and little confused, should I use 'request system power-off' or 'request vmhost power-off'?
To to power back the router ON, would simply need to connect to the power input and turn on the CB or need to run the 'request vmhost power-on' command?
Regards,
Aqeel
------------------------------
MUHAMMAD AQEEL AHMAD
Original Message:
Sent: 01-23-2024 16:38
From: djadhav
Subject: Question on 'request system power-off'
Hi,
After executing the 'request system power-off' command, do I still have console access? If not, how do I power the device back on, considering the physical power switch would still be set to 'ON'?
Thanks,
Deepak