Description

Upon inserting a SFP into port 0/0 of MIC-3D-20GE-SFP, the following is printed:
fpc1 MIC(1/0)(1): SFP plugged in

This can be confusing, as the interface name is ge-1/0/0, not ge-1/0/1.

Symptoms

Consider this hardware:
FPC 1            REV 21   750-031088   ZX7000            MPC Type 2 3D Q
  MIC 0          REV 16   750-049846   CAGV8000          3D 20x 1GE(LAN)-E,SFP
    PIC 0                 BUILTIN      BUILTIN           10x 1GE(LAN) -E  SFP
      Xcvr 0     REV 01   740-013111   8177000           SFP-T
      Xcvr 4     REV 01   740-038291   PTA1AAA           SFP-T
    PIC 1                 BUILTIN      BUILTIN           10x 1GE(LAN) -E  SFP
      Xcvr 8     REV 02   740-011613   AM0926SAAAA       SFP-SX


Which creates these interfaces:
ge-1/0/0
ge-1/0/4
ge-1/1/8


When inserting a SFP, messages are printed:
fpc1 MIC(1/0)(1): SFP plugged in
fpc1 MIC(1/0)(2): SFP plugged in
fpc1 MIC(1/1)(3): SFP plugged in

 

Solution

This comes from the FPC's view of the SFP index, which does not have a 0 index to begin, so port 1 is index 2:
NPC1(lab-MX480-RE0 vty)# show sfp list   
...
Index   Name             Presence     ID Eprom  PNO         SNO          calibr   Toxic
-----   --------------   ----------   --------  ----------  ----------- -------  -------
    1      MIC(1/0)(0)      Present   Complete  740-013111  8177047           Unknown
    2      MIC(1/0)(4)      Present   Complete  740-038291  PTA1CBE           Unknown
    3      MIC(1/1)(8)      Present   Complete  740-011613  AM0926SBX2V     int    Unknown


If SFP's are not installed in order, the indexes may be out of order as well, so it is necessary to check this command when reading the FPC syslog.

Take note of log entries which start with " fpc1 " or similar, as these lines come directly from the ' pfe notice ' syslog configuration. As such, some knowledge of how the FPC indexes the SFP's is needed. It may also be helpful to check these commands:
show chassis pic
show chassis hardware


Other platforms do not have this problem, like MX204.