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!
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.
You may try to snmp poll the entity mib table.
This will give you the name of the physical components:
This will give you the serial number for the components:
Here is an example that shows the component:
.18.104.22.168.22.214.171.124.126.96.36.199.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:.188.8.131.52.184.108.40.206.220.127.116.11.1235 entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalSerialNum.1235 OCTET STRING FGS16450R4R "FGS16450R4R "