How to View Currently Installed SFP Modules

Printer Friendly Page

Overview

The small form-factor pluggable (SFP) is a compact, hot-pluggable transceiver used for both telecommunication and data communications applications. The PA-2000 Series, PA-3000 Series, PA-4000 Series, PA-5000 Series, and PA-7000 Series firewalls accept SFP module(s). This document describes how to view the currently installed SFP modules.

 

Details

From the CLI, run the following command:

> show system state filter sys.sX.pY.phy

where X=slot=1 and Y=port=21 for interface 1/21


Typical SFP module output

> show system state filter sys.s1.p19.phy

sys.s1.p19.phy: { 'link-partner': { }, 'media': SFP-Plus-Fiber, 'sfp': { 'connector':
LC, 'encoding': Reserved, 'identifier': SFP, 'transceiver': 10000B-SR, 'vendor-name':
OEM , 'vendor-part-number': PAN-SFP-PLUS-SR , 'vendor-part-rev': B4 , }, 'type':
Ethernet, }

> show system state filter sys.s1.p21.phy

sys.s1.p21.phy: { 'link-partner': { }, 'media': SFP-Plus-Fiber, 'sfp': { 'connec
tor':
LC, 'encoding': Reserved, 'identifier': SFP, 'transceiver': , 'vendor-name
': FINISAR
CORP.   , 'vendor-part-number': FTLX8574D3BCL   , 'vendor-part-rev':
A   , }, 'type':
Ethernet, }

 

Defective SFP module output

If the output appears similar to the sample below, then the SFP module may be defective:

sys.s1.p21.phy: { 'link-partner': { }, 'media': SFP-Fiber, 'sfp': { 'connector': 
vendor specific, 'encoding': Reserved, 'identifier': SFP, 'transceiver': , 'vendor-
name
': yyyyyyyyyyyyyyyy, 'vendor-part-number': yyyyyyyyyyyyyyyy, 'vendor-part-rev':
yyyy, }, 'type': Ethernet, }

 

Note: To verify the above output, unplug the SFP module from the initial SFP port and plug it into another SFP port. Run the same "show system state filter" command as above. If the output is the same, then the module is defective.

 

owner: gcapuno

Comments

If you use the filter-pretty variable instead, the output looks like this

Empty:

 

> show system state filter-pretty sys.s1.p13.phy

 

sys.s1.p13.phy: {

  link-partner: { },

  media: SFP-Empty,

  type: Ethernet,

}

 

Not Empty (Standard SFP):

> show system state filter-pretty sys.s1.p13.phy

 

sys.s1.p13.phy: {

  link-partner: { },

  media: SFP-CAT5,

  sfp: {

    connector: Unknown,

    encoding: 8B10B,

    identifier: SFP,

    transceiver: 1000B-T,

    vendor-name: FINISAR CORP.   ,

    vendor-part-number: FCLF-8521-3     ,

    vendor-part-rev: A   ,

  },

  type: Ethernet,

}

 

Not Empty (Standard SFP +):

 

)> show system state filter-pretty sys.s1.p23.phy

 

sys.s1.p23.phy: {

  link-partner: { },

  media: SFP-Plus-Fiber,

  sfp: {

    connector: LC,

    encoding: Reserved,

    identifier: SFP,

    transceiver: ,

    vendor-name: FINISAR CORP.   ,

    vendor-part-number: FTLX8571D3BCL   ,

    vendor-part-rev: A   ,

  },

  type: Ethernet,

}

Thanks so much for this. Considering how common SFP modules are, particularly on the larger platforms, this should be truncated into a "show interface sfpX/Y" or something.

Does anyone know if there is a command that uses the DDM and DOM functionality of the SFPs?

 

Functionality reference:

DDM, namely Digital Diagnostics Monitoring, is a technology used in SFP transceivers in order to give the end user the ability to monitor real-time parameters of the SFPs. Such parameters include optical output power, optical input power, temperature, laser bias current, and transceiver supply voltage etc.

DOM, short for Digital optical monitoring, is familiar with the DDM function. It is also a feature which allows you to monitor many parameters of the transceiver module in real-time. DOM allows you to monitor the TX (transmit) and RX (receive) of the module, as well as input/output power, temperature, and voltage.

http://www.fiber-optic-transceiver-module.com/about-ddm-dom-and-rgd-in-sfp-transceiver-module.html

Does anyone have the command version of this for 7K's or for QSFP's?

@Gun-Slinger, on a 7k unit, you may be able to use the following command to get info on the QSFP's:

 

show chassis { inventory | power | status {slot } }

 

Options >

inventory — Show chassis component information

power — Show chassis power usage information

status — Show chassis status information (can specify slot)

 

 

Thank you @jdelio, however I am looking for the module brand and part# as shown above and not found a command for that yet.

@Gun-Slinger,

 

Which slot is occupied by an NPC that has the SFP modules you are interested in?

 

For a 7050 that I am looking at, I first executed following command to determine which slots were occupied by NPCs:

 

admin@Lab32-75-PA-7050> show chassis inventory

 

Slot Component Serial Number Ports Revision Power (w)
Chassis 010108001609 1.0

1 PA-7000-20G-NPC 002801003052 24 1.0 350
2 PA-7000-20GQ-NPC 011701002057 14 1.0 350
3 empty
4 PA-7050-SMC 002101001638 0 2.0 300
5 empty
6 empty
7 empty
8 PA-7000-LPC 001401002212 0 1.0 300

FANTRAY1 PA-7050-FANTRAY 011108003458 1.0 175
FANTRAY2 PA-7050-FANTRAY 011108003459 1.0 175

PS1 CAR2548FPBCXZ03A CH68716 3 2500 (+)
PS2 CAR2548FPBCXZ03A CH68720 3 2500 (+)
PS3 CAR2548FPBCXZ03A CH72235 3 2500 (+)
PS4 0 (+)

 

I have determined that Slot 2 has an NPC with SFP transcievers by executing

 

> show system state filter-pretty sys.s2.*

 

From the output of that command, I determined that Port 13 has a reciever. To identify the Brand and Part Number of the receiver in Port 13, I then executed:

 

admin@Lab32-75-PA-7050> show system state filter-pretty sys.s2.p13.phy

sys.s2.p13.phy: {
link-partner: { },
media: QSFP-Plus-Fiber,
sfp: {
connector: Reserved,
encoding: 64B66B,
identifier: Reserved,
transceiver: S dist,SN,M5,
vendor-name: FINISAR CORP ,
vendor-part-number: FCBN410QB1C10 ,
vendor-part-rev: B Bh,
},
type: Ethernet,
}

 

 

How can you check the transceivers in the HSCI ports of a 7k are functioning? Can you use the same "show system state filter-pretty sys.sX.pX.phy" command with different syntax?

For the 7050 you have two HSCI ports hsci-a and hsci-b.

You can run the below commands.

 

hsci-a:

 

show system state filter ha.net.s4.hsci-a.hwcfg

show system state filter ha.net.s4.hsci-a.stats

 

hsci-b

 

show system state filter ha.net.s4.hsci-b.hwcfg

show system state filter ha.net.s4.hsci-b.stats

 

To show the HSCI on a 3220 you do the following commands.

 

show system state filter-pretty ha.net.s0.hsci.hwcfg

 

show system state filter-pretty ha.net.s0.hsci.stats

 

and you can do this to show the 10Gbe ports

 

show system state filter-pretty sys.s1.p19.phy

 

sys.s1.p19.phy: {
link-partner: { },
media: SFP-Plus-Fiber,
sfp: {
connector: LC,
encoding: Reserved,
identifier: SFP,
transceiver: 10000B-SR,
vendor-name: FiberStore ,
vendor-part-number: SFP-10GSR-85 ,
vendor-part-rev: A ,
},
type: Ethernet,
}