2 September 2010

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

Please rate this post:

1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (No Ratings Yet)
Loading ... Loading ...

About Greg Ferro
Greg is a Network and Security Architect / Designer / Engineer working freelance in the UK and worked for Resellers, DotCom's, Large Corporate's and Service Providers across a variety of products & Vendors. He prefers to work for end users, believes in the life cycle, total cost of ownership and that near enough is often good enough. He likes talking about himself in the first person to feel "royal", even when hosting the Packet Pushers Podcast on Data Networking. More about Greg at http://etherealmind.com/who-am-i/ and you can follow him on Twitter.

Comments

  1. Tiago says:

    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

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

  3. Greg Ferro says:

    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

  4. 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

Speak Your Mind

*