cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
515292
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

Transmit power is typically good when it is in the 6 dB range between -1 and -7 dBm. Receive power is normally expected between - 1 and -9.9 dBm.

can you check for me pls?

L3SW-32#show idprom interface gigabitEthernet 0/52

General SFP Information
-----------------------------------------------
Identifier : 0x03
Connector : 0x07
Transceiver : 0x00 0x81 0x01 0x01 0x01 0x01 0x0D 0x01
Encoding : 0x01
BR_Nominal : 0x0D
Vendor Name : OEM
Vendor Part Number : SFP-GE-L
Vendor Revision : 0x31 0x2E 0x30 0x20
Vendor Serial Number : KY113010771
-----------------------------------------------

EEPROM PAGE A0 bytes

-----------------------------------------------
000: 03 04 07 00 81 01 01 01 01 0D
010: 01 01 0D 00 0A 64 37 37 00 00
020: 4F 45 4D 20 20 20 20 20 20 20
030: 20 20 20 20 20 20 00 00 00 00
040: 53 46 50 2D 47 45 2D 4C 20 20
050: 20 20 20 20 20 20 31 2E 30 20
060: 05 1E 00 88 00 1A 00 00 4B 59
070: 31 31 33 30 31 30 37 37 31 20
080: 20 20 20 20 31 31 30 37 32 35
090: 20 20 68 90 01 8C 00 00 11 77
100: B2 1F 6F 77 13 90 01 46 1E E2
110: A7 EE E5 A0 46 00 00 00 00 00
120: 00 00 00 00 DA EE 9B 91 FF FF
130: FF FF FF FF FF FF FF FF FF FF
140: FF FF FF FF FF FF FF FF FF FF
150: FF FF FF FF FF FF FF FF FF FF
160: FF FF FF FF FF FF FF FF FF FF
170: FF FF FF FF FF FF FF FF FF FF
180: FF FF FF FF FF FF FF FF FF FF
190: FF FF FF FF FF FF FF FF FF FF
200: FF FF FF FF FF FF FF FF FF FF
210: FF FF FF FF FF FF FF FF FF FF
220: FF FF FF FF FF FF FF FF FF FF
230: FF FF FF FF FF FF FF FF FF FF
240: FF FF FF FF FF FF FF FF FF FF
250: FF FF FF FF FF
-----------------------------------------------

EEPROM PAGE A2 Bytes

-----------------------------------------------
000: 5F 00 D8 00 5A 00 DD 00 89 68
010: 72 81 85 96 76 52 C3 50 01 F4
020: AF C8 03 E8 27 10 01 F5 1F 07
030: 02 77 13 94 00 08 0F 8D 00 28
040: 00 00 00 00 00 00 00 00 00 00
050: 00 00 00 00 00 00 00 00 00 00
060: 00 00 00 00 00 00 00 00 3F 80
070: 00 00 00 00 00 00 01 00 00 00
080: 01 00 00 00 01 00 00 00 01 06
090: 00 00 00 00 00 A7 23 F0 80 60
100: 00 F8 00 04 00 01 00 00 00 00
110: 02 F8 05 40 00 00 05 40 00 00
120: 00 00 00 00 00 00 00 00 00 00
130: 00 00 00 00 00 00 00 00 00 00
140: 00 00 00 00 00 00 00 00 00 00
150: 00 00 00 00 00 00 00 00 00 00
160: 00 00 00 00 00 00 00 00 00 00
170: 00 00 00 00 00 00 00 00 00 00
180: 00 00 00 00 00 00 00 00 00 00
190: 00 00 00 00 00 00 00 00 00 00
200: 00 00 00 00 00 00 00 00 00 00
210: 00 00 00 00 00 00 00 00 00 00
220: 00 00 00 00 00 00 00 00 00 00
230: 00 00 00 00 00 00 00 00 00 00
240: 00 00 00 00 00 00 00 00 00 00
250: 00 00 00 00 00
-----------------------------------------------
Other Information
-------------------------------------------------------
Port asic num : 00
Port asic port num : 00
SFP presence index : 03
SFP iter cnt : 700723
SFP failed oper flag : 0x00000000
IIC error cnt : 0
IIC error dsb cnt : 0
IIC max sts cnt : 4
Chk for link status : 00
Link status : 00
Autoneg enable : 01
Flow control Pause : 00
Flow control asymPause: 00
Duplex mode : 00
PcsInfo : 0x053DB0D8
MacInfo : 0x053DB0B8 0x053DB0C0
AutoNeg : 0x053DB0C0 0x053DB0C8

Sfp selection asic reg map
--------------------------------
stbi : 0x02
sfpControl : 0x74
Regs Loc : 0xF0000000
--------------------------------
miscStatus
rps300Stat1 0
rps300Stat2 0
rps300Present 0
modeSwitchActive 0
stackPhyControl
sPhyLoopback 1
sPhyALock1 1
sPhyALock0 1
sPhyBLock1 1
sPhyBLock0 1
stackCable
cableIdA_1 1
cableIdA_0 1
eqSelectA_1 0
eqSelectA_0 0
cableIdB_1 1
cableIdB_0 1
eqSelectB_1 0
eqSelectB_0 0

