[rancid] Re: accessing routers from another router

Aditya Anand aanand at uebiz.net
Fri Mar 2 16:05:28 UTC 2007


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070302/a3ee20bd/attachment.html 


More information about the Rancid-discuss mailing list