Realization of MIB Database into C Based on SNMP

Xiaodong Ma · Computer Technology and Development · 2011

The growing importance of network management,SNMP is widely used for its simple,flexible features.MIB repository is a collection of resources and attributes in network management,is the core of network,to access the MIB database,it must be converted into C language.MIB database into C files,first according to certain syntax prepared MIB files,put the new MIB file into the MIB database,and then according to a simple variable or a table variable use the NET-SNMP source package's template conversion converted the MIB file to C file.The experiment proved that this method can quickly and easily convert the MIB file to C file,and converted the C code file format is unified,after a few changes you can recompile the source code to the SNMP package and use it.

Read the paper · More papers on PaperTik