24th May 2012

Determine Which SFP Is Installed in Your Cisco Line Module

This interface has a module installed.

lonrsw02#show inter gig6/2 capabilities
GigabitEthernet6/2
  Dot1x:                 yes
  Model:                 WS-X6724-SFP
  Type:                  1000BaseSX
  Speed:                 1000
  Duplex:                full
  Trunk encap. type:     802.1Q,ISL
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off,on,desired),tx-(off,on,desired)
  Membership:            static
  Fast Start:            yes
  QOS scheduling:        rx-(1q8t), tx-(1p3q8t)
  CoS rewrite:           yes
  ToS rewrite:           yes
  Inline power:          no
  SPAN:                  source/destination
  UDLD                   yes
  Link Debounce:         yes
  Link Debounce Time:    yes
  Ports on ASIC:         1-12
  Port-Security:         yes

This interface does not have the module installed.

lonrsw02#show inter gig6/3 capabilities
GigabitEthernet6/3
  Dot1x:                 yes
  Model:                 WS-X6724-SFP
  Type:                  No Transceiver
  Speed:                 1000
  Duplex:                full
  Trunk encap. type:     802.1Q,ISL
  Trunk mode:            on,off,desirable,nonegotiate
  Channel:               yes
  Broadcast suppression: percentage(0-100)
  Flowcontrol:           rx-(off,on,desired),tx-(off,on,desired)
  Membership:            static
  Fast Start:            yes
  QOS scheduling:        rx-(1q8t), tx-(1p3q8t)
  CoS rewrite:           yes
  ToS rewrite:           yes
  Inline power:          no
  SPAN:                  source/destination
  UDLD                   yes
  Link Debounce:         yes
  Link Debounce Time:    yes
  Ports on ASIC:         1-12
  Port-Security:         yes
This post is copyright of Thropos Ltd ©2008-2011 at Etherealmind.com - contact | email: greg.ferro@packetpushers.net - twitter: @etherealmind | All rights reserved
About Greg Ferro

Greg Ferro is a Network Engineer/Architect, mostly focussed on Data Centre, Security Infrastructure, and recently Virtualization. He has over 20 years in IT, in wide range of employers working as a freelance consultant including Finance, Service Providers and Online Companies. He is CCIE#6920 and has a few ideas about the world, but not enough to really count.

He is a host on the Packet Pushers Podcast, blogger at EtherealMind.com and on Twitter @etherealmind and Google Plus

  • Tiago

    Hi,

    I’m a usual reader of your great blog… plenty of great posts!
    Keep up with the good work ;-)

    I just want to add something that maybe could help somebody out there, in case of a c76k with a ES20 card, we may use a great command that gives us a very detailed information, that already helped me in the past.
    Here is an example:

    c7609#sh hw-module subslot 9/0 transceiver 0 idprom
    IDPROM for transceiver GigabitEthernet9/0/0:
    Description = SFP optics (type 3)
    Transceiver Type: = GE LX (20)
    Product Indentifier (PID) = QFCT-5798LP
    Vendor Revision =
    Serial Number (SN) = AGT********6
    Vendor Name = CISCO-AVAGO
    Vendor OUI (IEEE company ID) = 00.17.6A (5994)
    CLEI code = N/A
    Cisco part number = N/A
    Device State = Enabled.
    Date code (yy/mm/dd) = 07/01/14
    Connector type = LC.
    Encoding = 8B10B
    NRZ
    Nominal bitrate = GE (1300 Mbits/s)
    Minimum bit rate as % of nominal bit rate = not specified
    Maximum bit rate as % of nominal bit rate = not specified

    See you,
    Tiago

  • http://blog.crimsonsilo.com Daniel Edwards

    Another command I find useful for this on newer code is “show inventory”. This includes SFPs and their serial numbers.

  • http://etherealmind.com Greg Ferro

    This worked, but the exact syntax that worked for me is below.

    lonrsw02#show inventory raw | b 6/2
    NAME: ìGigabit Port Container 6/2?, DESCR: ìGigabit Port Containerî
    PID: , VID: , SN:

    NAME: ìGi6/2?, DESCR: ì1000BaseSXî
    PID: , VID: , SN: AGMaaaaaaGPG

  • http://useopensource.blogspot.com/ Tristan Rhodes

    How about my favorite command, “show interface status”?

    Port Name Status Vlan Duplex Speed Type

    Gi1/20 disabled routed full 1000 No Transceiver

    Gi1/21 disabled routed full 1000 No Transceiver

    Gi1/22 FW INSIDE connected 10 full 1000 1000BaseSX

    Gi1/23 FW OUTSIDE connected 100 full 1000 1000BaseSX

  • http://www.yapchinhoong.com/ Yap Chin Hoong

    Thanks Greg, the “show inventory raw” command rocks! :-)