[c-nsp] N7K NX-OS SCP config

Phil Mayers p.mayers at imperial.ac.uk
Tue Oct 9 10:46:27 EDT 2012


On 09/10/12 14:55, Tim Durack wrote:
> I can ssh an N7K and copy the running/startup-config to an scp server.
> Can I scp an N7K and copy the running/startup-config directly, like
> you can a C6K?
>
> scp user at c6k:running-config . (this works)
> scp user at n7k:running-config . (this does not appear to work, as there
> is no running-config in the filesystem.)
>
> Any ideas?
>

Can't be done, AFAIK. As you say, the "running-config" doesn't exists.

FWIW, we generated an SSH key, and do this:

ssh -i the_key user at n7k 'sh run' > n7k.cfg

...which seems to work.


More information about the cisco-nsp mailing list