Got it

How to interpret OID hwVlanPorts response

Created: May 4, 2020 19:50:40Latest reply: May 3, 2021 16:39:22 816 9 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,


I getting info hwvlanports trought snmp, but reading docs about OID hwVlanPorts its not clear.


I have an OLT MA5680T, i have the list of OIDS.


I have this this vlan in this port uplink:


Config OLT Huawei:
 port vlan 110 0/7 0
 port vlan 190 0/7 1
 port vlan 192 0/7 2
 port vlan 200 0/7 3



When i request the info by OID  1.3.6.1.4.1.2011.5.6.1.1.1.3 (hwvlanports) i have this answer.


But I don't understand how to read the snmp response, because according to the documentation it mentions that they will use 1 or 0 to indicate if there is a port. But in the oid response I get this (1,8,2) numbers diferent 1.



# response vlan110
SNMPv2-SMI::enterprises.2011.5.6.1.1.1.3.110 = STRING: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
# response vlan 190
SNMPv2-SMI::enterprises.2011.5.6.1.1.1.3.190 = STRING: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
# response vlan 200
SNMPv2-SMI::enterprises.2011.5.6.1.1.1.3.200 = STRING: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"



here is docs about this OID https://github.com/dkruyt/Huawei_FatAP_Grafana/blob/master/mibs/HUAWEI-VLAN-MIB.mib#L440


Please can you help me interpret the answer?

for example in responce of snmp of vlan 200 how to get the port 0/7/3 ?


Thanks.


Featured Answers

Recommended answer

Gavin.Liu
Created May 15, 2020 09:31:32

hello , Huawei Access device MIB is not public , if need to get the OID information need sign NDA with local HUAWEI representative office , please contact with local HUAWEI representative engineer to confirm if available to provide following local rules ,thanks !
View more
  • x
  • convention:

All Answers

Hello,


Querying the temperature

Here you can find the temperature of all components based on hwEntityTemperature in hwEntityStateTable and the temperature of a specified component based on entPhysicalIndex.

Object                                                     OID
entPhysicalIndex          ->          1.3.6.1.2.1.47.1.1.1.1.1
entPhysicalName          ->          1.3.6.1.2.1.47.1.1.1.1.7
hwEntityTemperature   ->          1.3.6.1.4.1.2011.5.25.31.1.1.1.1.11

Please check this link: http://support.huawei.com/hedex/ ... 253C/b>.


You can use the   online Information Query Tool to query the MIB.

http://support.huawei.com/onlinetoolweb/infoM/index.do?domain=1&lang=en&topicType=mib



mib


Thanks

View more
  • x
  • convention:

hello @wissal I have an olt huawei ma5680t and i do not found in the above link.

so here is docs about this OID https://github.com/dkruyt/Huawei_FatAP_Grafana/blob/master/mibs/HUAWEI-VLAN-MIB.mib#L440

the port 0/7/3 have the vlan 200

how to translate the response of OID 1.3.6.1.4.1.2011.5.6.1.1.1.3 to know which port have the vlan 200?

this is the response of OID

SNMPv2-SMI::enterprises.2011.5.6.1.1.1.3.200 = STRING: "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"


View more
  • x
  • convention:

Posted by oortega at 2020-05-04 14:30 hello @wissal I have an olt huawei ma5680t and i do not found in the above link.so here is docs abou ...
Hi! For the MIB OIDs of the OLT device, you need to request them via the official process. You can ask the provider or let HUAWEI local support know through the RM request and the OLT R&D will provide everything.
View more
  • x
  • convention:

yes I have the docs of hwVlanPorts OID here


https://github.com/dkruyt/Huawei_FatAP_Grafana/blob/master/mibs/HUAWEI-VLAN-MIB.mib#L440

see the link please.

But I do not know how to translate the reponse snmp to get the port uplink, in this case  the port 0/7/3 have the vlan 200


View more
  • x
  • convention:

Dear friend, please provide the product model so that we can help you solve the problem faster. thank you!
View more
  • x
  • convention:

hello @liqiang185 I updated my post.

I have an OLT MA5680T,
View more
  • x
  • convention:

hello , Huawei Access device MIB is not public , if need to get the OID information need sign NDA with local HUAWEI representative office , please contact with local HUAWEI representative engineer to confirm if available to provide following local rules ,thanks !
View more
  • x
  • convention:

Hello @Gavin.Liu I have the MIB Files this is not the problem, pleases read the main question.

the problem is that I don't understand the documentation of this OID, can you tell me what the OID response means

https://github.com/dkruyt/Huawei_FatAP_Grafana/blob/master/mibs/HUAWEI-VLAN-MIB.mib#L440
View more
  • x
  • convention:

Has un split de 16 digitos (cada grupo de 16 es una ranura), luego ala posicion 2 de cada split ahi tienes los primeros 4 puertos de las placas solo que esta en hexadecimal y lo tienes que convertir a binario y leerlo de derecha a izquierda. Por ejemplo si tiene un una f en binario seria (1111) lo que significa que el puerto 0,1,2,3 tienen esa vlan. otro ejemplo si tiene un 2 en binario seria (0010) lo que significa que el puerto 1 tienen esa vlan. otro si tiene un 8 en binario seria (1000) lo que significa que el puerto 3 tiene e....
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.