cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513110
Views
222
Helpful
20
Replies

Command to check SFPs

Navneet_singh
Level 1
Level 1

Hi All,

What command can we use to check the type of SFP inserted in a switch or Router? I needed to check if the blade in my 4500 switch is populated with any SFPs? Will the command be applicable for other series of Catalyst switches as well?

Appreciate your help.

Cheers

Navneet

20 Replies 20

Latchum Naidu
VIP Alumni
VIP Alumni

Hi Navneet,

Try with the below commands...

sh diag
sh hard
sh inv

Output depends on software version with later versions displaying more.
Also snmp may show further info...

snmpwalk


Also check the below command...

show-module subslot 9/0 transceiver 0 idprom
http://etherealmind.com/which-gigabit-sfp-installed-in-cisco-module/


Hope this helpes you...
Please rate the helpfull posts.

Regards,
Naidu.

How we verify the Original cisco SFP modules as mentioned below serial #

01           SFNS16351C58

02           SFNS16330KV0

03           SFNS16351C57

04           SFNS16351C47

05           SFNS16330KUU

06           SFNS163300EW

07           SFNS16330XHH

08           SFNS16351C54

09           SFNS16351C51

10           SFNS1633088Q

11           SFNS163308B3

12           SFNS16350BYZ

13           SFNS16330LX9

14           SFNS16351C69

15           SFNS16351C60

16           SFNS16351C6G

17           SFNS16351C66

18           SFNS16330LX7

19           SFNS16330LXF

20           SFNS16351C50

Hi 

How can show wave lengh of int Teng in cisco routers 7600 series  such az command in asr9k : show controllers dwdm 0/0/0/0 optic 

 

Thanks

Shashank Singh
Cisco Employee
Cisco Employee

Hi Navneet,

If there is an SFP inserted in a port, it will be seen in the 'show inventory' output. If you know the port number, you can also do "sh interface transceiver det" and check on SFP details.

Cheers,

Shashank

P.S. Please rate helpful posts.

Thanks for your inputs guys. "Sh inv" does not show me the type of SFP installed? If it's a GLC-SX-MM or a GLC-LH-SM etc.. Also, the "sh hw-module subslot 9/0 transceiver 0 idprom" command is not supported in my switch.

Is there any other command that can be useful? My switch is a WS-C4503-E running cat4500e-ipbase-mz.122-46.SG.bin image.

Cheers

Navneet

Hi Navneet,

As far as I know, there is no command that can tell precisely whether the SFP is a GLC-SX-MM or a GLC-LH-SM. "show inventory" shows the part ID of the SFP installed which can be used to find out the transceiver type.

Try "sh idprom interface gix/y". This command reads the contents from the EEPROM of the SFP installed and I havent seen anything more granular.

Good luck!

Shashank

P.S. Please rate the useful posts

I could be wrong but the " show interface x/y" command should give you the exact details.


  Hardware is Gigabit Ethernet, address is 001b.0c0d.e71b  (bia 001b.0c0d.e71b)
  Description: Dot1Q Link to Data2Floor2
  MTU  1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255,  txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive  not set
  Auto-duplex, Auto-speed, link type is auto, media type is  1000BaseCX SFP Cable --> Check this
  input flow-control is off, output flow-control  is unsupported

Cheers,

-amit singh

Could you also check this command on your switch?

Switch# show interfaces gigabitethernet1/2 status
Port      Name         Status       Vlan       Duplex  Speed Type
Gi1/2                  notconnect   1            auto   1000 1000-XWDM-RXONLY

Cheers,
-amit singh

Hi Shashank,

sh idprom interface gix/y command gives me the transceiver and connector type. This works for me..

Thanks for your inputs.

Cheers

Navneet

Glad to know that Navneet Please rate posts so that visitors to the thread identify helpful answers easily

Cheers

Thaaaaaaanks!

show int t5/1 transceiver detail
ITU Channel not available (Wavelength not available),
Transceiver is internally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.

High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
--------- ------------------ ---------- --------- --------- ---------
Te5/1 31.6 75.0 70.0 0.0 -5.0

High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
--------- --------------- ---------- --------- --------- ---------
Te5/1 3.29 3.60 3.50 3.10 3.00

Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
--------- ----------------- ---------- --------- --------- ---------
Te5/1 -2.3 3.4 0.4 -8.2 -12.2

Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Te5/1 -5.1 3.4 0.4 -14.4 -18.4

Thanks, this helped!  On a Nexus switch, you can enter show int e 1/1 transceiver detail for a particular interface, or just show int transceiver detail to get the whole list.  It gives you output like this:

 

Ethernet1/34

    transceiver is present

    type is 1000base-T

    name is 10Gtek          

    part number is SFP-GE-T        

    revision is     

    serial number is CSC1801122544   

    nominal bitrate is 1300 MBit/sec

    Link length supported for copper is 100 m

    cisco id is --

    cisco extended id number is 4

 

Since I was looking to see whose SFPs were in which port, the "name" field was very useful.  

kindly let me know which value is normal -.5.0 or -40.0 in the optical receive power column, or in other words which value would be best for the optical fiber port

Getting Started

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:

Review Cisco Networking products for a $25 gift card