Cisco "show inventory" command
Andre van der Merwe
andre at is.co.za
Wed Jul 6 16:23:15 UTC 2005
On Wed, Jul 06, 2005 at 11:59:21AM -0400, Robert Drake wrote:
> Thats awesome. I used to submit bug reports when they released new
> cards and for no explainable reason, changed the way "sh diag" output
> worked (Then I'd go update our copy of rancid, since I never got
> responses).
>
> I loved it when they started putting free form information on lines,
> making you specifically have to search for that type of card to detect
> it.
>
> OTOH, here is a low-end example of "sh inv" not getting it right ethier:
>
> router2611#sh inv
> NAME: "", DESCR: "2611 chassis, Hw Serial#: 1191063160, Hw Revision:
> 0x202"
> PID: , VID: , SN:
>
>
> It doesn't include the WIC serial number, or tag the chassis serial in
> SN:
>
> That was on 12.3(1a), this is what rancid finds for the same box:
>
> !Slot 0: type C2611 2E Mainboard, 3 ports
> !Slot 0: hvers 2.2 rev A0
> !Slot 0: part 73-2840-12, serial JAD03381685
> !
> !Slot 0/0: type FT1 BT8360
> !Slot 0/0: hvers 1.3 rev C0
> !Slot 0/0: part 800-03279-03, serial 17175179
>
>
> So maybe it'll be fixed in a later version. At least it's extra info
> that might be useful to crosscheck.
Since extra information is gleaned from the 'show diag' would
it not be wise to maybe put the "show inv" information in a
seperate '!'ed section, ie !Inventory: NAME...
It is duplicate information, but could come in handy.
Thanks
-André
More information about the Rancid-discuss
mailing list