In the current release of Junos OS, it is not possible to distinguish between different types of CFP optic modules using the command line interface. This article explains why this is so, and suggests using part numbers to distinguish between types.
Junos OS cannot distinguish between GEN1 and GEN2 types of CFP-100GBASE-LR4 optic module from command line interface (CLI).
In the current software implementation, when the packet forwarding engine (PFE) is determining the type of CFP, it does not check for a part number.
Instead, the code only checks the transceiver type from ideeprom , which is common to each generation. This means the software is not able to distinguish between the types by using the description returned by the command show chassis hardware .
ideeprom
show chassis hardware
Use part numbers to distinguish between types.
Example:
user@router> show chassis hardware Hardware inventory: Item Version Part number Serial number Description Xcvr 0 REV 01 740-032210 ----------- CFP-100G-LR4 <-- Type GEN1 Xcvr 0 REV 01 740-047682 ----------- CFP-100G-LR4 <-- Type GEN2
2020-08-03: Reviewed for accuracy and it does not need any changes.