Labs

 View Only
last person joined: 10 days ago 

Discover how to get the most of Juniper labs and share what you've built.
  • 1.  vJunos Switch 'request system power-off'

    Posted 04-04-2024 19:43

    Hello all, 

    I am using the vJunos switch in GNS3 for some labbing. I ran into an issue where my switch wouldn't boot up after my laptop had been rebooted. I think the issue was that I was not running the command 'request system power-off' before shutting down the switch and GNS3. 

    I tested again and ran the command 'request system power-off' and the console spits out some messages, one of them being "System going down IMMEDIATELY".  It then looks like it kills a bunch of processes, and then it seems like it tries to reach 128.0.0.1 for some reason. 

    I also looked at the config and I don't see 128.0.0.1 anywhere in the config, so I'm wondering what the switch is doing. I don't know if the switch is actually shutting down or not because if I leave the console open, it continuously looks like it is trying to reach 128.0.0.1. The console is also unresponsive at this time. Any insight on this would be great. Thank you. 



    ------------------------------
    James Joseph
    ------------------------------


  • 2.  RE: vJunos Switch 'request system power-off'

    Posted 7 days ago

    The architecture of vJunos-switch (and -router) is that the Junos control plane runs as a nested VM inside the Linux VM where the data plane is running. What is happening when doing the power off/reboot, etc inside the Junos CLI is that is only affecting the Junos side, and is not triggering the Linux side to likewise power off. I'll file an enhancement PR internally to get that behavior cleaned up.

    Art



    ------------------------------
    Art Stine
    ------------------------------