[Fixed in 2.6.0] Mass Config Push for JunOS

Unimus support forum
Post Reply
dbolton
Posts: 12
Joined: Mon Jan 18, 2021 2:41 pm

Tue Apr 16, 2024 6:50 pm

I'm trying to build a mass configuration push that I will use to shut down 40+ Juniper switches. It's really straight forward and I've tried using a combination of macros per the Mass Config Push documentation. For whatever reason, it simply doesn't parse a "yes" response followed by "enter" to actually run the command, it returns interaction error. Here is the output from the debug log file:

@jun-switch> request system power-off
TIMESTAMP: 2024-04-16 09:53:29.221
warning: This command will halt all the members.
If planning to halt only one member use the member option
Power Off the system ? [yes,no] (no)

Does anyone know the proper syntax to send the JunOS a "yes" response followed by "enter" ?
User avatar
Tomas
Posts: 1298
Joined: Sat Jun 25, 2016 12:33 pm

Wed Dec 18, 2024 9:29 pm

dbolton wrote:
Tue Apr 16, 2024 6:50 pm
I'm trying to build a mass configuration push that I will use to shut down 40+ Juniper switches.
Hi, just an update that 2.6.0 was just released, and we added native support for the "Power Off the system ? [yes,no] (no)" prompt. So you can just put in the "yes" reply into Config Push, and Unimus will detect the prompt and send the reply as expected. More info: viewtopic.php?f=3&t=1950
Post Reply