<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="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/<wbr>act# 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/<wbr>act#<br>
<span class="im HOEnZb"><br>
-----Original Message-----<br>
From: heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>><br>
</span><div class="HOEnZb"><div class="h5">Date: Wednesday, June 28, 2017 at 18:07<br>
To: Weylin Piegorsch <<a href="mailto:weylin@bu.edu">weylin@bu.edu</a>><br>
Cc: heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>>, Craig Hopkins <<a href="mailto:c.o.hopkins@gmail.com">c.o.hopkins@gmail.com</a>>, "<a href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>" <<a href="mailto:rancid-discuss@shrubbery.net">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/<wbr>act# sh inventory ?<br>
><br>
> <0-3> Inventory slot number<br>
> | Output modifiers<br>
> <cr><br>
> ASA5545-X-version9.4(4)5/pri/<wbr>act# 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">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">c.o.hopkins@gmail.com</a>><br>
> Cc: <<a href="mailto:rancid-discuss@shrubbery.net">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::<wbr>ShowInventory;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>