[rancid] error in Cisco MDS config retrieval
Wayne Eisenberg
Wayne.Eisenberg at CarolinasIT.com
Mon Aug 10 20:33:01 UTC 2015
Hi all,
I have some Cisco MDS 9148 switches running NX-OS 5.2(2) (m9100-s3ek9-kickstart-mz.5.2.2.bin) and rancid is v3.1. Unfortunately I am not getting good retrievals from them. Below is the results of nxrancid -d. Can someone assist in understanding the problem and suggesting a solution?
[rancid at vm bin]$ nxrancid -d mds-9148-1.____.local
executing clogin -t 90 -c"term no monitor-force;show version;show version build-info all;show license;show license usage;show license host-id;show system redundancy status;show environment clock;show environment fan;show environment fex all fan;show environment temperature;show environment power;show boot;dir bootflash:;dir debug:;dir logflash:;dir slot0:;dir usb1:;dir usb2:;dir volatile:;show module;show module xbar;show inventory;show vtp status;show vlan;show debug;show cores vdc-all;show processes log vdc-all;show module fex;show fex;show running-config" mds-9148-1.____.local
PROMPT MATCH: Cisco-9148-Top#
HIT COMMAND:Cisco-9148-Top# term no monitor-force
In RunCommand: Cisco-9148-Top# term no monitor-force
HIT COMMAND:Cisco-9148-Top# show version
In ShowVersion: Cisco-9148-Top# show version
TYPE = NXOS
HIT COMMAND:Cisco-9148-Top# show version build-info all
In ShowVersionBuild: Cisco-9148-Top# show version build-info all
HIT COMMAND:Cisco-9148-Top# show license
In ShowLicense: Cisco-9148-Top# show license
HIT COMMAND:Cisco-9148-Top# show license usage
In ShowLicense: Cisco-9148-Top# show license usage
HIT COMMAND:Cisco-9148-Top# show license host-id
In ShowLicense: Cisco-9148-Top# show license host-id
HIT COMMAND:Cisco-9148-Top# show system redundancy status
In ShowRedundancy: Cisco-9148-Top# show system redundancy status
HIT COMMAND:Cisco-9148-Top# show environment clock
In ShowEnv: Cisco-9148-Top# show environment clock
HIT COMMAND:Cisco-9148-Top# show environment fan
In ShowEnv: Cisco-9148-Top# show environment fan
HIT COMMAND:Cisco-9148-Top# show environment fex all fan
In ShowEnv: Cisco-9148-Top# show environment fex all fan
HIT COMMAND:Cisco-9148-Top# show environment temperature
In ShowEnvTemp: Cisco-9148-Top# show environment temperature
HIT COMMAND:Cisco-9148-Top# show environment power
In ShowEnvPower: Cisco-9148-Top# show environment power
HIT COMMAND:Cisco-9148-Top# show boot
In ShowBoot: Cisco-9148-Top# show boot
HIT COMMAND:Cisco-9148-Top# dir bootflash:
In DirSlotN: Cisco-9148-Top# dir bootflash:
HIT COMMAND:Cisco-9148-Top# dir debug:
In DirSlotN: Cisco-9148-Top# dir debug:
HIT COMMAND:Cisco-9148-Top# dir logflash:
In DirSlotN: Cisco-9148-Top# dir logflash:
HIT COMMAND:Cisco-9148-Top# dir slot0:
In DirSlotN: Cisco-9148-Top# dir slot0:
HIT COMMAND:Cisco-9148-Top# dir usb1:
In DirSlotN: Cisco-9148-Top# dir usb1:
HIT COMMAND:Cisco-9148-Top# dir usb2:
In DirSlotN: Cisco-9148-Top# dir usb2:
HIT COMMAND:Cisco-9148-Top# dir volatile:
In DirSlotN: Cisco-9148-Top# dir volatile:
HIT COMMAND:Cisco-9148-Top# show module
In ShowModule: Cisco-9148-Top# show module
HIT COMMAND:Cisco-9148-Top# show module xbar
In ShowModule: Cisco-9148-Top# show module xbar
HIT COMMAND:Cisco-9148-Top# show inventory
In ShowInventory: Cisco-9148-Top# show inventory
HIT COMMAND:Cisco-9148-Top# show vtp status
In ShowVTP: Cisco-9148-Top# show vtp status
HIT COMMAND:Cisco-9148-Top# show vlan
In ShowVLAN: Cisco-9148-Top# show vlan
HIT COMMAND:Cisco-9148-Top# show debug
In ShowDebug: Cisco-9148-Top# show debug
HIT COMMAND:Cisco-9148-Top# show cores vdc-all
In ShowCores: Cisco-9148-Top# show cores vdc-all
HIT COMMAND:Cisco-9148-Top# show processes log vdc-all
In ShowProcLog: Cisco-9148-Top# show processes log vdc-all
mds-9148-1.____.local: show processes log vdc-all failed: -1
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
*]*Cisco-9148-([^#>\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]*$reprom..."
(procedure "run_commands" line 30)
invoked from within
"run_commands $prompt $command"
("foreach" body line 196)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/local/rancid3/bin/clogin" line 754)
mds-9148-1.____.local: missed cmd(s): show module fex,show fex,show running-config
mds-9148-1.____.local: missed cmd(s): show module fex,show fex,show running-config
mds-9148-1.____.local: End of run not found
mds-9148-1.____.local: End of run not found
mds-9148-1.____.local: clean: 0, end: 0
!PROC_LOGS: ^
[rancid at vm bin]$
Wayne Eisenberg
________________________________
The information in this Internet e-mail (and any attachments) is confidential, may be legally privileged and is intended solely for the Addressee(s) named above. If you are not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, then any dissemination or copying of this e-mail (and any attachments) is prohibited and may be unlawful. If you received this e-mail in error, please immediately notify us by e-mail or telephone, then delete the message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20150810/ab6c27ac/attachment.html>
More information about the Rancid-discuss
mailing list