I'm running a lot of Junipers; shutting them all down takes quite a while authenticating to each one and issuing commands , and also, I'm constantly adding and removing devices from my lab.
The Junipers seem to be easily corrupted if not shut down properly. 
Is there a way I can see all the port numbers allocated to my VMs from the CLI or a  Script? I know hovering over one on GUIs will do this, but I'm looking for something I can incorporate into a script. 
I'm referring to the Telnet ports to get on the CLI. 
Regards
Simon
			
									
									
						obtain the telnet port numbers in a script
Moderator: mike
- 
				kiteboy
 - Posts: 62
 - Joined: Wed Feb 12, 2020 7:43 am
 - Location: UK
 - Contact: