<div dir="ltr">Hi,<div><br></div><div>I'm definitely running NX-OS however running the debug under cisco-xr gives me better results, with the exception that the end of run isn't found</div><div><br></div><div><div><font face="monospace, monospace">$ rancid -t cisco-xr -d host.xx.</font></div><div><font face="monospace, monospace">loadtype: device type cisco-xr</font></div><div><font face="monospace, monospace">loadtype: found device type cisco-xr in /usr/local/rancid/etc/rancid.types.base</font></div><div><font face="monospace, monospace">executing clogin -t 90 -c"terminal no-timestamp;terminal exec prompt no-timestamp;admin show version;admin show install summary;admin show license udi;admin show license;admin show variables boot;admin show hw-module fpd location all;show redundancy secondary;show install active;admin show env all;dir /all nvram:;dir /all bootflash:;dir /all compactflash:;dir /all compactflasha:;dir /all slot0:;dir /all disk0:;dir /all disk0a:;dir /all slot1:;dir /all disk1:;dir /all disk1a:;dir /all slot2:;dir /all disk2:;dir /all harddisk:;dir /all harddiska:;dir /all harddiskb:;show controllers;admin show diag;admin show inventory raw;show vlan;show debug;show rpl maximum;admin show running;show running-config" host.xx.</font></div><div><font face="monospace, monospace">PROMPT MATCH: host.xx#</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# terminal no-timestamp</font></div><div><font face="monospace, monospace"> In RunCommand: host.xx# terminal no-timestamp</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# terminal exec prompt no-timestamp</font></div><div><font face="monospace, monospace"> In RunCommand: host.xx# terminal exec prompt no-timestamp</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show version</font></div><div><font face="monospace, monospace"> In ShowVersion: host.xx# admin show version</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show install summary</font></div><div><font face="monospace, monospace"> In ShowInstallSummary: host.xx# admin show install summary</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show license u</font></div><div><font face="monospace, monospace"> In ShowLicense: host.xx# admin show license udi</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show license</font></div><div><font face="monospace, monospace"> In ShowLicense: host.xx# admin show license</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show variables boot</font></div><div><font face="monospace, monospace"> In ShowBootVar: host.xx# admin show variables boot</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show hw-module fpd location all</font></div><div><font face="monospace, monospace"> In ShowRunning: host.xx# admin show hw-module fpd location all</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show redundancy secondary</font></div><div><font face="monospace, monospace"> In ShowRedundancy: host.xx# show redundancy secondary</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show install active</font></div><div><font face="monospace, monospace"> In ShowInstallActive: host.xx# show install active</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show env all</font></div><div><font face="monospace, monospace"> In ShowEnv: host.xx# admin show env all</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all nvram:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all nvram:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all bootflash:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all bootflash:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all compactflash:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all compactflash:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all compactflasha:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all compactflasha:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all slot0:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all slot0:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all disk0:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all disk0:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all disk0a:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all disk0a:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all slot1:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all slot1:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all disk1:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all disk1:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all disk1a:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all disk1a:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all slot2:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all slot2:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all disk2:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all disk2:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all harddisk:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all harddisk:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all harddiska:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all harddiska:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# dir /all harddiskb:</font></div><div><font face="monospace, monospace"> In DirSlotN: host.xx# dir /all harddiskb:</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show controllers</font></div><div><font face="monospace, monospace"> In ShowContAll: host.xx# show controllers</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show diag</font></div><div><font face="monospace, monospace"> In ShowDiag: host.xx# admin show diag</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show inventory raw</font></div><div><font face="monospace, monospace"> In ShowInventory: host.xx# admin show inventory raw</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show vlan</font></div><div><font face="monospace, monospace"> In ShowVLAN: host.xx# show vlan</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show debug</font></div><div><font face="monospace, monospace"> In ShowDebug: host.xx# show debug</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show rpl maximum</font></div><div><font face="monospace, monospace"> In ShowRPL: host.xx# show rpl maximum</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# admin show running</font></div><div><font face="monospace, monospace"> In ShowRunning: host.xx# admin show running</font></div><div><font face="monospace, monospace">HIT COMMAND:host.xx# show running-config</font></div><div><font face="monospace, monospace"> In WriteTerm: host.xx# show running-config</font></div><div><font face="monospace, monospace">host.xx.: End of run not found</font></div><div><font face="monospace, monospace">host.xx.: found_end is false</font></div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 8, 2018 at 1:33 PM, Piegorsch, Weylin William <span dir="ltr"><<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_1693184300369472376WordSection1">
<p class="MsoNormal">Doesn’t ASR9k run IOS XR (rancid type “ios-xr”)? I didn’t think it supported NX-OS. I’ve only seen NX-OS on Nexus (including N9k), MDS, and UCS devices.<u></u><u></u></p>
<p class="MsoNormal">weylin<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Pico Leto <<a href="mailto:picoleto420@gmail.com" target="_blank">picoleto420@gmail.com</a>><br>
<b>Date: </b>Wednesday, February 7, 2018 at 2:05 PM<br>
<b>To: </b><<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
<b>Subject: </b>[rancid] Role Privileges for Nexus 9k<u></u><u></u></span></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a name="m_1693184300369472376__MailOriginalBody">Hi,<u></u><u></u></a></p>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>I seem to be having some troubles backing up my configs for a ASR9k (C93108TC-EX) running NXOS 7.0.3.I4.4. My current version of rancid is 3.7 <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>I thought I created the correct role for rancid to run under however my debug seems to end after '</span><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">system
redundancy status'. The command is actually available however you have to be in config term mode to see the output. </span></span><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span>Role: rancid<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> Description: rancid restricted access<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> Vlan policy: permit (default)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> Interface policy: permit (default)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> Vrf policy: permit (default)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> ------------------------------<wbr>------------------------------<wbr>-------<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> Rule Perm Type Scope Entity<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> ------------------------------<wbr>------------------------------<wbr>-------<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> 4 permit command dir *<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> 3 permit command show *<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> 2 permit command terminal *<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> 1 permit command show running-config<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Debug:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span>rancid -t cisco-nx -d host.xx.xx<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>loadtype: device type cisco-nx<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>loadtype: found device type cisco-nx in /usr/local/rancid/etc/rancid.<wbr>types.base<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>executing clogin -t 90 -c"term no monitor-force;show version;show version build-info all;show license;show license usage;show license host.xx.xx-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" host.xx.xx<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>PROMPT MATCH: host.xx#<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# term no monitor-force<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In RunCommand: host.xx# term no monitor-force<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show version<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowVersion: host.xx# show version<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>TYPE = NXOS<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show version build-info all<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowVersionBuild: host.xx# show version build-info all<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show license<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowLicense: host.xx# show license<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show license usage<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowLicense: host.xx# show license usage<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show license host.xx.xx-id<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowLicense: host.xx# show license host.xx.xx-id<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>HIT COMMAND:host.xx# show system redundancy status<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span> In ShowRedundancy: host.xx# show system redundancy status<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>host.xx.xx: show system redundancy status failed: -1<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>host.xx.xx: missed cmd(s): 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<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>host.xx.xx: End of run not found<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>host.xx.xx: clean_run is false<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>host.xx.xx: found_end is false<u></u><u></u></span></p>
</div>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>