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

Reminder

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

upgrade

MIB Reference

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009

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).
Dependency Between MIB Files

Dependency Between MIB Files

A MIB file defines its position in a MIB tree and included MIB objects. Before mounting a MIB file to a MIB tree, prepare all the dependent MIB files so that the MIB file can be compiled.

  • Checking the dependency between MIB files

    The dependency between MIB files is often defined at the beginning of a MIB file. ENTITY-MIB (public MIB) is used as an example. IMPORTS indicates that other MIB files need to be imported so that ENTITY-MIB can be correctly compiled. ENTITY-MIB is dependent on SNMPv2-SMI, SNMPv2-TC, SNMPv2-CONF, and SNMP-FRAMEWORK-MIB.

    ENTITY-MIB DEFINITIONS ::= BEGIN
    
        IMPORTS
            MODULE-IDENTITY, OBJECT-TYPE, mib-2, NOTIFICATION-TYPE
                FROM SNMPv2-SMI
            TDomain, TAddress, TEXTUAL-CONVENTION,
            AutonomousType, RowPointer, TimeStamp, TruthValue
                FROM SNMPv2-TC
            MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
                FROM SNMPv2-CONF
            SnmpAdminString
                FROM SNMP-FRAMEWORK-MIB;
    
  • Impact of the dependency between MIB files

    If a MIB file is dependent on other MIB files, the imported MIB files must be loaded first. Otherwise, the MIB file fails to be compiled. If a MIB file fails to be compiled, select a specified MIB according to the suggestion and recompile it.

Translation
Download
Updated: 2019-07-19

Document ID: EDOC1000174090

Views: 445270

Downloads: 46

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