Mailing List Archive

Cisco "show inventory" command
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

[...]
Cisco "show inventory" command [ In reply to ]
On 05.07.2005 18:21 Ed Ravin wrote

> 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.

Ans it is in CatOS as well (at least since 8.3(3))

> Sample output below...
>

for CatOS format looks identical

> -- 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: "1", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3"
PID: WS-X6748-SFP , VID: , SN: SAD082108BS

NAME: "submodule 1/1", DESCR: "Centralized Fwd Card WS-F6700-CFC Rev 2.0"
PID: WS-F6700-CFC , VID: , SN: SAD080600LP

NAME: "2", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3"
PID: WS-X6748-SFP , VID: , SN: SAD082108BC




Arnold
--
Arnold Nipper, AN45
Cisco "show inventory" command [ In reply to ]
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
>
> [...]
>
Cisco "show inventory" command [ In reply to ]
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?
Cisco "show inventory" command [ In reply to ]
On my box this command requires the argument 'raw' to get anything beyond
the chassis, but it also displays empty slots (not necessarily a bad thing)
and individual ports of a PA (rather verbose, except for gbics/xenpac).
But, I didnt see any of you mention "raw". It may be that the command is
still rather immature in 12.2.25S.

!NAME: "", DESCR: "7206VXR chassis"
!PID:
!VID: 2.0
!SN: 20392450
!NAME: "", DESCR: "Chassis Slot"
!PID:
!VID:
!SN:

!NAME: "", DESCR: "Chassis Slot"
!PID:
!VID:
!SN:

!NAME: "", DESCR: "Channelized T1/PRI with CSU"
!PID:
!VID: 1.0
!SN: 18875160
!NAME: "T1 4/0", DESCR: "T1 4/0"
!PID:
!VID:
!SN:
!NAME: "T1 4/1", DESCR: "T1 4/1"
!PID:
!VID:
!SN:
!NAME: "T1 4/2", DESCR: "T1 4/2"
!PID:
!VID:
!SN:
!NAME: "T1 4/3", DESCR: "T1 4/3"
!PID:
!VID:
!SN:

Wed, Jul 06, 2005 at 07:58:14AM +0200, Arnold Nipper:
> On 05.07.2005 18:21 Ed Ravin wrote
>
> >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.
>
> Ans it is in CatOS as well (at least since 8.3(3))
>
> >Sample output below...
> >
>
> for CatOS format looks identical
>
> > -- 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: "1", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3"
> PID: WS-X6748-SFP , VID: , SN: SAD082108BS
>
> NAME: "submodule 1/1", DESCR: "Centralized Fwd Card WS-F6700-CFC Rev 2.0"
> PID: WS-F6700-CFC , VID: , SN: SAD080600LP
>
> NAME: "2", DESCR: "1000BaseX Ethernet 48 port WS-X6748-SFP Rev. 1.3"
> PID: WS-X6748-SFP , VID: , SN: SAD082108BC
>
>
>
>
> Arnold
> --
> Arnold Nipper, AN45
Cisco "show inventory" command [ In reply to ]
On Sat, Aug 13, 2005 at 04:50:57PM -0700, john heasley wrote:
> On my box this command requires the argument 'raw' to get anything beyond
> the chassis, but it also displays empty slots (not necessarily a bad thing)
> and individual ports of a PA (rather verbose, except for gbics/xenpac).
> But, I didnt see any of you mention "raw". [...]

That's cause no one on c-nsp mentioned it. Who's got time to read docs
these days - that's what we have mailing lists for, right? :-)

Anyway, just tried "raw" on my 12.0.30S box and 12.4T box, it works as
it does in your examples.