[rancid] Rancid and the Cisco 5000 Nexus Platform
Florin Vlad Olariu
vv.corto at gmail.com
Mon Jul 22 15:51:09 UTC 2019
Hello,
I have some cisco Nexus 5k and I'm having some trouble grabbing the "show
run" through rancid. In my setup I commented out most commands in the
"rancid.types.base" file except for the "show run" section. The problem is
that with the file commented, rancid can't manage to grab the output
because, according to the logs, "End of run not found". Is this message
based on finding the word "end" in the configuration? Because if that's the
requirement, then even when manually doing "show run" it's not there.
The curious thing is that if I un-comment all the other show commands, then
rancid does manage to grab the router config, although of course that is
not ideal. Below [1] you can find the "rancid.types.base" config.
Connectivity to the device is NOT a problem. Version used is both 7.x and
5.x trains and both have problems.
Thank you!
[1]
cisco-nx;script;rancid -t cisco-nx
cisco-nx;login;clogin
cisco-nx;module;nxos
cisco-nx;inloop;nxos::inloop
#cisco-nx;command;rancid::RunCommand;term no monitor-force
#cisco-nx;command;nxos::ShowVersion;show version
#cisco-nx;command;nxos::ShowVersionBuild;show version build-info all
#cisco-nx;command;nxos::ShowLicense;show license
#cisco-nx;command;nxos::ShowLicense;show license usage
#cisco-nx;command;nxos::ShowLicense;show license host-id
#cisco-nx;command;nxos::ShowRedundancy;show system redundancy status
#cisco-nx;command;nxos::ShowEnv;show environment clock
#cisco-nx;command;nxos::ShowEnv;show environment fan
#cisco-nx;command;nxos::ShowEnv;show environment fex all fan
#cisco-nx;command;nxos::ShowEnvTemp;show environment temperature
#cisco-nx;command;nxos::ShowEnvPower;show environment power
#cisco-nx;command;nxos::ShowBoot;show boot
#cisco-nx;command;nxos::DirSlotN;dir bootflash:
#cisco-nx;command;nxos::DirSlotN;dir debug:
#cisco-nx;command;nxos::DirSlotN;dir logflash:
#cisco-nx;command;nxos::DirSlotN;dir slot0:
#cisco-nx;command;nxos::DirSlotN;dir usb1:
#cisco-nx;command;nxos::DirSlotN;dir usb2:
#cisco-nx;command;nxos::DirSlotN;dir volatile:
#cisco-nx;command;nxos::ShowModule;show module
#cisco-nx;command;nxos::ShowModule;show module xbar
##cisco-nx;command;nxos::ShowModule;show module X;add, but wait for show all
##cisco-nx;command;nxos::ShowModule;show module X epld;add, but wait for
show all
#cisco-nx;command;nxos::ShowInventory;show inventory
#cisco-nx;command;nxos::ShowIntTransceiver;show interface transceiver
#cisco-nx;command;nxos::ShowVTP;show vtp status;drop?
#cisco-nx;command;nxos::ShowVLAN;show vlan
#cisco-nx;command;nxos::ShowDebug;show debug
#cisco-nx;command;nxos::ShowCores;show cores vdc-all
#cisco-nx;command;nxos::ShowProcLog;show processes log vdc-all
#cisco-nx;command;nxos::ShowFex;show module fex
#cisco-nx;command;nxos::ShowFex;show fex
cisco-nx;command;nxos::WriteTerm;show running-config
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20190722/4e04c316/attachment.html>
More information about the Rancid-discuss
mailing list