Got it

Index value translated into the port on MA5608T

Created: Dec 1, 2020 08:03:59Latest reply: Dec 1, 2020 20:52:40 397 6 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi guys. 


I need help with my work with SNMP and the MA5608T.


I learned that there is a correspondence between the index value and the port for this OID:


1.3.6.1.4.1.2011.6.128.1.1.2.52...


My index value is: "4194445056.0" how could I "translate" it into the port?


Thank you!

Featured Answers

Recommended answer

Chenxintao
Admin Created Dec 1, 2020 08:25:46

Hi, friend!


My index value is: "4194445056.0"


Can you make sure that the index value is correct?


I only found 4194444505 is 0/17/4.


Thanks!

View more
  • x
  • convention:

user_4014635
user_4014635 Created Dec 1, 2020 08:35:25 (0) (0)
Yes I'm sure about that, it should be 0/17/7. But what matters to me is how do I get the port value from the index value. What steps are there to do? (from hex to ascii for example or something else)  
Chenxintao
Chenxintao Reply user_4014635  Created Dec 1, 2020 08:42:14 (0) (0)
This is the ifindex calculation. You can search on the Internet.  
All Answers
Hi,
Kindly wait a second, we'll give you the answer later.
View more
  • x
  • convention:

Hi, friend!


My index value is: "4194445056.0"


Can you make sure that the index value is correct?


I only found 4194444505 is 0/17/4.


Thanks!

View more
  • x
  • convention:

user_4014635
user_4014635 Created Dec 1, 2020 08:35:25 (0) (0)
Yes I'm sure about that, it should be 0/17/7. But what matters to me is how do I get the port value from the index value. What steps are there to do? (from hex to ascii for example or something else)  
Chenxintao
Chenxintao Reply user_4014635  Created Dec 1, 2020 08:42:14 (0) (0)
This is the ifindex calculation. You can search on the Internet.  

Hello, friend!


You can also run the (diagnose)%%display snmp-agent mib walk ifName command on the device to perform the query.


A


Thanks!

View more
  • x
  • convention:

thanks
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.