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