[c-nsp] modify cisco router config with scripting?
Lee
ler762 at gmail.com
Wed Jun 15 07:25:35 EDT 2011
On 6/15/11, d tbsky <tbskyd at gmail.com> wrote:
> hi:
> I want to write a script to modify the acl entry for cisco 3725 and
> cisco 3750G.
> I find now cisco can use ssh pub key authentication to execute
> command. but it needs IOS version 15 which my platforms don't support.
> I can also use perl cisco module to emulate the cli interaction, but I
> think the method seems not very safe.
>
> are there other ways to do this kind of work? can I use snmpset to
> modify acl
yes - but it'd be using snmpset to copy a file to the running config
RANCID is really nice: clogin -x file router
If scp is supported on the box it seems like that should work; I can't
remember if I've actually tried that or not tho..
Regards,
Lee
More information about the cisco-nsp
mailing list