Cisco "show inventory" command
Robert Drake
rdrake at ipsek.net
Wed Jul 6 15:59:21 UTC 2005
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.
Thanks,
Robert
Ed Ravin(eravin at panix.com)@2005-07-05 12:21:24 -0400:
> On another mailing list that I (and some of you) subscribe to, someone
> mentioned the "show inventory" command. It seems to be tailor-made
> for RANCID. It's in 12.0(30)S, and apparently in other recent releases.
> Sample output below...
>
> -- Ed
>
> ------------------------
> NAME: "7513 chassis,ID:73002384", DESCR: "7513 chassis"
> PID: 2 , VID: Hardware Version : 1.00, Board Revision : B0, SN: 73002384
>
> NAME: "Line Card 0", DESCR: "Versatile Interface Processor (VIP2)"
> PID: VIP2 , VID: Hardware Version : 2.04, Board Revision : D0, SN: 6354210
>
> NAME: "Card Slot 0,Bay 0", DESCR: "FastEthernet Port Adapter "
> PID: PA-FE-TX-ISL , VID: Hardware Version : 1.00, Board Revision : A0, SN: 6714008
>
> NAME: "Card Slot 0,Bay 1", DESCR: "HSSI Port Adapter"
> PID: PA-AH1T , VID: Hardware Version : 1.17, Board Revision : A0, SN: 12382154
>
> [...]
>
More information about the Rancid-discuss
mailing list