SFF-8472 MSA EEPROM Data
===========================================
000 : 03 04 07 00 81 01 01 01 01 0D
010 : 01 01 0D 00 0A 64 37 37 00 00
020 : 4F 45 4D 20 20 20 20 20 20 20
030 : 20 20 20 20 20 20 00 00 00 00
040 : 53 46 50 2D 47 45 2D 4C 20 20
050 : 20 20 20 20 20 20 31 2E 30 20
060 : 05 1E 00 88 00 1A 00 00 4B 59
070 : 31 31 33 30 31 30 37 37 31 20
080 : 20 20 20 20 31 31 30 37 32 35
090 : 20 20 68 90 01 8C 00 00 11 77
100 : B2 1F 6F 77 13 90 01 46 1E E2
110 : A7 EE E5 A0 46 00 00 00 00 00
120 : 00 00 00 00 DA EE 9B 91

SFF-8472 Digital Diagnostic Monitoring Data
===========================================
000 : 5F 00 D8 00 5A 00 DD 00 89 68
010 : 72 81 85 96 76 52 C3 50 01 F4
020 : AF C8 03 E8 27 10 01 F5 1F 07
030 : 02 77 13 94 00 08 0F 8D 00 28
040 : 00 00 00 00 00 00 00 00 00 00
050 : 00 00 00 00 00 00 00 00 00 00
060 : 00 00 00 00 00 00 00 00 3F 80
070 : 00 00 00 00 00 00 01 00 00 00
080 : 01 00 00 00 01 00 00 00 01 06
090 : 00 00 00 00 00 A7 23 D8 80 48
100 : 00 F8 00 08 00 01 00 00 00 00
110 : 02 F8 05 40 00 00 05 40 00 00
120 : 00 00 00 00 00 00 00 00
YETI INTERNAL REGS
-----------------------------------------------
Location=0xD8000500 : Value=0x00
Location=0xD8000501 : Value=0x00
Location=0xD8000502 : Value=0x00
Location=0xD8000503 : Value=0x00
Location=0xD8000504 : Value=0x00
Location=0xD8000505 : Value=0x00
Location=0xD8000506 : Value=0x00
Location=0xD8000507 : Value=0x02
Location=0xD8000508 : Value=0x00
Location=0xD8000509 : Value=0x40
Location=0xD800050A : Value=0x00
Location=0xD800050B : Value=0x00
Location=0xD800050C : Value=0x05
Location=0xD800050D : Value=0x00
Location=0xD800050E : Value=0x01
Location=0xD800050F : Value=0x00
Location=0xD8000510 : Value=0x0F
yetiIICinited : Value=0x00000001
yetiIICLockPassCnt : Value=0
yetiIICLockFailCnt : Value=0
yetiIICLockApp : Value=40
-----------------------------------------------


-------------------------------------------------------

DEEPAK KUMAR
Level 1
Level 1

Hi All,

 

On Switch we can check the SFPs Model/Serial number by the well know commands like "show inventory" or also we can get some details about SFPs with the help of command "show interface status" and there are multiple help article on internet they can help us to get the details of Switch SFPs.

 

However for Router like Cisco ASR1001-X when we need to check the SFPs details then we also get confuse with "subslot and transceiver"

 

So to check the details information about port and SFPs you can use the below commands. (here it's output of ASR1001-X) Router

 

Deepak_Kumar#show hw-module interface  Gi0/0/0  transceiver idprom brief
IDPROM for transceiver GigabitEthernet0/0/0:
  Description                               = SFP or SFP+ optics (type 3)
  Transceiver Type:                         = GE SX (19)
  Product Identifier (PID)                  = GLC-SX-MMD
  Vendor Revision                           = 1.0
  Serial Number (SN)                        = <<<<<REMOVED>>>>>
  Vendor Name                               = CISCO
  Vendor OUI (IEEE company ID)              = <<<<<REMOVED>>>>>
  CLEI code                                 = <<<<<REMOVED>>>>>
  Cisco part number                         = <<<<<REMOVED>>>>>
  Device State                              = Disabled.
  Date code (yy/mm/dd)                      = <<<<<REMOVED>>>>>
  Connector type                            = LC.
  Encoding                                  = <<<<<REMOVED>>>>>
                                              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

 

 

 

Thanks

Deepak Kumar

Network Engineer

Thanks Mr. Deepak, Its working on router perfectly.

kolz
Level 1
Level 1

 

Ethernet --> show interface ethernet 1/1 transceiver details

FC --> show interface fc 1/1 transceiver details

----------------------------------------------------------------------------
Alarms Warnings
High Low High Low
----------------------------------------------------------------------------
Temperature 41.88 C 75.00 C -5.00 C 70.00 C 0.00 C
Voltage 3.23 V 3.63 V 2.97 V 3.46 V 3.13 V
Current 7.08 mA 10.50 mA 2.00 mA 10.50 mA 2.00 mA
Tx Power -2.47 dBm 1.70 dBm -14.09 dBm -1.30 dBm -10.00 dBm
Rx Power -4.02 dBm 3.00 dBm -17.45 dBm 0.00 dBm -13.37 dBm

For different Router like ASR-1001 this command can be used: The example show the output for the 6th transceiver in Modul 0/0.

sh hw-module subslot 0/0 transceiver 6 status
The Transceiver in slot 0 subslot 0 port 6 is enabled.
Module temperature = +30.964 C
Transceiver Tx supply voltage = 3285.4 mVolts
Transceiver Tx bias current = 9088 uAmps
Transceiver Tx power = -5.1 dBm
Transceiver Rx optical power = -5.7 dBm

Review Cisco Networking products for a $25 gift card