<div>I am also having the same problem, and I am also interested to have the S/N of the SPA</div>
<div>Indeed "show inventory" seems the best way to do it.</div>
<div>has anyone added "show inventory" parser yet?</div>
<div>otherwise I can try to add it and post here.</div>
<div> </div>
<div>Yuval<br><br></div>
<div class="gmail_quote">On Wed, Jun 27, 2007 at 10:50 PM, Elliott, Andrew <<a href="mailto:AElliott@xo.com">AElliott@xo.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><br>> > Hello,<br>> ><br>> > I have been recently asked that my router backups include<br>> the SUBSLOT<br>> > line from 'sho diag' on the 12k's.<br>> ><br>
> > Here is an example (trimmed for brevity) of the output I<br>> want rancid to<br>> > parse:<br>> ><br>> > SLOT 1 (RP/LC 1 ): Modular SPA Interface Card (10G)<br>> > -snip-<br>> ><br>
> > SPA Information:<br>> > subslot 1/0: SPA-10X1GE-V2 (0x508), status is ok<br>> > subslot 1/1: Empty<br>> > subslot 1/2: Empty<br>> > subslot 1/3: Empty<br>
> ><br>> > SUBSLOT 1/0 (SPA-10X1GE-V2): 10-port Gigabit Ethernet Shared Port<br>> > Adapter<br>> > Product Identifier (PID) : SPA-10X1GE-V2<br>> > -snip-<br>> ><br>> > This is a new card type that we have recently begun deploying, and<br>
> > currently all that is backed up is the main SPA IC<br>> information, not the<br>> > info on the "SUBSLOT" or "SPA -> subslot" lines.<br>><br>> I'd need to have the complete output; I don't have GSRs anymore.<br>
><br></div>CHR1.NYC-NY#sho diag 1<br>
<div class="Ih2E3d"><br>SLOT 1 (RP/LC 1 ): Modular SPA Interface Card (10G)<br></div> MAIN: type 149, 00-0000-00 rev A0<br> Deviation: D090170<br> HW config: 0x20 SW key: 00-00-00<br> PCA: 00-00000-00 rev A0 ver 4<br>
Design Release 1.0 S/N SAD000000M0<br> MBUS: Embedded Agent<br> Test hist: 0x00 RMA#: 00-00-00 RMA hist: 0x00<br> DIAG: Test count: 0x00000000 Test results: 0x00000000<br> FRU: Linecard/Module: 12000-SIP-601=<br>
Processor Memory: MEM-LC5-2048=(Non-Replaceable)<br> Packet Memory: MEM-LC5-PKT-256=(Non-Replaceable)<br> L3 Engine: 5 - ISE 10 Gbps<br> MBUS Agent Software version 2.51 (RAM) (ROM version is 3.50)<br> ROM Monitor version 17.1<br>
Fabric Downloader version used 4.1 (ROM version is 4.1)<br> Primary clock is CSC 1<br> Board is analyzed<br> Board State is Line Card Enabled (IOS RUN )<br> Insertion time: 00:22:52 (2w4d ago)<br> Processor Memory size: 2147483648 bytes<br>
TX Packet Memory size: 268435456 bytes, Packet Memory pagesize: 32768<br>bytes<br> RX Packet Memory size: 268435456 bytes, Packet Memory pagesize: 32768<br>bytes<br> 0 crashes since restart<br>
<div class="Ih2E3d"><br> SPA Information:<br> subslot 1/0: SPA-10X1GE-V2 (0x508), status is ok<br> subslot 1/1: Empty<br> subslot 1/2: Empty<br> subslot 1/3: Empty<br></div>CHR1.NYC-NY#<br>
<div class="Ih2E3d"><br>><br>> > It is possible I am using a version of rancid that needs to<br>> be upgraded<br>> > and/or patched.<br>><br>> possibly. 'show inventory' has been added and that ought to<br>
> include this<br>> information...if cisco has gotten around to adding it to this platform<br>> yet.<br>><br><br></div>Looks like this might be the best way to go. From the show inventory:<br><br>NAME: "slot 1", DESCR: "ISE 10G Modular Services Card v2"<br>
PID: 12000-SIP-601 , VID: V02, SN: SAD111403M0<br><br>NAME: "SPA subslot 1/0", DESCR: "10-port Gigabit Ethernet Shared Port<br>Adapter"<br>PID: SPA-10X1GE-V2 , VID: V01, SN: JAB111701NG<br>
<div>
<div></div>
<div class="Wj3C7c"><br>_______________________________________________<br>Rancid-discuss mailing list<br><a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br><a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</div></div></blockquote></div><br>