[rancid] clogin with command file - special signs

alligator94 alligator94 at laposte.net
Wed Oct 31 15:20:57 UTC 2012


Dear all,

 

I would like to use the command "clogin -x file.txt  device-name" to add a
snmp configuration in a lot of cisco devices. The community string includes
the characters   !@$ and the clogin command is rejected.

I also have tried to use the -c option and to quote the commands, but I get
the same error message

 

ex : 

clogin -x "conf t ; snmp-server community rrr!@$ooo RW my_acl; end; wr; q"
device_name

 

I get the message :

 

-su !@$ooo event not found 

 

 

Is there a workaround ?

 

Thanks

Gilles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20121031/a3bb27ae/attachment.html>


More information about the Rancid-discuss mailing list