[c-nsp] Extracting serial numbers from Show techs

William F. Maton Sotomayor wmaton at ryouko.imsb.nrc.ca
Thu Sep 6 12:52:33 EDT 2007


On Thu, 6 Sep 2007, laurent.pernot at bnpparibas.com wrote:

> I use this for a Catalyst 6509 & little switch.
>
> OID Chassis serial number  : .1.3.6.1.2.1.47.1.1.1.1.11.1
> OID Cards serial number and type : .1.3.6.1.4.1.9.5.1.3.1.1

It's a good point.  I have come across some scripts that will take the 
output of "show inventory" as well, but I'm not sure what IOS versions and 
platforms support that command.

> Regards
> Laurent
>
> kevin gannon wrote:
>> Does anyone know of or have a script that will take in a "show tech"
>> and extract the part numbers and serial numbers ?
>>
> Haven't tried it yet for modular boxes, but did you look into the SNMP
> MIBs? We logg the Ser# for routers we are currently rolling out, and all
> I need to do is query the appropriate objects ...
>
> -garry
> This message and any attachments (the "message") is intended solely for the addressees and is confidential.
> If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with
> its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
> The internet can not guarantee the integrity of this message.
> BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified.
> Do not print this message unless it is necessary, consider the environment.
>                ---------------------------------------------
> Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce
> message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur.
> Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.
> L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.
> N'imprimez ce message que si necessaire, pensez a l'environnement.
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>


wfms


More information about the cisco-nsp mailing list