Got it

Obtain Switch Information Through MIB

Latest reply: Oct 14, 2021 10:24:53 225 6 12 0 0

Hey All,



here, I will show an example of how to obtain switch information with MIB.



A




Configure the NMS.


1. Install the net-snmp software.

Net-snmp is third-party software. Obtain it through a formal channel and install it according to the software use guide.

2. Use the net-snmp software.

This software reads MIB information on the switch through command lines. For details about the command lines, see the net-snmp software use guide.


snmpwalk is used as an example:

snmpwalk –v   Version  -c Community Name          IP Address              OID

snmpwalk –v   2c           -c admin123                      10.137.217.203       1.3.6.1.2.1.1.5

-v: SNMP version. In this example, the SNMP version is v2c.

-c: community name. In this example, the community name is admin123.

IP address: IP address of the switch. In this example, the IP address is 10.137.217.203.

OID: ID of the object read by the NMS. In this example, the OID is 1.3.6.1.2.1.1.5. 




Thanks.

Thanks for sharing
View more
  • x
  • convention:

andersoncf1
MVE Author Created Jul 14, 2021 18:59:06

Thanks for sharing! Very useful
View more
  • x
  • convention:

hemin88
Moderator Author Created Jul 14, 2021 19:39:58

Good one, thank you for sharing it.
View more
  • x
  • convention:

Useful
View more
  • x
  • convention:

AL_93
Moderator Created Oct 12, 2021 05:32:49

Thanks for sharing! Very useful
View more
  • x
  • convention:

Great post, keep up the good work!
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.