<div dir="ltr">Just for fun, I've made that change anyway, and it's giving me what I need. Thanks for everyone for the input. </div><div class="gmail_extra"><br><div class="gmail_quote">On 29 June 2017 at 11:18, Craig Hopkins <span dir="ltr"><<a href="mailto:c.o.hopkins@gmail.com" target="_blank">c.o.hopkins@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>On a Catalyst switch:</div><div><br></div><div>#show inventory ?</div><div> WORD Entity name</div><div> raw Show every entity in the container hierarchy</div><div> | Output modifiers</div><div> <cr></div><div><br></div><div>so raw is supported, and I can see that in the backups. </div><div><br></div><div>The ASAs only support show inventory, though. </div><div><br></div><div>So should I just remove raw from the end of the command in rancid base types, and then it will work for all devices? </div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 28 June 2017 at 23:13, 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">ASA5545-X-version9.4(4)5/pri/a<wbr>ct# sh inventory<br>
Name: "Chassis", DESCR: "ASA 5545-X with SW, 8 GE Data, 1 GE Mgmt"<br>
PID: ASA5545 , VID: V02 , SN: FTX184410TS<br>
<br>
Name: "power supply 0", DESCR: "ASA 5545-X/5555-X AC Power Supply"<br>
PID: ASA-PWR-AC , VID: N/A , SN: 48V1FE<br>
<br>
Name: "power supply 1", DESCR: "ASA 5545-X/5555-X AC Power Supply"<br>
PID: ASA-PWR-AC , VID: N/A , SN: 48V1FF<br>
<br>
Name: "Storage Device 1", DESCR: "Model Number: Micron_M550_MTFDDAK128MAY"<br>
PID: N/A , VID: N/A , SN: MXA183501WN<br>
<br>
Name: "Storage Device 2", DESCR: "Model Number: Micron_M550_MTFDDAK128MAY"<br>
PID: N/A , VID: N/A , SN: MXA183501QL<br>
<br>
ASA5545-X-version9.4(4)5/pri/a<wbr>ct#<br>
<span class="m_8994171963502128379im m_8994171963502128379HOEnZb"><br>
-----Original Message-----<br>
From: heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>><br>
</span><div class="m_8994171963502128379HOEnZb"><div class="m_8994171963502128379h5">Date: Wednesday, June 28, 2017 at 18:07<br>
To: Weylin Piegorsch <<a href="mailto:weylin@bu.edu" target="_blank">weylin@bu.edu</a>><br>
Cc: heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>>, Craig Hopkins <<a href="mailto:c.o.hopkins@gmail.com" target="_blank">c.o.hopkins@gmail.com</a>>, "<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
Subject: Re: [rancid] Cisco commands in 3.6.2<br>
<br>
Wed, Jun 28, 2017 at 08:30:32PM +0000, Piegorsch, Weylin William:<br>
> Does this help? I just ran this on an ASA I currently have in Rancid (v3.4).<br>
> weylin<br>
><br>
> ASA5545-X-version9.4(4)5/pri/a<wbr>ct# sh inventory ?<br>
><br>
> <0-3> Inventory slot number<br>
> | Output modifiers<br>
> <cr><br>
> ASA5545-X-version9.4(4)5/pri/a<wbr>ct# sh inventory<br>
<br>
yes; it doesnt support the raw keyword. What does the o/p look like (w/o a<br>
slot speicfied)?<br>
<br>
> -----Original Message-----<br>
> From: heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>><br>
> Date: Wednesday, June 28, 2017 at 13:32<br>
> To: Craig Hopkins <<a href="mailto:c.o.hopkins@gmail.com" target="_blank">c.o.hopkins@gmail.com</a>><br>
> Cc: <<a href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>><br>
> Subject: Re: [rancid] Cisco commands in 3.6.2<br>
><br>
> Wed, Jun 28, 2017 at 10:10:23AM +0100, Craig Hopkins:<br>
> > Hi,<br>
> ><br>
> > rancid is happily backing up my ASAs and switches, but in rancid.types.base<br>
> > I can see<br>
> ><br>
> > cisco;command;ios::ShowInvento<wbr>ry;show inventory raw<br>
> ><br>
> > How do I get rancid to run this command on a Cisco? It isn't currently. It<br>
> > looks like it's just doing show version, show flash and show running.<br>
><br>
> it is run; but if the command is not supported by the device or is different<br>
> on the ASA (because cisco is incapable of consistency between platforms) and<br>
> therefore is "ambiguous", that failure will be ignored by rancid. if you<br>
> know what the correct command is for the ASA, lmk.<br>
><br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>