Hi,<br><br>Daniel+DenyIPAnyAny: Thanks for your quick reply :) !<br><br>1. I'm running rancid 2.3.6... don't have any wlogin anywhere... can't see any in 2.3.8 either - how do I get wlogin ?<br>I'm
doing this because I have some equipment that rancid doesn't support,
that I also need backed-up (and don't know expect that well). So just
created a little wrapper around Rancid to perfect things for me.<br>
<br>2. How do you backup your ASA's ?<br>nothing is wrong with my .clogin:<br>---<br>add method * ssh<br>#add method * telnet<br>add user * USR<br>add password * {PWD} {enable_PWD}<br>add autoenable * {1}<br>---<br>works
fine, logging in and trying to run command(s) and exits - but doesn't
enter enable mode and therefore can't run commands like "more
system:running-config" that is working fine manually logging in to
enable mode:<br>
-bash-3.2$ /usr/libexec/rancid/clogin -f ~/.cloginrc_cisco -c "more system:running-config" HOST<br>HOST<br>spawn ssh -c 3des -x -l admin HOST<br>USR@HOST's password:<br>Type help or '?' for a list of available commands.<br>
HOST><br>HOST> terminal length 0<br> ^<br>ERROR: % Invalid input detected at '^' marker.<br>HOST> more system:running-config<br> ^<br>ERROR: % Invalid input detected at '^' marker.<br>
HOST>exit<br><br>Logoff<br><br>Connection to HOST closed.<br><br><br>Thanks in advance :-) !<br><br>~maymann<br><br><div class="gmail_quote">2012/3/9 Deny IP Any Any <span dir="ltr"><<a href="mailto:denyipanyany@gmail.com">denyipanyany@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I backup several Cisco ASAs without issue; with your symptoms, usually<br>
the problem is with your .clogin file (specifically either the<br>
autologin option)<br>
<br>
2012/3/8 Michael Maymann <<a href="mailto:michael@maymann.org">michael@maymann.org</a>>:<br>
<div><div class="h5">> Hi List,<br>
><br>
> I am trying to configure scheduled backups of my Cisco ASAs and WLCs.<br>
> I am currently trying to use clogin. Login is successful, but it never<br>
> enters enable/configure mode - and therefore is not able to run the desired<br>
> commands/retrieve all the necessary information (it tries to though !).<br>
> Can't paste my .clogin, as I'm at home currently. But everything<br>
> (password/enable_password) is ok there ! (I am running this already on my HP<br>
> Switches)<br>
><br>
> just after login and before it should enter enable/configure mode, it tries<br>
> to execute the command (from within clogin - not something I told it to...):<br>
> "terminal length 0"<br>
> but the right command for this on a ASA/WLC's is:<br>
> "no pager" or "terminal pager 0"<br>
><br>
> 1. Is there a better Xlogin that I should use ?<br>
> 2. If clogin is the best script, where in the clogin can I fix this ?<br>
> 3. Furthermore clogin doesn't logout of my WLC's when it finishes - I guess<br>
> I could just add a "; exit" or "; logout" at the end of my command, but<br>
> where can I fix this as-well ?<br>
><br>
><br>
> Thanks in advance :) !<br>
> ~maymann<br>
><br>
</div></div>> _______________________________________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
deny ip any any (4393649193 matches)<br>
</font></span></blockquote></div><br>