Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Juniper documentation says that running the op url <http location of slax script> command on the Junos device makes the Junos device run an op script located on a remote server.
1: What sort of message is sent from the Junos device to the remote host in order to run that script.
2: What is SLAX syntax to communicate with the Junos device?
3: Does the SLAX script use REST or NETCONF to communicate with the Junos device?
Juniper Business Use Only
My understanding of the op url <url> command is that it's pulling the script to be run locally on the device, not executing the script on the remote server. It accesses the remote server via https, and pulls the script to be run.
If that answers question 1 from yourself, then it negates the other 2 questions, as the SLAX script runs locally on the device communicating with XML API in JUNOS.
If your question was to run a script on a remote server, there are ways to do this, such as Python; importing paramiko and getting the .py script to ssh into the remote server, specifying the commands to be run in its CLI (including any scripts on that server).
Hopefully this helps. Dan.