O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

Steps 1 and 2 simply create an appropriate directory location on the UNIX-based NMS host. You can do this in any way suitable for your environment, but just take care that access to the NMS host that you are providing for use by the JUNOS devices cannot be abused by unauthorized users who can somehow get their details on the shared credentials.

In step 3, we tell the JUNOS router the details about the upload site. The specific details of the upload destination are captured separately like this so that they can be referenced by many different triggered event policies. The format of the destination string is quite specific. It is as follows:

protocol://username@hostname[:port]//remote-path

protocol can be either SCP or FTP, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required