Cisco "show inventory" command

john heasley heas at shrubbery.net
Sat Aug 13 23:50:57 UTC 2005


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



More information about the Rancid-discuss mailing list