[rancid] Cisco 3524 PWRXL - Login without username
Gerhard Mourani
GMourani at prival.ca
Fri Jan 4 21:02:06 UTC 2013
Big thanks, it works now!
-----Original Message-----
From: heasley [mailto:heas at shrubbery.net]
Sent: January-04-13 3:41 PM
To: Gerhard Mourani
Cc: rancid-discuss at shrubbery.net
Subject: Re: [rancid] Cisco 3524 PWRXL - Login without username
Fri, Jan 04, 2013 at 08:37:39PM +0000, Gerhard Mourani:
> Hello List,
>
> I'm having problem with Rancid 2.3.8 on Linux and old Cisco IOS 12.0 3524 PWRXL on which no username is defined. Therefore for login into the switch I just telnet the IP and enter the password. For this, here my configuration inside .cloginrc file:
>
> add password 1.2.3.4 passwd enablepasswd
> add method 1.2.3.4 telnet
>
>
> bash-4.2$ clogin -f /usr/share/rancid/.cloginrc 1.2.3.4
> 1.2.3.4
> spawn telnet 1.2.3.4
> Trying 1.2.3.4...
> Connected to 1.2.3.4.
> Escape character is '^]'.
> ******************************************************************
> ******************************************************************
> Private Equipement
> Acces denied without permission
^^^^^^ get rid of that or change it to 'not permitted' or similar.
> ******************************************************************
> ******************************************************************
>
> User Access Verification
>
> Password:
> Error: Check your passwd for 1.2.3.4
>
> The above fail because Rancid expect a username before continuing. How to make my configuration work without having to define a username (add user .....)?
>
> Gerhard,
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list