No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


MIB Reference

S12700 V200R010C00

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Connecting the NMS to a Switch

Connecting the NMS to a Switch


Before configuring a switch through MIB, ensure that the NMS has connected to the switch.

The NMS communicates with a switch through SNMP, including SNMPv1, SNMPv2c, and SNMPv3. To ensure security, it is recommended that you choose SNMPv3.

SNMPv1 and SNMPv2c authenticate users through community names, and their configurations are similar. SNMPv3 authenticates users through user names and passwords, so it has high security. In this example, the MG-SOFT MIB Browser is used as the NMS.

Pre-configuration Tasks

The SNMP agent has been configured on the switch. For the configuration procedure, see SNMP Configuration in the S12700 V200R010C00 Configuration Guide - Network Management and Monitoring.


  1. Run the MG-SOFT MIB Browser. On the Query tab page, enter the IP address of the SNMP agent, that is, IP address of the switch.

    Figure 2-1  Query tab page

  2. Click on the Query tab page. The SNMP Protocol Preferences dialog box is displayed.
  3. In the SNMP Protocol Preferences dialog box shown in Figure 2-2, set SNMP parameters. Use SNMPv3 as an example.

    The SNMP parameters must be the same as those on the switch; otherwise, configuration will fail.
    Figure 2-2  SNMP parameter settings

    1. Select SNMPv3 for the SNMP version.
    2. Configure an SNMPv3 user.

      • Add an SNMPv3 user.

        When the NMS connects to the device for the first time, a user needs to be added.

        1. Click Add User to display the SNMPv3 Security Parameters dialog box, as shown in Figure 2-3.
          Figure 2-3  SNMPv3 security parameter settings
        2. Set the SNMPv3 user group name, user name, engine ID (optional), SNMP port number (optional), authentication protocol, and encryption protocol. For the parameter description, see the user manual of the MG-SOFT MIB Browser.
        3. Click Change Password behind the protocol type. The dialog box shown in Figure 2-4 is displayed. Enter the authentication password and click OK.
          Figure 2-4  Authentication password setting
        4. The setting of encryption password is the same as the setting of authentication password, and is not mentioned here.
        5. Click OK. The SNMPv3 user is added.
      • Modify SNMPv3 user information.

        If parameters of an SNMPv3 user on the switch have been modified and the user already exists on the NMS, perform this step to modify the SNMPv3 user information on the NMS.

        Click Edit User to modify SNMPv3 user information. The operation is similar to the operation of adding an SNMPv3 user.

      • Delete an SNMPv3 user.

        If an SNMPv3 user is not needed, perform this step to delete the user.

        1. Click Delete User.
        2. Specify the user name and click Yes to delete the user.

    3. Click OK.
  4. When the following information is displayed in the Query results area, the MIB Browser has connected to the switch. Then you can configure the switch through the MIB Browser.

    Figure 2-5  Verifying the connection

  5. (Optional) Configure the switch to proactively send traps to the NMS.

    1. Configure the MG-SOFT MIB Browser. Click View and choose MIB Browser Preferences. Click the Trap Ringer tab, and click Add to configure the UDP port of the MG-SOFT MIB Browser for receiving traps from the switch. After completing the configuration, click OK.

      Figure 2-6  Configuring the UDP port of the MG-SOFT MIB Browser for receiving traps from the switch
    2. Configure the switch.

      <HUAWEI> system-view
      [HUAWEI] snmp-agent sys-info version v2c   //In this example, the switch sends traps to the NMS through SNMPv2c.
      [HUAWEI] snmp-agent target-host trap address udp-domain udp-port 163 params securityname cipher huawei v2c   //Configure the destination IP address and UDP port for receiving traps from the switch. The UDP port must be the same as that configured on the NMS.
      [HUAWEI] snmp-agent trap enable   //Enable the switch to send traps.
      Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y
    3. After the configuration is complete, the switch will send traps to the MG-SOFT MIB Browser when traps are generated on the switch. The MG-SOFT MIB Browser automatically displays the SNMP Trap Ringer Console window. You can click a trap to view the trap details. As shown in Figure 2-7, enterprise.2011. indicates the trap OID, where enterprise represents Therefore, the OID of the first trap is, based on which you can query trap details.
      Figure 2-7  Trap information

Follow-up Procedure

The MIB Browser may not contain all the MIB objects that you want to operate. You can load the MIB file to address this problem. To load the MIB file, see MIB Loading.

Related Content


Obtain Switch Information Through MIB

Updated: 2019-08-21

Document ID: EDOC1000142096

Views: 178651

Downloads: 80

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next