[j-nsp] How to extract all routes?

John Kristoff jtk at northwestern.edu
Thu Mar 4 08:35:53 EST 2004


On Thu, 4 Mar 2004 08:24:02 -0500
Dave Curado <davec at weezel.net> wrote:

> I think to do it using tftp would require (as Pekka suggested)
> starting a shell, and doing a multi-step. 

A twist to what others have already suggested is to pull the data
rather than push it.  You could setup an account on the juniper using
a SSH public key that does not require a password (protect the key!)
and run commands from a remote cron job.  You could then do something
like this from script on a management station:

  ssh user at juniper.example.com "show route | save ..."
  scp user at juniper.example.com:[filename] .

John


More information about the juniper-nsp mailing list