[rancid] Re: RANCID Debug Mode
Mike Ashcraft
mashcraft at omniture.com
Tue Nov 11 17:33:02 UTC 2008
Sean,
You need to run this in the same environment that rancid runs in.
Ideally as the same user.
Mike
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Sean Murphy
Sent: Tuesday, November 11, 2008 9:58 AM
To: Lance Vermilion
Cc: rancid-discuss at shrubbery.net
Subject: [rancid] Re: RANCID Debug Mode
OK I ran the command and received the following output. I thought I
could see it in real time like clogin unless this is an error. I
noticed that it said clogin not found but I can run that by itself and
its fine.
raphael# ./rancid -d 10.0.0.1
executing clogin -t 90 -c"admin show version;show version;show
redundancy secondary;show idprom backplane;show install active;admin
show env all;show env all;show rsp chassis-info;show gsr chassis;show
diag chassis-info;show boot;show bootvar;admin show variables boot;show
variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all
slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all
slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all
harddiskb:;dir /all sup-bootflash:;dir /all sup-microcode:;dir /all
slavenvram:;dir /all slavebootflash:;dir /all slaveslot0:;dir /all
slavedisk0:;dir /all slaveslot1:;dir /all slavedisk1:;dir /all
slaveslot2:;dir /all slavedisk2:;dir /all slavesup-bootflash:;dir /all
sec-nvram:;dir /all sec-bootflash:;dir /all sec-slot0:;dir /all
sec-disk0:;dir /all sec-slot1:;dir /all sec-disk1:;dir /all
sec-slot2:;dir /all sec-disk2:;show controllers;show controllers
cbus;show diagbus;admin show diag;show diag;show module;show spe
version;show c7200;show inventory raw;show vtp status;show vlan;show
vlan-switch;show debug;show running-config;write term" 10.0.0.1
clogin: not found
10.0.0.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 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
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 redundancy secondary,show
running-config,show c7200,dir /all slot1:
10.0.0.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 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
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 redundancy secondary,show
running-config,show c7200,dir /all slot1:
10.0.0.1: End of run not found
10.0.0.1: End of run not found
!
raphael#
Lance Vermilion wrote:
Sean,
clogin is purely the login script. You must run "rancid -d <host>" to
see what you are looking for.
-Lance
On Mon, Nov 10, 2008 at 6:11 PM, Sean Murphy <smurphy at calarts.edu>
<mailto:smurphy at calarts.edu> wrote:
I am trying to see the entire RANCID process from beginning to
end first
with clogin and having it login run the config portion and
finally logout.
I have tried /usr/local/libexec/rancid/clogin 10.0.0.1
This just shows the login portion. Is there a way to see
everything?
Thanks.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
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/20081111/a28f85c5/attachment.html
More information about the Rancid-discuss
mailing list