[rancid] Issues with Cisco XR

Gareth Hopkins gabbawp at gmail.com
Tue Apr 15 08:37:32 UTC 2008


Hi,

I have a number of IOS and XR boxes that I am trying to poll. The IOS boxes
work like a dream, but the XR boxes (12404 and 12406's) all hang during the
poll.

I am running FreeBSD 6.3 and have upgraded the expect port to expect-devel
as per a number of postings on this mailing list. Rancid version is 2.3.2a7.

Here is what happens when I run rancid in debug mode. It hangs in the same
place on each XR device.

<snip>

[rancid at testbox ~]$ rancid -d testrouter
executing clogin -t 30 -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"
testrouter
PROMPT MATCH: RP/0/0/CPU0:testrouter#
HIT COMMAND:RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show version
    In ShowVersion: RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show version
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show version
    In ShowVersion: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
version
TYPE = 12404/PRP
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
redundancyRP/0/0/CPU0:testrouter#show redundancy secondary
    In ShowRedundancy:
RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
redundancyRP/0/0/CPU0:testrouter#show redundancy secondary
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
idpromRP/0/0/CPU0:testrouter#show idprom backplane
    In ShowIDprom: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
idpromRP/0/0/CPU0:testrouter#show idprom backplane
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
installRP/0/0/CPU0:testrouter#show install active
    In ShowInstallActive:
RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
installRP/0/0/CPU0:testrouter#show install active
HIT COMMAND:RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show envRP/0/0/CPU0:testrouter#admin show
env all
    In ShowEnv: RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show envRP/0/0/CPU0:testrouter#admin show
env all
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
rspRP/0/0/CPU0:testrouter#show rsp chassis-info
    In ShowRSP: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
rspRP/0/0/CPU0:testrouter#show rsp chassis-info
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
gsrRP/0/0/CPU0:testrouter#show gsr chassis
    In ShowGSR: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
gsrRP/0/0/CPU0:testrouter#show gsr chassis
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
diagRP/0/0/CPU0:testrouter#show diag chassis-info
    In ShowGSR: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
diagRP/0/0/CPU0:testrouter#show diag chassis-info
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show boot
    In ShowBoot: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show boot
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show bootvar
    In ShowBoot: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
bootvar
HIT COMMAND:RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show variablesRP/0/0/CPU0:testrouter#admin
show variables boot
    In ShowBoot: RP/0/0/CPU0:testrouter#adminRP/0/0/CPU0:testrouter#admin
showRP/0/0/CPU0:testrouter#admin show variablesRP/0/0/CPU0:testrouter#admin
show variables boot
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
variablesRP/0/0/CPU0:testrouter#show variables boot
    In ShowBoot: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
variablesRP/0/0/CPU0:testrouter#show variables boot
HIT COMMAND:RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show flash
    In ShowFlash: RP/0/0/CPU0:testrouter#showRP/0/0/CPU0:testrouter#show
flash
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all nvram:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all nvram:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all bootflash:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all bootflash:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot0:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot0:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk0:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk0:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot1:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot1:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk1:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk1:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot2:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all slot2:
HIT COMMAND:RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk2:
    In DirSlotN: RP/0/0/CPU0:testrouter#dirRP/0/0/CPU0:testrouter#dir
/allRP/0/0/CPU0:testrouter#dir /all disk2:
testrouter clogin error: Error: TIMEOUT reached
testrouter clogin error: Error: TIMEOUT reached
testrouter: missed cmd(s): admin show diag,dir /all slavedisk2:,dir /all
sec-slot2:,show diag,dir /all sec-nvram:,dir /all sec-bootflash:,show spe
version,dir /all slaveslot2:,dir /all slaveslot0:,dir /all sec-slot1:,dir
/all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show inventory
raw,dir /all slavedisk1:,show env all,show module,show controllers,show
diagbus,dir /all slavedisk0:,show debug,dir /all sec-slot0:,dir /all
sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all
harddisk:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,show vlan-switch,show
running-config,show c7200
testrouter: missed cmd(s): admin show diag,dir /all slavedisk2:,dir /all
sec-slot2:,show diag,dir /all sec-nvram:,dir /all sec-bootflash:,show spe
version,dir /all slaveslot2:,dir /all slaveslot0:,dir /all sec-slot1:,dir
/all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all
slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show inventory
raw,dir /all slavedisk1:,show env all,show module,show controllers,show
diagbus,dir /all slavedisk0:,show debug,dir /all sec-slot0:,dir /all
sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all
harddisk:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show
controllers cbus,dir /all slaveslot1:,show vlan-switch,show
running-config,show c7200
testrouter: End of run not found
testrouter: End of run not found
!
 </snip>

Any ideas?

Thanks

Gabba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080415/58f80464/attachment.html 


More information about the Rancid-discuss mailing list