alligator94
2012-10-31 15:20:57 UTC
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
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