[rancid] Re: accessing routers from another router
Aditya Anand
aanand at uebiz.net
Mon Mar 5 20:15:32 UTC 2007
Well thanks, and sorry for trouble...I gottit. It was the encryption type. Netscreen was expecting 3des and I had configured the othe.
Thanks all,
Adi
________________________________
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Aditya Anand
Sent: Monday, March 05, 2007 3:10 PM
To: Mike Ashcraft
Cc: rancid-discuss at shrubbery.net
Subject: [rancid] Re: accessing routers from another router
Mike,
One more thing, I can get the cisco configs however still having issues with the netscreen devices.
It says to check password in the log files, whereas I can login to those devices using the same username and password as its in rancid.
Thanks,
Adi
________________________________
From: Mike Ashcraft [mailto:mashcraft at omniture.com]
Sent: Friday, March 02, 2007 12:06 PM
To: Aditya Anand
Cc: rancid-discuss at shrubbery.net
Subject: RE: [rancid] Re: accessing routers from another router
You need to set autoenable to 1 in /usr/local/rancid/.cloginrc.
For example:
add autoenable 10.* 1
What you are seeing is that clogin is waiting for a user level prompt in order to request enable mode until it times out.
Mike
________________________________
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Aditya Anand
Sent: Friday, March 02, 2007 9:54 AM
To: groberts at hcis.net
Cc: rancid-discuss at shrubbery.net
Subject: [rancid] Re: accessing routers from another router
See the output of login to a device from the rancid box...
[rancid at netscreen1 ~]$ /usr/local/rancid/bin/clogin -f /usr/local/rancid/.cloginrc -u rancid 10.100.3.3
10.100.3.3
spawn telnet 10.100.3.3
Trying 10.100.3.3...
Connected to 10.100.3.3 (10.100.3.3).
Escape character is '^]'.
User Access Verification
Username: rancid
Password:
SACNCD02#
sh run
Error: TIMEOUT reached
[rancid at netscreen1 ~]$
[rancid at netscreen1 ~]$
[rancid at netscreen1 ~]$
[rancid at netscreen1 ~]$
[rancid at netscreen1 ~]$ sh run
sh: run: No such file or directory
Does not any further.....DOES NOT RUN ANYTHING.........Please advise......
-----Original Message-----
From: Gary Roberts [mailto:groberts at hcis.net]
Sent: Friday, March 02, 2007 11:15 AM
To: Aditya Anand
Subject: Re: [rancid] Re: accessing routers from another router
Trying to get all of the configs.
10.10.100.1 clogin error: Error: Check your passwd for 10.10.100.1
It appears, judging by the second line in the log, that you have an
incorrect password in your /rancid/.cloginrc file
Aditya Anand wrote:
>
> Hi All,
>
> I am having problems setting up rancid. I am doing it for the first
> time , so not much experience with it. Please help. I can login to the
> device from rancid, however cannot pull the configs. It gives error if
> I see the logs......
>
> *PLEASE HELP IF SOMEBODY CAN..................*
>
> Trying to get all of the configs.
>
> 10.10.100.1 clogin error: Error: Check your passwd for 10.10.100.1
>
> 10.10.100.1: missed cmd(s): admin show diag,dir /all slavedisk2:,show
> rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show
> gsr chassis,dir /all sec-nvram:,show di
>
> ag chassis-info,dir /all disk2:,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,admin show env all,show controllers,admin show version,show
> diagbus,dir /all slavedisk0:,show debug,show idprom
>
> backplane,dir /all bootflash:,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,admin show variables boot,show re
>
> dundancy secondary,show running-config,show c7200,dir /all slot1:
>
> 10.10.100.1: End of run not found
>
> !
>
> 10.10.1.11 clogin error: Error: Check your passwd for 10.10.1.11
>
> 10.10.1.11: missed cmd(s): admin show diag,dir /all slavedisk2:,show
> rsp chassis-info,dir /all sec-slot2:,show diag,dir /all disk1:,show
> gsr chassis,dir /all sec-nvram:,show dia
>
> g chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe
> version,dir /all slaveslot2:,dir /all disk0:,show install active,show
> bootvar,dir /all slaveslot0:,dir /all sec-s
>
> lot1:,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,admin
> show env all,show controllers,admin show version,show diagbus,dir /all
> slavedisk0:,show debug,show idprom
>
> backplane,dir /all bootflash:,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,admin show variables boot,show red
>
> undancy secondary,show running-config,show c7200,dir /all slot1:
>
> 10.10.1.11: End of run not found
>
> !
>
> 10.10.64.175 nlogin error: Error: Check your passwd for 10.10.64.175
>
> 10.10.64.175: missed cmd(s): get system,get conf
>
> 10.10.64.175: End of run not found
>
> #
>
> 10.10.1.152 nlogin error: Error: TIMEOUT reached
>
> 10.10.1.152: missed cmd(s): get system,get conf
>
> 10.10.1.152: End of run not found
>
> 10.10.64.146 nlogin error: Error: TIMEOUT reached
>
> 10.10.64.146: missed cmd(s): get system,get conf
>
> 10.10.64.146: End of run not found
>
> #
>
> #
>
> 10.10.1.183 nlogin error: Error: TIMEOUT reached
>
> 10.10.1.183: missed cmd(s): get system,get conf
>
> 10.10.1.183: End of run not found
>
> #
>
> 10.100.16.140 clogin error: Error: Couldn't login: 10.100.16.140
>
> 10.100.16.140: missed cmd(s): admin show diag,dir /all
> slavedisk2:,show rsp chassis-info,dir /all sec-slot2:,show diag,dir
> /all disk1:,show gsr chassis,dir /all sec-nvram:,show
>
> diag chassis-info,dir /all disk2:,dir /all sec-bootflash:,show spe
> version,dir /all slaveslot2:,dir /all disk0:,show install active,show
> bootvar,dir /all slaveslot0:,dir /all se
>
> c-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 bo
>
> ot,show inventory raw,dir /all slavedisk1:,show env all,show
> module,admin show env all,show controllers,admin show version,show
> diagbus,dir /all slavedisk0:,show debug,show idpr
>
> om backplane,dir /all bootflash:,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:,di
>
> r /all sup-microcode:,show vlan,dir /all slavebootflash:,show
> controllers cbus,dir /all slaveslot1:,dir /all nvram:,show
> version,show vlan-switch,admin show variables boot,show
>
> redundancy secondary,show running-config,show c7200,dir /all slot1:
>
> ------------------------------------------------------------------------
>
> *From:* rancid-discuss-bounces at shrubbery.net
> [mailto:rancid-discuss-bounces at shrubbery.net] *On Behalf Of *Boštjan Fele
> *Sent:* Tuesday, February 27, 2007 11:21 PM
> *To:* rancid-discuss at shrubbery.net
> *Subject:* [rancid] accessing routers from another router
>
> Hi everyone,
>
> I need to collect the config from routers that are not directly
> reachable by the host that rancid runs on. I can ssh to the first
> router, then telnet to the ones that I need the config from.
>
> Was searching mailing list and found two threads but none of them
> works for me.
>
> http://www.shrubbery.net/pipermail/rancid-discuss/2004-November/000905.html
>
> http://www.shrubbery.net/pipermail/rancid-discuss/2006-May/001490.html
>
> Does anybody have implemented hop-by-hop accessing to the routers?
>
> Bostjan
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20070305/b0ac7a9f/attachment.html
More information about the Rancid-discuss
mailing list