Projects / rfc2mib


rfc2mib is a short Tcl script which may be used to extract MIB (Management Information Base), PIB (Policy Information Base), and ASN.1 modules from an RFC document. Unlike most extractors, this script is smart enough to recognize ASN.1-style comments prior to or within the module header. It also recognizes the use of the "TagDefaults" part of the module header (not used by MIB modules), module headers that are broken across multiple lines, and macro definitions.

Operating Systems

Recent releases

  •  23 Mar 2004 16:53

    Release Notes: The pattern matching rules were modified to recognize the PIB-DEFINITIONS keyword used in the header of COPS-PR-SPPI PIB (Policy Information Base) modules so that they too can be extracted from RFC text files.

    •  14 Aug 2003 08:05

      Release Notes: A new "-s" option causes the extractor to split the input file into one or more files, each containing a single module and named after the module name with .mib extension. Using this option disables sending the extracted modules to stdout, but the output file can still be provided to get a single file with all modules as well. Using either the -s option or an output file will print the names of the modules to stdout as they are extracted.

      •  21 Jul 2003 22:23

        No changes have been submitted for this release.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.