SMIC (SNMP Management Information Compiler) - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

SMIC (SNMP Management Information Compiler)

Description:

Title: SNMP-based Network Management Subject: Network Management Author: J. W. Hong Last modified by: Created Date: 5/4/1995 9:46:42 AM Document ... – PowerPoint PPT presentation

Number of Views:110
Avg rating:3.0/5.0
Slides: 8
Provided by: jw054
Category:

less

Transcript and Presenter's Notes

Title: SMIC (SNMP Management Information Compiler)


1
SMIC(SNMP Management Information Compiler)
  • J. Won-Ki Hong
  • Dept. of Computer Science and Engineering
  • POSTECH
  • Tel 0562-279-2244
  • Email jwkhong_at_postech.ac.kr

2
What is SMIC?
  • Compiler for SNMP MIBs
  • developed by David T. Perkins
  • SMIC classic in 1992
  • SMIC next generation (SMICng) in 1996
  • Supported on MS-DOS, Windows95, NT, AIX, HP-UX,
    Linux, Solaris platforms
  • freely available
  • reduced functionality version (book version)
  • full-function version (pro version)
  • http//www.snmpinfo.com/sismic.htm

3
Features of SMIC
  • parses MIBs written in the syntax defined
  • by SNMPv1 SMI, concise MIB, trap format
    documents,
  • by SNMPv2 SMI, SNMPv2 Textual Conventions and
    SNMPv2 conformance documents
  • checks
  • the validity of IMPORTS clauses
  • MIB syntax
  • MIB consistency
  • outputs
  • Error/Warning Messages
  • Dump outputs
  • MOSY (MIB compiler for ISO Development
    Environment) or SNMPv1 MIBs
  • Intermediate format (for backend utilities)

SMICng is NOT a general purpose ASN.1 compiler
4
SMICng package includes
  • smicng MIB compiler
  • mstrip MIB stripper (extracts MIB definitions)
  • mib2html converts a MIB into HTML
  • smicbmi creates a MIB include file
  • smicewd displays the lines from each MIB
    specified in error and warning messages from SMIC
  • smicmfm adds an entry in file smicmif.ini
  • Also included are standard MIBs, RFCs, include
    files

5
Using SMICng
  • 1. Select and prepare the MIBs to be compiled
  • 2. Set the path environment variable
  • e.g., set path ( /sl/projects/cords/NetMan/sm
    ic2/bin path )
  • 3. Set the environement variable SMICINCL to
    indicate the directory containing MIB definitions
  • e.g., setenv SMICINCL /sl/projects/cords/NetMan
    /smic2/mibs
  • 4. Set the environment variable SMICOPTS to
    specify the default options
  • e.g., setenv SMICOPTS -CH
  • 5. Create a MIB include file (using smicbmi)
  • 6. Run SMICng and correct errors (if any) in the
    MIB
  • 7. Generate output(s)

6
MIB Include File
  • MIB include files are required to run SMICng
  • MIB include files can be generated by smicbmi
  • smicbmi ltoptionsgt ltmibfilegt
  • e.g., smicbmi xxx.mib generates xxx.inc file
  • include file has some directives
  • condInclude
  • pushOpt, popOpt
  • removeOpt, addOpt (insert addOpt M)
  • condExcludeModule

7
Run SMICng Create HTML
  • smicng -Z -F ltintermediate filegt ltinclude filegt
  • -Z creates intermediate data outputs it to
    stdout
  • -F saves the output into a file
  • other options
  • Help Options
  • Dump Options (not available in book version)
  • Miscellaneous Options
  • Checking Options
  • mib2html ltintermediate filegt
  • index.html, module.html, module_.html are created
Write a Comment
User Comments (0)
About PowerShow.com