cancel
Showing results for 
Search instead for 
Did you mean: 

Using netsight to get tranciever inventory report

Using netsight to get tranciever inventory report

Byron_Morales
New Contributor II
Is there a way to use netsight to gather a list/report of all the transceivers used in all my network?
3 REPLIES 3

Erik_Auerswald
Contributor II
With S-Series, K-Series, and 7100 switches, you could use a NetSight command script to execute
show port transceiver *.*.* Of course, one would want to have a FlexView or some kind of OneView Report that can collect this information for all the different Extreme Networks switches, but that is currently not possible, as far as I know. 😞

Currently, one needs to stitch together lots of individual solutions:
  • EXOS switches support a couple of REST APIs, using XML or JSON, depending on EXOS version
  • some EXOS and EOS switches support CLI commands directly via SSH command line (e.g. ssh admin@switch show config)
  • all switches can be accessed using expect and SSH (or telnet) to automate CLI commands
  • EOS switches usually provide lots of info via SNMP, but one needs to read the MIBs, use the NetSight MIB Tool, or find a fitting FlexView to discover this (SecureStacks implement different parts of MIBs than S-Series, for example)
All of the above solutions require different commands (with differing output) or SNMP OIDs to read the same information.

It would be nice if Extreme Management could abstract these differences and allow easy access to the information, at least for all Extreme Networks branded devices.

Thanks,
Erik

Drew_C
Valued Contributor III
There's a few threads that talk about ways to get this information via REST in JSON format. See below.
Transceiver DDMI stats via SNMP
Get info by SNMP about "ports transceiver information"

EtherMAN
Contributor III
Not a scripter and there is not a mib to my knowledge that will pull this info but a couple of cli commands to get this info is below and examples of the output...

You would have to write a script to pull this on multiple switches and have a way to capture the output...

BD8900_PHONCore_1.1 # debug hal show optic-info slot 1

Optic Info for Slot 1
Port 1
XFP Vendor: FINISAR CORP.
XFP Part Number: FTLX8511D3-EX
XFP Serial Number: 1227P-10399
XFP Revision: 00
Date Code: 120627
Transceiver Type: XFP
Connector: LC
10GE Compliance: 10GBASE-SR
XFP Supported: yes
XFP Display String: 10GBase-SR
XFP CMU Lock: 1
XFP CDR Lock: 1
XFP PowerDown: 0
XFP Signal Present: 1
XFP Mod NR: 0
XFP Tx Disable: 0
XFP Int: 1
XFP Mod Sel: 0
XFP Phy Mux Sel: 0
XFP Phy Mode: 0
XFP Phy Clock Mode: 1
XFP Phy LASI: 1
XFP Phy LOS: 1

You would have to then parse your data to fields. This has to be done for each slot on a chassis switch but on a single switch it will give you all ports with this command

debug hal show optic-info

Not sure how far back on the XOS images this is supported and I am not sure if there is a similar command for non XOS switches. This is still easier than doing a single command for each port
show port 1:1 transceiver info detail.

If you are after the optical and performance information then this is the command

BD8900_PHONCore_1.3 # debug hal show optic-info ddmi slot 1
Optic Info for Slot 1
Port 1
XFP Vendor: FINISAR CORP.
XFP Part Number: FTLX8511D3-EX
XFP Serial Number: 1227P-10399
XFP Revision: 00
Date Code: 120627
Transceiver Type: XFP
Connector: LC
10GE Compliance: 10GBASE-SR
XFP Supported: yes
XFP Display String: 10GBase-SR
XFP CMU Lock: 1
XFP CDR Lock: 1
XFP PowerDown: 0
XFP Signal Present: 1
XFP Mod NR: 0
XFP Tx Disable: 0
XFP Int: 1
XFP Mod Sel: 0
XFP Phy Mux Sel: 0
XFP Phy Mode: 0
XFP Phy Clock Mode: 1
XFP Phy LASI: 1
XFP Phy LOS: 1
Temperature High Alarm : 78 C (0x4e00)
Temperature High Warning : 73 C (0x4900)
Temperature : 34 C (0x22ff)
Temperature Low Warning : -3 C (0xfffffd00)
Temperature Low Alarm : -8 C (0xfffff800)
Temperature Status : Normal
Tx Bias High Alarm : 12000 uA (0x1770)
Tx Bias High Warning : 11000 uA (0x157c)
Tx Bias : 7718 uA (0xf13)
Tx Bias Low Warning : 5000 uA (0x9c4)
Tx Bias Low Alarm : 4000 uA (0x7d0)
Tx Bias Status : Normal
Tx Power High Alarm : 1584 uW (0x3de9)
Tx Power High Warning : 1258 uW (0x312d)
Tx Power : 624 uW (0x1863)
Tx Power Low Warning : 251 uW (0x9d0)
Tx Power Low Alarm : 199 uW (0x7cb)
Tx Power Status : Normal
Rx Power High Alarm : 1778 uW (0x4577)
Rx Power High Warning : 1584 uW (0x3de9)
Rx Power : 621 uW (0x1845)
Rx Power Low Warning : 34 uW (0x15b)
Rx Power Low Alarm : 27 uW (0x113)
Rx Power Status : Normal
AUX 1 High Alarm : 36300
AUX 1 High Warning : 35000
AUX 1 : 33107
AUX 1 Low Warning : 31000
AUX 1 Low Alarm : 30000
AUX 1 Status : Normal
AUX 1 Measurement : +3.3 Supply Voltage
AUX 2 High Alarm : 54967
AUX 2 High Warning : 31293
AUX 2 : 0
AUX 2 Low Warning : 56809
AUX 2 Low Alarm : 40450
AUX 2 Status : N/A
AUX 2 Measurement : AUX not implemented
Temperature High Alarm Int/Mask : 0/0
Temperature Low Alarm Int/Mask : 0/0
Temperature High Warning Int/Mask : 0/0
Temperature Low Warning Int/Mask : 0/0
Tx Bias High Alarm Int/Mask : 0/0
Tx Bias Low Alarm Int/Mask : 0/0
Tx Bias High Warning Int/Mask : 0/0
Tx Bias Low Warning Int/Mask : 0/0
Tx Power High Alarm Int/Mask : 0/0
Tx Power Low Alarm Int/Mask : 0/0
Tx Power High Warning Int/Mask : 0/0
Tx Power Low Warning Int/Mask : 0/0
Rx Power High Alarm Int/Mask : 0/0
Rx Power Low Alarm Int/Mask : 0/0
Rx Power High Warning Int/Mask : 0/0
Rx Power Low Warning Int/Mask : 0/0
AUX 1 High Alarm Int/Mask : 0/0
AUX 1 Low Alarm Int/Mask : 0/0
AUX 1 High Warning Int/Mask : 0/0
AUX 1 Low Warning Int/Mask : 0/0
AUX 2 High Alarm Int/Mask : 0/0
AUX 2 Low Alarm Int/Mask : 0/0
AUX 2 High Warning Int/Mask : 0/0
AUX 2 Low Warning Int/Mask : 0/0

GTM-P2G8KFN