[rancid] Problem gathering data from an updated ERX junose

Sven Juergensen (KielNET) s.juergensen at kielnet.de
Tue Oct 2 08:05:42 UTC 2007


hi list,

i'm experiencing issues with collecting
data from a juniper erx. the device was
updated from 5.x to 8.x the day before.

logs result the following:

---8<---
Trying to get all of the configs.
<router>: missed cmd(s): show configuration,show hardware,dir
<router>: End of run not found
! srp redundancy: mode is high-availability, state active
=====================================
--->8---

this happens four times and then it
gives up.

according to the troubleshooting-help in
your faq under 3) General, first question,
i can successfully complete the steps of

1) ./clogin <router>
2) ./clogin -c 'show configuration' <router>

3) however does the following:

---8<---
./rancid <router>
sh: clogin: command not found
<router>: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir
/all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all
sec-nvram:,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,dir /all slavedisk1:,show env all,show
module,show controllers,show diagbus,dir /all slavedisk0:,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 redundancy secondary,show
running-config,show c7200,dir /all slot1:
<router>: End of run not found
!
--->8---

lacking a router.new file, adding a
'-d' results in:

---8<---
./rancid -d <router>
executing clogin -t 90 -c"show version;show redundancy secondary;show
idprom backplane;show install active;show env all;show rsp
chassis-info;show gsr chassis;show boot;show bootvar;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;show
diag;show module;show spe version;show c7200;show vtp status;show
vlan;show running-config;write term" <router>
sh: clogin: command not found
<router>: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir
/all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all
sec-nvram:,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,dir /all slavedisk1:,show env all,show
module,show controllers,show diagbus,dir /all slavedisk0:,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 redundancy secondary,show
running-config,show c7200,dir /all slot1:
<router>: missed cmd(s): dir /all slavedisk2:,show rsp chassis-info,dir
/all sec-slot2:,show diag,dir /all disk1:,show gsr chassis,dir /all
sec-nvram:,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,dir /all slavedisk1:,show env all,show
module,show controllers,show diagbus,dir /all slavedisk0:,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 redundancy secondary,show
running-config,show c7200,dir /all slot1:
<router>: End of run not found
<router>: End of run not found
!


# cat router.new
!RANCID-CONTENT-TYPE: cisco
!
!
!
!
!
--->8---

is this a dialogue with the device at all
or just some dummyattempt? i'm a bit confused
to why it says cisco - it's configured as
'erx' in the cloginrc.

any input on this greatly appreciated.

thanks and best regards,

sven03


More information about the Rancid-discuss mailing list