[rancid] Cisco ASA 5505 configs

Chris Moody chris at node-nine.com
Fri Jul 12 17:54:43 UTC 2013


Gene,

perhaps I'm reading too much into your post as most people obfuscate 
their actual passwords when posting to a mailing-list, but I have to ask.

Your enable password, does it actually have an '@' in it?  Reason I ask 
is that "special characters" such as this need escaped when software 
reads these kinds of values.

Please set your enable pass to something without an '@' or other 
punctuation in it and see if you're able to get RANCID working. Once you 
can confirm RANCID is operating ok, then we can go about setting your 
credentials to more complex values and escaping any strange characters 
appropriately.

Cheers,
-Chris

On 7/12/13 12:15 AM, Gene Lim wrote:
>
> Hi All
>
> Would appreciate some advice on how I can trouble shoot this issue 
> regarding enable for a Cisco ASA 5505 device. Logs and configuration 
> provided below. Please advice.
>
> ==Version 1 without enable password==
>
> /router.db
>
> 192.168.1.84:cisco:up
>
> /.cloginrc
>
> add method 192.168.1.84 ssh
>
> add user 192.168.1.84 admin
>
> add userpassword 192.168.1.84 {adminpwd}
>
> $ bin/clogin 192.168.1.84
>
> 192.168.1.84
>
> spawn ssh -c 3des -x -l admin 192.168.1.84
>
> admin at 192.168.1.84's <mailto:admin at 192.168.1.84%27s> password:
>
> Type help or '?' for a list of available commands.
>
> CISCOASA5505> enable
>
> Password: ********
>
> Invalid password
>
> Password: ********
>
> Invalid password
>
> Password: ********
>
> Invalid password
>
> Access denied.
>
> Error: Check your Enable passwd
>
> CISCOASA5505>
>
> CISCOASA5505> exit
>
> Logoff
>
> /logs
>
> Trying to get all of the configs.
>
> 192.168.1.84 clogin error: Error: Check your Enable passwd
>
> 192.168.1.84: missed cmd(s): dir /all slavedisk2:,show rsp 
> chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all 
> disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir 
> /all disk2:,show running-config view full,dir /all sec-bootflash:,show 
> spe version,dir /all slaveslot2:,dir /all disk0:,show install 
> active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all 
> harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir 
> /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show 
> variables boot,show boot,show inventory raw,dir /all slavedisk1:,show 
> env all,show module,show shun,show controllers,show diagbus,more 
> system:running-config,dir /all slavedisk0:,show debug,show idprom 
> backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all 
> sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all 
> sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir 
> /all sup-microcode:,show vlan,dir /all slavebootflash:,show 
> controllers cbus,dir /all slaveslot1:,dir /all nvram:,show 
> version,show vlan-switch,show redundancy secondary,show 
> running-config,show c7200,dir /all slot1:
>
> 192.168.1.84: End of run not found
>
> !
>
> ==Version 2 with enable password==
>
> /router.db
>
> 192.168.1.84:cisco:up
>
> /.cloginrc
>
> add method 192.168.1.84 ssh
>
> add user 192.168.1.84 admin
>
> add password 192.168.1.84 {adminpwd} {enable at pwd}
>
> $ bin/clogin 192.168.1.84
>
> 192.168.1.84
>
> spawn ssh -c 3des -x -l admin 192.168.1.84
>
> admin at 192.168.1.84 <mailto:admin at 192.168.1.84> 's password:
>
> Permission denied, please try again.
>
> admin at 192.168.1.84 <mailto:admin at 192.168.1.84> 's password:
>
> Error: Check your passwd for 192.168.1.84
>
> /logs
>
> 192.168.1.84 clogin error: Error: Check your passwd for 192.168.1.84
>
> 192.168.1.84: missed cmd(s): dir /all slavedisk2:,show rsp 
> chassis-info,show capture,dir /all sec-slot2:,show diag,dir /all 
> disk1:,show gsr chassis,dir /all sec-nvram:,show diag chassis-info,dir 
> /all disk2:,show running-config view full,dir /all sec-bootflash:,show 
> spe version,dir /all slaveslot2:,dir /all disk0:,show install 
> active,show bootvar,dir /all slaveslot0:,dir /all sec-slot1:,dir /all 
> harddiska:,dir /all slavenvram:,show flash,dir /all sec-disk2:,dir 
> /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show 
> variables boot,show boot,show inventory raw,dir /all slavedisk1:,show 
> env all,show module,show shun,show controllers,show diagbus,more 
> system:running-config,dir /all slavedisk0:,show debug,show idprom 
> backplane,dir /all bootflash:,dir /all sup-bootdisk:,dir /all 
> sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all 
> sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir 
> /all sup-microcode:,show vlan,dir /all slavebootflash:,show 
> controllers cbus,dir /all slaveslot1:,dir /all nvram:,show 
> version,show vlan-switch,show redundancy secondary,show 
> running-config,show c7200,dir /all slot1:
>
> 192.168.1.84: End of run not found
>
> !
>
> Thank You
>
> Warmest Regards,
>
> Gene Lim
>
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

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


More information about the Rancid-discuss mailing list