[rancid] Rancid 2.3.8 and IOS 15
Thomas Vachon
vachon at sessionm.com
Mon Sep 10 12:58:31 UTC 2012
I am getting "End of run not found" on both of my IOS 15 routers.
Here is the debug output (I broke up the lines for readability).
rancid at admin:~/bin$ ./rancid -d 192.168.124.206
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 diag chassis-info;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-bootdisk:;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 capture;show module;show spe version;show c7200;show
inventory raw;show vtp status;show vlan;show vlan-switch;show
debug;show shun;more system:running-config;show running-config view
full;show running-config;write term" 192.168.124.206
PROMPT MATCH: r02#
HIT COMMAND:r02#show version
In ShowVersion: r02#show version
TYPE = CISCO2901/K9
HIT COMMAND:r02#show redundancy secondary
In ShowRedundancy: r02#show redundancy secondary
HIT COMMAND:r02#show idprom backplane
In ShowIDprom: r02#show idprom backplane
HIT COMMAND:r02#show install active
In ShowInstallActive: r02#show install active
HIT COMMAND:r02#show env all
In ShowEnv: r02#show env all
HIT COMMAND:r02#show rsp chassis-info
In ShowRSP: r02#show rsp chassis-info
HIT COMMAND:r02#show gsr chassis
In ShowGSR: r02#show gsr chassis
HIT COMMAND:r02#show diag chassis-info
In ShowGSR: r02#show diag chassis-info
HIT COMMAND:r02#show boot
In ShowBoot: r02#show boot
HIT COMMAND:r02#show bootvar
In ShowBoot: r02#show bootvar
HIT COMMAND:r02#show variables boot
In ShowBoot: r02#show variables boot
HIT COMMAND:r02#show flash
In ShowFlash: r02#show flash
HIT COMMAND:r02#dir /all nvram:
In DirSlotN: r02#dir /all nvram:
HIT COMMAND:r02#dir /all bootflash:
In DirSlotN: r02#dir /all bootflash:
HIT COMMAND:r02#dir /all slot0:
In DirSlotN: r02#dir /all slot0:
HIT COMMAND:r02#dir /all disk0:
In DirSlotN: r02#dir /all disk0:
HIT COMMAND:r02#dir /all slot1:
In DirSlotN: r02#dir /all slot1:
HIT COMMAND:r02#dir /all disk1:
In DirSlotN: r02#dir /all disk1:
HIT COMMAND:r02#dir /all slot2:
In DirSlotN: r02#dir /all slot2:
HIT COMMAND:r02#dir /all disk2:
In DirSlotN: r02#dir /all disk2:
HIT COMMAND:r02#dir /all harddisk:
In DirSlotN: r02#dir /all harddisk:
HIT COMMAND:r02#dir /all harddiska:
In DirSlotN: r02#dir /all harddiska:
HIT COMMAND:r02#dir /all harddiskb:
In DirSlotN: r02#dir /all harddiskb:
HIT COMMAND:r02#dir /all sup-bootdisk:
In DirSlotN: r02#dir /all sup-bootdisk:
HIT COMMAND:r02#dir /all sup-bootflash:
In DirSlotN: r02#dir /all sup-bootflash:
HIT COMMAND:r02#dir /all sup-microcode:
In DirSlotN: r02#dir /all sup-microcode:
HIT COMMAND:r02#dir /all slavenvram:
In DirSlotN: r02#dir /all slavenvram:
HIT COMMAND:r02#dir /all slavebootflash:
In DirSlotN: r02#dir /all slavebootflash:
HIT COMMAND:r02#dir /all slaveslot0:
In DirSlotN: r02#dir /all slaveslot0:
HIT COMMAND:r02#dir /all slavedisk0:
In DirSlotN: r02#dir /all slavedisk0:
HIT COMMAND:r02#dir /all slaveslot1:
In DirSlotN: r02#dir /all slaveslot1:
HIT COMMAND:r02#dir /all slavedisk1:
In DirSlotN: r02#dir /all slavedisk1:
HIT COMMAND:r02#dir /all slaveslot2:
In DirSlotN: r02#dir /all slaveslot2:
HIT COMMAND:r02#dir /all slavedisk2:
In DirSlotN: r02#dir /all slavedisk2:
HIT COMMAND:r02#dir /all slavesup-bootflash:
In DirSlotN: r02#dir /all slavesup-bootflash:
HIT COMMAND:r02#dir /all sec-nvram:
In DirSlotN: r02#dir /all sec-nvram:
HIT COMMAND:r02#dir /all sec-bootflash:
In DirSlotN: r02#dir /all sec-bootflash:
HIT COMMAND:r02#dir /all sec-slot0:
In DirSlotN: r02#dir /all sec-slot0:
HIT COMMAND:r02#dir /all sec-disk0:
In DirSlotN: r02#dir /all sec-disk0:
HIT COMMAND:r02#dir /all sec-slot1:
In DirSlotN: r02#dir /all sec-slot1:
HIT COMMAND:r02#dir /all sec-disk1:
In DirSlotN: r02#dir /all sec-disk1:
HIT COMMAND:r02#dir /all sec-slot2:
In DirSlotN: r02#dir /all sec-slot2:
HIT COMMAND:r02#dir /all sec-disk2:
In DirSlotN: r02#dir /all sec-disk2:
HIT COMMAND:r02#show controllers
In ShowContAll: r02#show controllers
HIT COMMAND:r02#show controllers cbus
In ShowContCbus: r02#show controllers cbus
HIT COMMAND:r02#show diagbus
In ShowDiagbus: r02#show diagbus
HIT COMMAND:r02#show diag
In ShowDiag: r02#show diag
HIT COMMAND:r02#show capture
In ShowCapture: r02#show capture
HIT COMMAND:r02#show module
In ShowModule: r02#show module
HIT COMMAND:r02#show spe version
In ShowSpeVersion: r02#show spe version
HIT COMMAND:r02#show c7200
In ShowC7200: r02#show c7200
HIT COMMAND:r02#show inventory raw
In ShowInventory: r02#show inventory raw
HIT COMMAND:r02#show vtp status
In ShowVTP: r02#show vtp status
HIT COMMAND:r02#show vlan
In ShowVLAN: r02#show vlan
HIT COMMAND:r02#show vlan-switch
In ShowVLAN: r02#show vlan-switch
HIT COMMAND:r02#show debug
In ShowDebug: r02#show debug
HIT COMMAND:r02#show shun
In ShowShun: r02#show shun
HIT COMMAND:r02#more system:running-config
In WriteTerm: r02#more system:running-config
HIT COMMAND:r02#show running-config view full
In WriteTerm: r02#show running-config view full
HIT COMMAND:r02#show running-config
In WriteTerm: r02#show running-config
HIT COMMAND:r02#write term
In WriteTerm: r02#write term
192.168.124.206: End of run not found
192.168.124.206: End of run not found
!
If I go into my router, I get this at the end of the show running-config
!
scheduler allocate 20000 1000
!
end
So in short, "end" exists, but it isnt getting seen. I tested the
regex in ruby since it is very close to perl.
>> /^(: +)?end$/ =~ "end"
=> 0
This means the regex did match, so I am at a loss here.
--
Thomas Vachon
Principal Operations Architect
session M
More information about the Rancid-discuss
mailing list