[Record] Utilization of MG-SOFT MIB Browser === ###### tags: `record`, `MIB`, `SNMP v1, v2c, v3`, `MG-SOFT` [Toc] # Introduction In this article, I want to show how to utilize a tool MIB browser to run SNMP. Our SNMP agent is a L2 managed switch and it runs a tool named net-snmp. I will describe my operation steps by steps as shown below. # Demostration ## 1. Configure in the side of SNMP agent ### For SNMP v1/v2c We have to configure the community and privilege by either web management or CLI. Below figures show my configuration here. ![](https://i.imgur.com/D7d5baX.png) ![](https://i.imgur.com/vKhuZgr.png) ### For SNMP v3 We have to configure below items by either web management or CLI. | Field | Selection | Description | | ----------------------- | --------- | --------------------------------------------------------------------- | | User Name | | Name of the user | | Security Level | auth | Specifies which authentication level should be used | | | noauth | Specifies no authentication of a packet | | | priv | Specifies which authentication level should be used and encryption it | | Authentication Level | md5-en | Use HMAC MD5 algorithm and encrypted password for authentication | | | sha-en | Use HMAC SHA algorithm and encrypted password for authentication | | | md5 | Use HMAC MD5 algorithm for authentication | | | sha | Use HMAC SHA algorithm for authentication | | Authentication Password | | Authentication pasword for user | | DES Password | | Encryption pasword for user | Below figures show my configuration here. ![](https://i.imgur.com/FVo4nCm.png) ![](https://i.imgur.com/py2B6B5.png) ## 2. Compile my MIB We should open the .mib file in *MG-SOFT MIB Compiler*, and compile it by pressing a hotkey **F7** and then save the compiled MIB module. ## 3. Load the compiled MIB Step 1. ![](https://i.imgur.com/K2nOlsa.png) Step 2. ![](https://i.imgur.com/M1DolYr.png) ## 4. Configure in the side of SNMP manager ### For SNMP v1 and v2c We need to set the read community at least here, and this is according to the setting we configure before in the SNMP agent. Below recalls what we set in SNMP agent. ![](https://i.imgur.com/QNm9G5m.png) We can press CTRL+M or follow below indication to open **"SNMP Protocol Preferences"**. ![](https://i.imgur.com/8WSRP6j.png) ![](https://i.imgur.com/ISrlMK2.png) Here, we can choose SNMP protocol version, and set the community. ![](https://i.imgur.com/Q5I6qFV.png) ### For SNMP v3 It is a bit complicated here because of the security options. First, we should select the SNMP protocol version to SNMPv3, and click "Load user profile". ![](https://i.imgur.com/Y1c6ndO.png) We click the button to add a new SNMPv3 USM user. ![](https://i.imgur.com/GMgxOs8.png) We need set the security parameters including: - User profile name - Security user name - Authentication protocol and Change Password - Privacy protocol and Change Password And it is worthy noticing **the context name should leave blank** or we will not contact to SNMP agent successfully. ![](https://i.imgur.com/v3eFYCS.png)