06-28-2004 02:03 AM - edited 03-02-2019 04:39 PM
Im trying to determine the serial number of Gbics already installed and running on a Catalyst 2950 switch. Is there a specific command to do so? There is a command on Catalyst 4506 that gives all info regarding the Gbic ("show idprom interface gi 1/1")
Is there something equivalent for 2950?
Thank you in advance!
Nikolas
06-28-2004 02:45 AM
As far as I am aware I don't think there is. Having installed an 80 device network and customer required all GBIC serial numbers audited, we had to take the serial down as we inserted the GBICs.
05-17-2011 03:57 PM
You may try to snmp poll the entity mib table.
This will give you the name of the physical components:
1.3.6.1.2.1.47.1.1.1.1.7
This will give you the serial number for the components:
1.3.6.1.2.1.47.1.1.1.1.11
Here is an example that shows the component:
.1.3.6.1.2.1.47.1.1.1.1.7.1235 entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalName.1235 OCTET STRING Transceiver Gi1/8 "Transceiver Gi1/8"
Here is a poll that references the index number of 1235 (Transceiver Gi1/8) and therefore the GBIC in port Gi1/8:
.1.3.6.1.2.1.47.1.1.1.1.11.1235 entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalSerialNum.1235 OCTET STRING FGS16450R4R "FGS16450R4R "05-18-2011 05:22 AM
"show inventory" works on newer versions of IOS but I am not sure if it is supported on a 2950. It may be worth a try at least. It's been a while since I have been on a 2950.
05-18-2011 10:30 AM
Show inventory works on my 4506.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: