Description

This article explains how to check whether an SFP+ is NEBS compliant or not by using show sfp <index> from the shell of the FPC. 

 

Symptoms

We can see whether an SFP is NEBS compliant or not by using show sfp <index> from the shell of the FPC.

This command is supported on mic and cmic driver code from Junos OS 15.1F6, 16.1R1, and later releases.

########## Junos 16.1R7.7 ##########

--- JUNOS 16.1R7.7 Kernel 64-bit  JNPR-10.3-20180601.93ff995_buil
user@mx2020-re0> show chassis hardware
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                JN11E24C8AFJ      MX2020
Midplane         REV 51   750-040240   ABAB9443          Lower Backplane
Midplane 1       REV 04   711-032386   ABAB8572          Upper Backplane
PMP 1            REV 05   711-032428   ACAJ1865          Upper Power Midplane
PMP 0            REV 04   711-032426   ACAJ1884          Lower Power Midplane
FPM Board        REV 13   760-040242   ABCA1159          Front Panel Display
PSM 0            REV 04   740-045050   1EDB3050052       DC 52V Power Supply Module
PSM 1            REV 04   740-045050   1EDB3050068       DC 52V Power Supply Module
PSM 2            REV 04   740-045050   1EDB3050053       DC 52V Power Supply Module
PSM 3            REV 04   740-045050   1EDB305005T       DC 52V Power Supply Module
PSM 4            REV 04   740-045050   1EDB305005Z       DC 52V Power Supply Module
PSM 5            REV 04   740-045050   1EDB305006B       DC 52V Power Supply Module
PSM 6            REV 04   740-045050   1EDB305006F       DC 52V Power Supply Module
PSM 7            REV 04   740-045050   1EDB305006J       DC 52V Power Supply Module
PSM 8            REV 04   740-045050   1EDB305006D       DC 52V Power Supply Module
PSM 9            REV 04   740-045050   1EDB305005S       DC 52V Power Supply Module
PSM 10           REV 04   740-045050   1EDB305006Y       DC 52V Power Supply Module
PSM 11           REV 04   740-045050   1EDB305005G       DC 52V Power Supply Module
PSM 12           REV 04   740-045050   1EDB305004S       DC 52V Power Supply Module
PSM 13           REV 04   740-045050   1EDB305006Z       DC 52V Power Supply Module
PSM 14           REV 04   740-045050   1EDB3050071       DC 52V Power Supply Module
PSM 15           REV 04   740-045050   1EDB305005V       DC 52V Power Supply Module
PSM 16           REV 04   740-045050   1EDB3050070       DC 52V Power Supply Module
PSM 17           REV 04   740-045050   1EDB305006X       DC 52V Power Supply Module
PDM 0            REV 01   740-045234   1EGA2480034       DC Power Dist Module
PDM 1            REV 01   740-045234   1EGA2480014       DC Power Dist Module
PDM 2            REV 01   740-045234   1EGA2480001       DC Power Dist Module
PDM 3            REV 01   740-045234   1EGA2480030       DC Power Dist Module
Routing Engine 0 REV 01   740-052100   9009232614        RE-S-1800x4
Routing Engine 1 REV 02   740-041821   9009115226        RE-S-1800x4
CB 0             REV 07   750-051985   CADW6869          Control Board
CB 1             REV 23   750-040257   CAAP3602          Control Board
SPMB 0           REV 04   711-041855   ABCZ8276          PMB Board
SPMB 1           REV 02   711-041855   ABCC1071          PMB Board
SFB 1            REV 06   711-044466   ABCA1041          Switch Fabric Board
SFB 2            REV 06   711-044466   ABCA1034          Switch Fabric Board
SFB 3            REV 06   711-044466   ABCA1033          Switch Fabric Board
SFB 4            REV 06   711-044466   ABCA1039          Switch Fabric Board
SFB 5            REV 06   711-044466   ABCA1070          Switch Fabric Board
SFB 6            REV 06   711-044466   ABCA1087          Switch Fabric Board
SFB 7            REV 06   711-044466   ABCA1047          Switch Fabric Board
FPC 2            REV 61   750-044130   ABCP1934          MPC6E 3D
  CPU            REV 11   711-045719   ABCV0903          RMPC PMB
  MIC 0          REV 28   750-046532   ABDH1542          24X10GE SFPP
    PIC 0                 BUILTIN      BUILTIN           24X10GE SFPP
      Xcvr 0     REV 01   740-031980   ANT08E4           SFP+-10G-SR
      Xcvr 1     REV 01   740-031980   ANT07SU           SFP+-10G-SR
      Xcvr 2     REV 01   740-031980   APJ1WTC           SFP+-10G-SR
  MIC 1          REV 24   750-049979   ABDD6823          24X10GE SFPP OTN
    PIC 1                 BUILTIN      BUILTIN           24X10GE SFPP OTN
      Xcvr 0     REV 01   740-031980   ANT089Y           SFP+-10G-SR
      Xcvr 2     REV 01   740-031980   ANT04XB           SFP+-10G-SR
      Xcvr 22    REV 01   740-021308   AKE0GBB           SFP+-10G-SR
      Xcvr 23    REV 01   740-031980   ANT08C4           SFP+-10G-SR
  XLM 0          REV 13   711-046638   ABCV0834          MPC6E XL
  XLM 1          REV 13   711-046638   ABCV0872          MPC6E XL
FPC 6            REV 22   750-028467   YE2667            MPC 3D 16x 10GE
  CPU            REV 09   711-029089   YE2825            AMPC PMB
  PIC 0                   BUILTIN      BUILTIN           4x 10GE(LAN) SFP+
  PIC 1                   BUILTIN      BUILTIN           4x 10GE(LAN) SFP+
    Xcvr 0       REV 01   740-031980   ANT07QJ           SFP+-10G-SR
    Xcvr 1       REV 01   740-021308   AD165130Y98       SFP+-10G-SR
    Xcvr 2       REV 01   740-031980   AA161531T3N       SFP+-10G-SR
    Xcvr 3       REV 01   740-031980   AA161431PMH       SFP+-10G-SR
  PIC 2                   BUILTIN      BUILTIN           4x 10GE(LAN) SFP+
  PIC 3                   BUILTIN      BUILTIN           4x 10GE(LAN) SFP+
ADC 6            REV 21   750-043596   ABDN6996          Adapter Card
Fan Tray 0       REV 06   760-046960   ACAY0136          172mm FanTray - 6 Fans
Fan Tray 1       REV 06   760-046960   ACAY0161          172mm FanTray - 6 Fans
Fan Tray 2       REV 06   760-046960   ACAY0147          172mm FanTray - 6 Fans
Fan Tray 3       REV 03   760-052467   ACAY7547          172mm FanTray - 6 Fans

user@mx2020-re0> start shell pfe network fpc2

RMPC platform (1200Mhz QorIQ P2020 processor, 3584MB memory, 512KB flash)

RMPC2(mx2020-re0 vty)# show sfp list
SFP Toolkit summary:
  wakeup count: 731, debug: 0, periodic enabled: 1, diagnostics enabled: 1
  thread: 0x16e6ff68, itable: 0x15e77fb8, itable iterator: 0, sem: 0x15e80818
  polling interval delay:  1000 ms, polling max cpu:   30 ms
  poll for diags every  2 wakeups , SFPs polled for diags last time:  7
  last periodic CPU time:   16 ms, maximum periodic CPU time:     85 ms
  max SFPs to poll per interval: 24
SFP Toolkit syslog throttling parameters:
  period: 120 samples , disable threshold:  10, enable threshold   0
  SFP periodic diagnostics polling count: 65535

                                                                         diag
Index   Name             Presence     ID Eprom  PNO         SNO          calibr   Toxic
-----   --------------   ----------   --------  ----------  ----------- -------  -------
    1      CMIC (2/0)(0)      Present   Complete  740-031980  ANT08E4         int    Unknown
    2      CMIC (2/0)(1)      Present   Complete  740-031980  ANT07SU         int    Unknown
    3      CMIC (2/0)(2)      Present   Complete  740-031980  APJ1WTC         int    Unknown
    4      CMIC (2/1)(0)      Present   Complete  740-031980  ANT089Y         int    Unknown
    5      CMIC (2/1)(2)      Present   Complete  740-031980  ANT04XB         int    Unknown
    6    CMIC (2/1)(22)      Present   Complete  740-021308  AKE0GBB         int    Unknown
    7    CMIC (2/1)(23)      Present   Complete  740-031980  ANT08C4         int    Unknown

I2C Acceleration table
Index   Name             Presence     ID Eprom     Reg ID    I2C Master    I2C Group
-----   --------------   ----------   --------    --------    ------------   -------

RMPC2(mx2020-re0 vty)# show sfp 1

SFP driver state:
  index: 1
  vector: 0x126d1624, pic context: 0x2418c218 sfp name: 'CMIC(2/0)' , pic arg: 0
  type: 2, present: 1, id memory scanned: 1 delay count 0
  change: 0, failure count 0, diags enabled: 1, diags polling count = 201, no diags polling from RE = 1
  eeprom read time:  21 ms, diagnostics read time:   0 ms
SFP capability register values
  diags implemented: 1, diag alarms implemented: 1
  addr change required: 0, int calibration: 1, ext calibration: 0
Linkstate: UP

I2C accel information:
is valid = FALSE
reg ID = 0
Master index = 0
Master index = 0
Request flags = 0x0
Status flags = 0x0
Last request index = 0

  SFP ID eeprom data:
   Cable Type:          59 (SFP+-10G-SR)
   SFP xcvr codes:
   PNO:                 740-031980
   SNO:                 ANT08E4
   REV:                 REV 01
   Vendor name:         FINISAR CORP.
   Vendor PNO:          FTLX8571D3BNL-J1
   Vendor REV:          A

   ID:                  0x03
   Extended ID:         0x04
   Connector type:      0x07
   Transceiver type:    0x00
   SFF-8472 compliance: v10.2
    NEBS compliance:     Yes
   Wavelength           850 nm
   Fiber mode           MM
   I2C write delay:     400 us
   Tunable:             False

-- snip --

user@mx2020-re0> start shell pfe network fpc6

NPC platform (1067Mhz MPC 8548 processor, 2048MB memory, 512KB flash)

NPC6(mx2020-re0 vty)# show sfp list
SFP Toolkit summary:
  wakeup count: 516, debug: 0, periodic enabled: 1, diagnostics enabled: 1
  thread: 0x47130ac8, itable: 0x46126358, itable iterator: 0, sem: 0x4612ec38
  polling interval delay:  1000 ms, polling max cpu:  100 ms
  poll for diags every  3 wakeups , SFPs polled for diags last time:  4
  last periodic CPU time:   14 ms, maximum periodic CPU time:    141 ms
  max SFPs to poll per interval: 0
SFP Toolkit syslog throttling parameters:
  period: 120 samples , disable threshold:  10, enable threshold   0
  SFP periodic diagnostics polling count: 65535

                                                                         diag
Index   Name             Presence     ID Eprom  PNO         SNO          calibr   Toxic
-----   --------------   ----------   --------  ----------  ----------- -------  -------
    1      MIC (6/1)(0)      Present   Complete  740-031980  ANT07QJ         int    No
    2      MIC (6/1)(1)      Present   Complete  740-021308  AD165130Y98     int    No
    3      MIC (6/1)(2)      Present   Complete  740-031980  AA161531T3N     int    No
    4      MIC (6/1)(3)      Present   Complete  740-031980  AA161431PMH     int    No

I2C Acceleration table
Index   Name             Presence     ID Eprom     Reg ID    I2C Master    I2C Group
-----   --------------   ----------   --------    --------    ------------   -------

NPC6(mx2020-re0 vty)# show sfp 1

SFP driver state:
  index: 1
  vector: 0x42808958, pic context: 0x53d70398 sfp name: 'MIC(6/1)' , pic arg: 0
  type: 2, present: 1, id memory scanned: 1 delay count 0
  change: 0, failure count 0, diags enabled: 1, diags polling count = 96, no diags polling from RE = 1
  eeprom read time:  47 ms, diagnostics read time:   3 ms
SFP capability register values
  diags implemented: 1, diag alarms implemented: 1
  addr change required: 0, int calibration: 1, ext calibration: 0
Linkstate: UP

I2C accel information:
is valid = FALSE
reg ID = 0
Master index = 0
Master index = 0
Request flags = 0x0
Status flags = 0x0
Last request index = 0

  SFP ID eeprom data:
   Cable Type:          59 (SFP+-10G-SR)
   SFP xcvr codes:
   PNO:                 740-031980
   SNO:                 ANT07QJ
   REV:                 REV 01
   Vendor name:         FINISAR CORP.
   Vendor PNO:          FTLX8571D3BNL-J1
   Vendor REV:          A

   ID:                  0x03
   Extended ID:         0x04
   Connector type:      0x07
   Transceiver type:    0x00
   SFF-8472 compliance: v10.2
    NEBS compliance:     Yes
   Wavelength           850 nm
   Fiber mode           MM
   I2C write delay:     400 us
   Tunable:             False

-- snip --

In Junos OS 15.1R releases, the same is not displayed. 

########## Junos 15.1R7.8 ##########

--- JUNOS 15.1R7.8 Kernel 64-bit  JNPR-10.3-20180310.ba55661_buil
user@mx2020-re0> start shell pfe network fpc2

RMPC platform (1200Mhz QorIQ P2020 processor, 3584MB memory, 512KB flash)

RMPC2(mx2020-re0 vty)# show sfp 1

SFP driver state:
  index: 1
  vector: 0x120b60e0, pic context: 0x22865358, sfp name: 'CMIC(2/0)' , pic arg: 0
  type: 2, present: 1, id memory scanned: 1 delay count 0
  change: 0, failure count 0, diags enabled: 1, diags polling count = 214, no diags polling from RE = 1
  eeprom read time:  21 ms, diagnostics read time:   0 ms
SFP capability register values
  diags implemented: 1, diag alarms implemented: 1
  addr change required: 0, int calibration: 1, ext calibration: 0
Linkstate: UP

I2C accel information:
is valid = FALSE
reg ID = 0
Master index = 0
Master index = 0
Request flags = 0x0
Status flags = 0x0
Last request index = 0

  SFP ID eeprom data:
   Cable Type:          59 (SFP+-10G-SR)
   SFP xcvr codes:
   PNO:                 740-031980
   SNO:                 ANT08E4
   REV:                 REV 01
   Vendor name:         FINISAR CORP.
   Vendor PNO:          FTLX8571D3BNL-J1
   Vendor REV:          A

   ID:                  0x03
   Extended ID:         0x04
   Connector type:      0x07
   Transceiver type:    0x00
   SFF-8472 compliance: v10.2
   Wavelength           850 nm
   Fiber mode           MM
   I2C write delay:     400 us
   Tunable:             False

-- snip --

user@mx2020-re0> start shell pfe network fpc6

NPC platform (1067Mhz MPC 8548 processor, 2048MB memory, 512KB flash)

NPC6(mx2020-re0 vty)# show sfp 1

SFP driver state:
  index: 1
  vector: 0x42473100, pic context: 0x5291a170, sfp name: 'MIC(6/1)' , pic arg: 0
  type: 2, present: 1, id memory scanned: 1 delay count 0
  change: 0, failure count 0, diags enabled: 1, diags polling count = 116, no diags polling from RE = 1
  eeprom read time:  47 ms, diagnostics read time:   4 ms
SFP capability register values
  diags implemented: 1, diag alarms implemented: 1
  addr change required: 0, int calibration: 1, ext calibration: 0
Linkstate: UP

I2C accel information:
is valid = FALSE
reg ID = 0
Master index = 0
Master index = 0
Request flags = 0x0
Status flags = 0x0
Last request index = 0

  SFP ID eeprom data:
   Cable Type:          59 (SFP+-10G-SR)
   SFP xcvr codes:
   PNO:                 740-031980
   SNO:                 ANT07QJ
   REV:                 REV 01
   Vendor name:         FINISAR CORP.
   Vendor PNO:          FTLX8571D3BNL-J1
   Vendor REV:          A

   ID:                  0x03
   Extended ID:         0x04
   Connector type:      0x07
   Transceiver type:    0x00
   SFF-8472 compliance: v10.2
   Wavelength           850 nm
   Fiber mode           MM
   I2C write delay:     400 us
   Tunable:             False

-- snip --

 

Solution

We can see whether an SFP is NEBS compliant or not by using show sfp <index> from the shell of the FPC.

This command is supported on mic and cmic driver code from Junos OS 15.1F6, 16.1R1, and later releases.