Hi Joe,
the scripts can be used for almost all Juniper Devices because all Devices share the same JunOS :)
What you want to look at is either scripting with Ansible or (if you don't want to use the Ansible Framework) paramiko / pyEZ.
There are a lot of Examples throughout the forum, solving these tasks starting from very simple things (like getting the Host-OS-Version) up to mass-editing VLANs and such.
Are you looking for Python? Pure bash? Everything is possible :)
BR
Christian
------------------------------
Christian Scholz
Juniper Networks Ambassador | JNCIE-SEC #374
Mail:
chs@ip4.deBlog: jncie.eu | Twitter: @chsjuniper | YT-Channel: netchron
------------------------------
Original Message:
Sent: 02-25-2021 12:08
From: Unknown User
Subject: Pulling info from an SRX
Hello, I'm not sure if I'm in the correct thread for this, but we'll see. I want to script something from a Linux server to pull some info from our SRX. I see lots of scripting and automation information for on the SRX, but I haven't found anything about pulling things from it.
A simple example would be to get the router's latest ARP data. I just want to pull something basic like that out and into another format.
Any suggestions?
Thanks,
Joe