Cisco 7206 problem

Soren Hansen admin at noonlandspam.dk.onland.dk
Mon Sep 12 10:58:31 UTC 2005


Hi,
I have a Cisco 7206 that I can't collect config from.
Seems to be a problem with the command "dir /all bootflash:"

E34C9-7206-01#dir /all bootflash:
Directory of bootflash:/

%Error calling getdents for bootflash:/ (Invalid file header magic number)
No space information available
E34C9-7206-01#


Clues, anyone?


Best regards,
Søren Hansen

I have done a rancid -d <device> as seen below. The .new file is at the end


rancid at lanwan-mon$ rancid -d 10.17.2.7
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" 10.17.2.7
PROMPT MATCH: E34C9-7206-01#
HIT COMMAND:E34C9-7206-01#show version
    In ShowVersion: E34C9-7206-01#show version
TYPE = 7200
HIT COMMAND:E34C9-7206-01#show redundancy secondary
    In ShowRedundancy: E34C9-7206-01#show redundancy secondary
HIT COMMAND:E34C9-7206-01#show idprom backplane
    In ShowIDprom: E34C9-7206-01#show idprom backplane
HIT COMMAND:E34C9-7206-01#show install active
    In ShowInstallActive: E34C9-7206-01#show install active
HIT COMMAND:E34C9-7206-01#show env all
    In ShowEnv: E34C9-7206-01#show env all
HIT COMMAND:E34C9-7206-01#show rsp chassis-info
    In ShowRSP: E34C9-7206-01#show rsp chassis-info
HIT COMMAND:E34C9-7206-01#show gsr chassis
    In ShowGSR: E34C9-7206-01#show gsr chassis
HIT COMMAND:E34C9-7206-01#show boot
    In ShowBoot: E34C9-7206-01#show boot
HIT COMMAND:E34C9-7206-01#show bootvar
    In ShowBoot: E34C9-7206-01#show bootvar
HIT COMMAND:E34C9-7206-01#show variables boot
    In ShowBoot: E34C9-7206-01#show variables boot
HIT COMMAND:E34C9-7206-01#show flash
    In ShowFlash: E34C9-7206-01#show flash
HIT COMMAND:E34C9-7206-01#dir /all nvram:
    In DirSlotN: E34C9-7206-01#dir /all nvram:
HIT COMMAND:E34C9-7206-01#dir /all bootflash:
    In DirSlotN: E34C9-7206-01#dir /all bootflash:
write(spawn_id=1): broken pipe
    while executing
"send_user -- "$expect_out(buffer)""
    invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
 *]*E34C9-7206-01([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- 
"$expect_out(buffer)"
                                                } -re..."
    invoked from within
"expect {
                -re "\b+"                       { exp_continue }
                -re "^\[^\n\r *]*$reprompt"     { send_user -- 
"$expect_out(buffer)"
                                                }
                -re "^\[^\n\r]*$reprompt."      { send..."
    invoked from within
"if [ string match "*\;*" "$command" ] {
        set commands [split $command \;]
        set num_commands [llength $commands]
        # the pager can not be turned off on ..."
    (procedure "run_commands" line 34)
    invoked from within
"run_commands $prompt $command"
    ("foreach" body line 144)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"

    # Figure out prompt.
    # Since autoena..."
    (file "/usr/local/libexec/rancid/clogin" line 616)
10.17.2.7: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show 
diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all 
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,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:,dir /all slavedisk1:,show module,show 
controllers,show diagbus,dir /all slavedisk0:,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:,show running-config,show c7200,dir /all slot1:
10.17.2.7: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show 
diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all 
sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,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:,dir /all slavedisk1:,show module,show 
controllers,show diagbus,dir /all slavedisk0:,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:,show running-config,show c7200,dir /all slot1:
10.17.2.7: End of run not found
10.17.2.7: End of run not found
!Flash: bootflash: Directory of bootflash:/
rancid at lanwan-mon$




rancid at lanwan-mon$ cat 10.17.2.7.new
!RANCID-CONTENT-TYPE: cisco
!
!Chassis type: 7206VXR - a 7200 router
!CPU: NPE400, R7000 CPU at 350Mhz, impl 39, Rev 3.2, 256KB L2, 4096KB L3 
Cache
!
!Memory: main 245760K/16384K
!Memory: nvram 125K
!Memory: bootflash 8192K
!Memory: pcmcia ATA slot0 47040K
!
!Processor ID: 23689243
!
!Power: Power supply 1 is Zytek DC Power Supply. Unit is on.
!Power: Power supply 2 is Zytek DC Power Supply. Unit is on.
!
!Image: Software: C7200-P-M, 12.2(3), RELEASE SOFTWARE (fc1)
!Image: Compiled: Wed 18-Jul-01 16:08 by pwade
!Image: disk0:c7200-p-mz.122-3.bin
!
!ROM Bootstrap: Version 12.1(20000710:044039) [nlaw-121E_npeb 117], 
DEVELOPMENT SOFTWARE
!BOOTLDR: Version 12.1(7)E, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
!
!
!
!Variable: BOOT variable = disk0:c7200-p-mz.122-3.bin,12;
!Variable: CONFIG_FILE variable does not exist
!Variable: BOOTLDR variable does not exist
!
!Flash: nvram: Directory of nvram:/
!Flash: nvram:   108  -rw-       16776              <no date>  
startup-config
!Flash: nvram:   109  ----          27              <no date>  
private-config
!Flash: nvram:   110  -rw-       16776              <no date>  
underlying-config
!Flash: nvram:     1  -rw-          20              <no date>  
persistent-data
!Flash: nvram:     2  -rw-           0              <no date>  ifIndex-table
!Flash: nvram: 129016 bytes total (110113 bytes free)
!
!Flash: bootflash: Directory of bootflash:/
rancid at lanwan-mon$




More information about the Rancid-discuss mailing list