Page MenuHomeVyOS Platform

Show transceiver information from plugin modules, e.g SFP+, QSFP
Closed, ResolvedPublicFEATURE REQUEST

Description

Show transceiver information from plugin modules, e.g SFP+, QSFP

cat /opt/vyatta/share/vyatta-op/templates/show/interfaces/ethernet/node.tag/transceiver/node.def

help:  Show transceiver information from plugin modules, e.g SFP+, QSFP
allowed: ""
run: /sbin/ethtool -m "$4"

Example:

$ show interfaces ethernet eth2 transceiver 
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x21 (Copper pigtail)
        Transceiver codes                         : 0x00 0x00 0x00 0x00 0x00 0x04 0x00 0x00
        Transceiver type                          : FC: Copper Passive
        Encoding                                  : 0x00 (unspecified)
        BR, Nominal                               : 10300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 0km
        Length (SMF)                              : 0m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 3m
        Length (OM3)                              : 0m
        Passive Cu cmplnce.                       : 0x01 (SFF-8431 appendix E) [SFF-8472 rev10.4 only]
        Vendor name                               : OEM             
        Vendor OUI                                : 00:40:20
        Vendor PN                                 : SFP-H10GB-CU3M  
        Vendor rev                                : 03

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

daniil changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Jan 31 2019, 1:47 PM
Unknown Object (User) changed the task status from Open to Backport pending.Apr 26 2020, 7:52 AM
Unknown Object (User) edited projects, added Ready for Crux (1.2.x); removed vyatta-op.
Unknown Object (User) added a subscriber: Unknown Object (User).

Phabricator didn't get patches without task number, but this already in rolling
https://github.com/vyos/vyatta-op/commit/8dd886c9542cefe09d5a722307e0acbbf41ee9b8
I propose to backport this into crux.

dmbaturin set Is it a breaking change? to Perfectly compatible.