Technische Universität Braunschweig
  • Study & Teaching
    • Beginning your Studies
      • Prospective Students
      • Degree Programmes
      • Application
      • Why TU Braunschweig?
    • During your Studies
      • Fresher's Hub
      • Term Dates
      • Courses and Qualifications
      • Practical information
      • Beratungsnavi
      • Financing and Costs
      • Special Circumstances
      • Health & Wellbeing
      • Campus life
    • At the End of your Studies
      • Career Service
      • Alumni
      • Discontinuation and Pre-Certification
      • After graduation
    • Strategies and Quality Management
      • TU Teaching Award
    • For Teaching Staff
      • Strategy, Offers and Information
      • Learning Management System Stud.IP
    • Contact
      • Study Service Centre
      • Academic Advice Service
      • Student Office
      • Department 16 - Academic and Student Affairs
      • Career Service
  • Research
    • Research Profile
      • Core Research Areas
      • Clusters of Excellence at TU Braunschweig
      • Research Projects
      • Research Centres
      • Professors‘ Research Profiles
    • Early Career Researchers
      • Support in the early stages of an academic career
      • PhD-Students
      • Postdocs
      • Junior research group leaders
      • Junior Professorship and Tenure-Track
      • Habilitation
      • Service Offers for Scientists
    • Research Data & Transparency
      • Transparency in Research
      • Research Data
      • Open Access Strategy
    • Research Funding
      • Research Funding Network
      • Research funding
    • Contact
      • Research Services
      • Academy for Graduates
  • Transfer
    • Transfer profile
      • Transfer strategy "TIES® with Impact"
      • Technology Transfer
      • Knowledge Transfer
      • Relationship Management
    • Innovation
      • Startups
      • Patents
    • Offers for schools and pupils
    • For enterprises
      • Friends & Supporters
    • For Alumni*ae
    • For everyone
  • International
    • International Students
      • Why Braunschweig?
      • Degree seeking students
      • Exchange Studies
      • TU Braunschweig Summer School
      • Students from German Schools Abroad
      • Refugees
      • International Student Support
      • International Career Service
    • Going Abroad
      • Studying abroad
      • Internships abroad
      • Teaching and research abroad
      • Working abroad
    • International Researchers
      • Welcome Support for International Researchers
      • Service for Host Institutes
    • Language and intercultural competence training
      • Learning German
      • Learning Foreign Languages
      • Intercultural Communication
    • International Profile
      • Internationalisation
      • International Cooperations
      • Strategic partnerships
      • International networks
    • International House
      • About us
      • Contact & Office Hours
      • News and Events
      • Newsletter, Podcast & Videos
      • Job Advertisements
  • TU Braunschweig
    • Our Profile
      • Aims & Values
      • Regulations and Guidelines
      • The University Development Initiative 2030
      • Ecoversity – the TU Braunschweig as a university ecosystem
      • Equal Opportunity
      • Diversity
      • Sustainability
      • Facts & Figures
      • Our History
    • Presidency & Organisation
      • Executive Board
      • Designated Offices
      • Administration
      • Facilities
      • Committees
      • Student body
    • Career
      • Working at TU Braunschweig
      • Vacancies
      • Information and Offers for New Employees
    • Faculties
      • Carl-Friedrich-Gauß-Fakultät
      • Faculty of Life Sciences
      • Faculty of Architecture, Civil Engineering and Environmental Sciences
      • Faculty of Mechanical Engineering
      • Faculty of Electrical Engineering, Information Technology, Physics
      • Faculty of Humanities and Education
      • Institutes from A to Z
    • Events
  • Search
  • Quicklinks
    IBR Login
    • Library
    • Mailinglists
    • Webmail
    • Knowledge Base
    • Wiki
    • Account Management
    • Services Status
    • People Search
    • Webmail
    • cloud.TU Braunschweig
    • Messenger
    • Cafeteria
    • TUconnect (student platform)
    • Emergency
    • Stud.IP
    • Library Catalogue
    • Research Information System
    • Information Portal (employees)
    • Link Collection
    • DE
    • EN
    • Instagram
    • YouTube
    • LinkedIn
    • Mastodon
    • Bluesky

    Menu
    Technische Universität BraunschweigIBR
    • Organisation
    • Faculties
    • Carl-Friedrich-Gauß-Fakultät
    • Institutes
    • Institute of Operating Systems and Computer Networks
    • Current Projects
    • libsmi
    • libsmi: smidump(1)
    Logo IBR
    • libsmi
      • Home
      • Web tools
      • Download
      • Modules
      • Library
        • Example
      • Tools
        • Diagrams
      • Documentation
        • Manual pages
        • XML mapping
      • People
      • Mailing list

    smidump(1)

    dump SMI or SPPI modules in various formats

    All manual pages · libsmi 0.6.0-rc1

    Name

    smidump - dump SMI or SPPI modules in various formats

    Synopsis

    smidump [ -Vhqusmk ] [ -c file ] [ -o name ] [ -p module ] [ -l level ] [ -f format ] module(s)

    Description

    The smidump program is used to dump the contents of a single MIB or PIB module or a collection of modules to stdout in a selectable output format. This format may be a simple tree of nodes, types or imported modules, but also a format fully compliant to SMIv1, SMIv2, SPPI or SMIng or CORBA IDL or C source code. Smidump can thus be used to convert modules from SMIv2 to SMIng and from SMIng to SMIv2, or to develop template based agent code.

    Options

    -V, --version

    Show the smidump version and exit.

    -h, --help

    Show a help text and exit. The help text contains a list of all supported output formats.

    -c file, --config=file

    Read file instead of any other (global and user) configuration file.

    -f format, --format=format

    Use format when dumping a module. Supported output formats are described below. The default output format is SMIv2. The format argument is case insensitive.

    -l level, --level=level

    Report errors and warnings up to the given severity level. See the smilint(1) manual page for a description of the error levels. The default error level is 3.

    -s, --severity

    Show the error severity in brackets before error messages.

    -m, --error-names

    Show the error names in braces before error messages.

    -o name, --output=name

    Write the output in one or multiple files instead of stdout. The file name(s) are derived from the name argument. Not all format support this option.

    -p module, --preload=module

    Preload the module module before reading the main module(s). This may be helpful if an incomplete main module misses to import some definitions.

    -q, --quiet

    Suppress comments from dumped modules. What kind of information gets suppressed depends on the output format.

    -u, --unified

    Dump a unified output in case of multiple module(s) instead of multiple concatenated output sections. This is not supported for all output formats.

    -k, --keep-going

    Continue as much as possible after serious parse errors. Note that the output generated after serious parse errors may be incomplete and should be used with care.

    module(s)

    These are the module(s) to be dumped. If a module argument represents a path name (identified by containing at least one dot or slash character), this is assumed to be the exact file to read. Otherwise, if a module is identified by its plain module name, it is searched according to libsmi internal rules. See smi_config(3) for more details.

    Output formats

    The smidump program supports the following output formats:

    sming

    SMIng compliant format as defined in the SMIng Internet-Draft (draft-irtf-nmrg-sming-02). Deprecated: this format implements an outdated draft, not RFC 3780/3781, is unmaintained and will be removed in a future release.

    smiv2

    SMIv2 compliant format as defined in RFC 2578, RFC 2579, RFC 2580.

    smiv1

    SMIv1 compliant format as defined in RFC 1155, RFC 1212, RFC 1215.

    yang

    YANG format (RFC 6020, RFC 7950). YANG modules are printed as YANG, SMIv1/SMIv2 MIB modules are translated to YANG following a draft version of the rules later published in RFC 6643.

    ietf

    Various fragments used in IETF documents, e.g. lists of the objects of a module and security considerations boilerplate (experimental).

    sppi

    SPPI compliant format as defined in RFC 3159. If the underlying module is not SPPI, there might be some mandatory information missing.

    mosy

    Format generated by the mosy compiler.

    imports

    Import hierarchy of a module.

    types

    Types defined in a module.

    tree

    OID registration tree structure of a module.

    metrics

    Metrics derived from a module (experimental).

    identifiers

    List of identifiers defined in a module.

    compliances

    Compliance definitions with all included objects and notifications.

    corba

    CORBA IDL and OID definitions following the JIDM specification translation rules.

    netsnmp

    C source code files for usage within the net-snmp package (experimental).

    scli

    ANSI C manager stubs for usage within the scli package (experimental).

    cm

    Reverse engineered conceptual model in DIA XML file format (experimental).

    svg

    SVG diagram of a module (experimental), written by Klaus Sperner: a UML class diagram of the conceptual model of the tables, with tooltips and draggable classes. Use with -u when dumping multiple modules. Options: --svg-width=n, --svg-height=n, --svg-show-deprecated, --svg-show-depr-obsolete, --svg-static-output (no scripts), and --svg-link-url=url, which links objects and modules of other modules to url?width=..&height=..&mibs=A&mibs=B (a diagram that includes them, e.g. the diagram.php of the libsmi web tools); without this option there are no links.

    jax

    Java AgentX sub-agent classes in separate files (experimental).

    perl

    Perl represention of the MIB module (contributed by Martin Schulz <schulz@videotron.ca>).

    python

    Python dictionaries represention of the MIB module (contributed by Pat Knight <pat@ktgroup.co.uk>).

    xml

    SMI in XML format (experimental).

    xsd

    SMI in XML schema format (experimental).

    sizes

    SNMP best case / worst case RFC 3416 PDU sizes for typical PDUs excluding SNMP message and transport headers (experimental).

    Example

    This example converts the SMIv2 module IF-MIB in the current directory to IF-MIB.sming in SMIng format. Note that the ./ prefix is used to ensure reading the module from the current directory and not from a place that libsmi guesses on its own.

      $ smidump -f sming ./IF-MIB > IF-MIB.sming

    See also

    The libsmi(3) project is documented at http://www.ibr.cs.tu-bs.de/projects/libsmi/.

    smilint(1)

    Authors

    (C) 1999-2004 F. Strauss, TU Braunschweig, Germany <strauss@ibr.cs.tu-bs.de>
    (C) 1999-2002 J. Schoenwaelder, TU Braunschweig, Germany <schoenw@ibr.cs.tu-bs.de>
    (C) 2002-2003 J. Schoenwaelder, University of Osnabrueck, Germany
    (C) 2003-2004 J. Schoenwaelder, International University Bremen, Germany
    (C) 2001-2002 T. Klie, TU Braunschweig, Germany <tklie@ibr.cs.tu-bs.de>
    (C) 2002 M. Bunkus, TU Braunschweig, Germany <bunkus@ibr.cs.tu-bs.de>
    and contributions by many other people.


    last changed 2026-11-18, 09:37 by Frank Steinberg
    http://www.ibr.cs.tu-bs.de/projects/libsmi/smidump.xml · retrieved 2026-12-06

    For All Visitors

    Vacancies of TU Braunschweig
    Career Service' Job Exchange 
    Merchandising

    For Students

    Term Dates
    Courses
    Degree Programmes
    Information for Freshman
    TUCard

    Internal Tools

    Glossary (GER-EN)
    Change your Personal Data

    Contact

    Technische Universität Braunschweig
    Universitätsplatz 2
    38106 Braunschweig

    P. O. Box: 38092 Braunschweig
    GERMANY

    Phone: +49 (0) 531 391-0

    Getting here

    © Technische Universität Braunschweig
    Legal Notice Privacy Accessibility

    TU Braunschweig uses the software Matomo for anonymised web analysis. The data serve to optimise the web offer.
    You can find more information in our data protection declaration.