Getting Gbic/SFIP serial numbers inside switch

Unanswered Question
Nov 19th, 2008
User Badges:


I'm trying to get the serial number and Model number from Gbics/SFIP.

What are the commands to get this information in 2960s and 2980s and 3550s

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Mark Yeates Wed, 11/19/2008 - 09:56
User Badges:
  • Gold, 750 points or more


You can use the "show inventory" command on your switch to find the GBIC/SFP serial number.



Starthorn Wed, 11/19/2008 - 10:23
User Badges:

Thanks. That works for the 3550s and the 2960s but it wont work for the 2980s...Wait..It only works on 2 of my switches a 3550 and a 2980. the other 3550s just show invald input detected. I know I'm spelling it right

Mark Yeates Wed, 11/19/2008 - 10:54
User Badges:
  • Gold, 750 points or more

Does the 2980 run CatOS? I have yet to run into one of those switches. If so I am not sure how to get the information from the switch.


Starthorn Wed, 11/19/2008 - 11:01
User Badges:

They are strange. Most commands are different in them.

In some of my 3550s and 2960s show inventory does not work. Do you know of a setting that could be blocking this command?

Mark Yeates Wed, 11/19/2008 - 11:20
User Badges:
  • Gold, 750 points or more

I don't believe there is a particular setting preventing you from viewing the serial numbers.

you should try

"show inventory raw"


"show controllers ethernet-controller giX/X phy"


"sh idprom interface gix/x

You must have an older IOS which is probably why the serials are not showing via the show inventory command.


glen.grant Wed, 11/19/2008 - 11:42
User Badges:
  • Purple, 4500 points or more

2980's are catos and don't believe there is any way to get gbic serial info off of those. Mark is correct on the 3550 , it should work if your IOS is newer , if not then you won't have that command.


This Discussion