Got it

How can i collect sfp's signal via snmp SW 6730?

Created: Jul 23, 2020 13:03:41Latest reply: Jul 24, 2020 13:37:38 1009 7 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello guys,


I need to collect sfp's signal TX and RX via snmp (ZABBIX) on S6730-H24X6C V200R019C10SPC500 like showed bellow 


<SW-JP-TC>dis transceiver interface XGigabitEthernet0/0/2 verbose


XGigabitEthernet0/0/2 transceiver information:

-------------------------------------------------------------

Common information:

  Transceiver Type               :UNKNOWN_SFP

  Connector Type                 :LC

  Wavelength(nm)                 :1550

  Transfer Distance(m)           :80000(9um)

  Digital Diagnostic Monitoring  :YES

  Vendor Name                    :MILJET-US

  Vendor Part Number             :MJ-SFP10G-ZR-80D

  Ordering Name                  :

-------------------------------------------------------------

Manufacture information:

  Manu. Serial Number            :MJO203650

  Manufacturing Date             :2020-04-17

  Vendor Name                    :MILJET-US

-------------------------------------------------------------

Diagnostic information:

  Temperature(▒▒C)              :27.11

  Temp High Threshold(▒▒C)      :100.00

  Temp Low  Threshold(▒▒C)      :-40.00

  Voltage(V)                    :3.29

  Volt High Threshold(V)        :3.60

  Volt Low  Threshold(V)        :2.80

  Bias Current(mA)              :85.33

  Bias High Threshold(mA)       :110.00

  Bias Low  Threshold(mA)       :1.00

  RX Power(dBM)                 :-19.55

  RX Power High Warning(dBM)    :-7.00

  RX Power Low  Warning(dBM)    :-23.01

  RX Power High Threshold(dBM)  :-7.00

  RX Power Low  Threshold(dBM)  :-26.02

  TX Power(dBM)                 :1.82

  TX Power High Warning(dBM)    :7.00

  TX Power Low  Warning(dBM)    :-1.00

  TX Power High Threshold(dBM)  :8.00

  TX Power Low  Threshold(dBM)  :-2.00

  Transceiver phony alarm       : Yes


I have tried to use the command bellow 

RX: snmpwalk  -v2c -c comujp 10.99.99.2:22161 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8 (OID hwEntityOpticalRxPower described https://support.huawei.com/enterprise/en/doc/EDOC1100127036/e704d4b7/mib-example )

TX: snmpwalk  -v2c -c comujp 10.99.99.2:22161 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.9 (OID hwEntityOpticalTxPower described https://support.huawei.com/enterprise/en/doc/EDOC1100127036/e704d4b7/mib-example )


Two problems 


snmpwalk  -v2c -c comujp 10.99.99.2:22161 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8

Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67403854 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469390 = INTEGER: 359

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469454 = INTEGER: 11

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469518 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469582 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469646 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469710 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469774 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469838 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469902 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469966 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470030 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470094 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470158 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470222 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470286 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470350 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470414 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470478 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470542 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470606 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470670 = INTEGER: 130

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470734 = INTEGER: 373

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470798 = INTEGER: 14

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67470862 = INTEGER: 52

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518542 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518606 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518670 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518734 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518798 = INTEGER: -1

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67518862 = INTEGER: -1

How can i indentify the interfaces above?


Suppose that SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469390 = INTEGER: 359 is XGigabitEthernet0/0/2, the value showed 359 is diferent that showed on command: dis transceiver interface XGigabitEthernet0/0/2 verbose , at position signal RX  Power(dBM)  :-19.55


Thanks for who can help with this.


 






Featured Answers

Best answer

Recommended answer

chenhui
Admin Created Jul 23, 2020 13:10:19

Hi,

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469582 = INTEGER: -1

The yellow marked part refer the interface, you can get the relationship between the yellow marked number and the interface description through OID 1.3.6.1.2.1.47.1.1.1.1.7

Please check if the result matches output of CLI command.

View more
  • x
  • convention:

Unicef
Unicef Created Jan 16, 2022 04:51:45 (0) (0)
COOL  
All Answers

Hi,

SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469582 = INTEGER: -1

The yellow marked part refer the interface, you can get the relationship between the yellow marked number and the interface description through OID 1.3.6.1.2.1.47.1.1.1.1.7

Please check if the result matches output of CLI command.

View more
  • x
  • convention:

Unicef
Unicef Created Jan 16, 2022 04:51:45 (0) (0)
COOL  

Hi @chenhui  

Thanks for your answer.

With this command i could identify the oid correct of XGigabitEthernet0/0/2

ENTITY-MIB::entPhysicalName.67469454 = STRING: XGigabitEthernet0/0/2


snmpwalk  -v2c -c comujp 10.99.99.2:22161 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.8.67469454
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
SNMPv2-SMI::enterprises.2011.5.25.31.1.1.3.1.8.67469454 = INTEGER: 10

The value is showed on snmp walk is 10 different that showed dis transceiver interface XGigabitEthernet0/0/2 verbose that is 19-55

View more
  • x
  • convention:

Posted by gilberto_milhomem at 2020-07-23 14:00 Hi @chenhui  Thanks for your answer.With this command i could identify the oid correct of XGigabitE ...
Hi,
The actual unit of the value read through this object is uW, while the unit of the command display transceiver output is dBm.
The conversion between the two units is uW = (10(dBm/10)) * 1000. When the uW=10, the dBm is 20, which is same as the command display transceiver output.
View more
  • x
  • convention:

good
View more
  • x
  • convention:

Hi
@chenhui , searching on MIB Reference I found the OID 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32 and 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.33, with the correct interface's ID I could collect the value in dbm.

Thanks!


View more
  • x
  • convention:

Posted by gilberto_milhomem at 2020-07-24 12:11 Hi@chenhui , searching on MIB Reference I found the OID 1.3.6.1.4.1.2011.5.25.31.1.1.3.1.32 and 1. ...
My pleasure :D
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.