[rancid] Rancid and the Cisco 5000 Nexus Platform
Florin Vlad Olariu <[email protected]> Mon, 22 Jul 2019 08:51:09 -0700
| Newsgroups | gmane.network.rancid |
|---|---|
| Message-ID | <CAJ+sFVGbhcBEdNre+-8hNdGcSDMiYj0hp9fy-CdMEHVj9T1kSg@mail.gmail.com> |
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 _______________________________________________ Rancid-discuss mailing list [email protected] http://www.shrubbery.net/mailman/listinfo/rancid-discuss