libsmi web tools

Check, convert, compare and draw MIB, PIB and YANG modules with libsmi 0.6 – paste or upload your own modules, pick one of the bundled modules, or name an RFC or an Internet-Draft.

The web tools need JavaScript. Without it, you can install libsmi and run the tools on your own computer, e.g. smilint -l 6 -s -m MY-MIB or smidump -f tree MY-MIB.

How to use

Check
Runs smilint and lists errors and warnings by severity. Level 1 and 2 are errors that must be fixed, level 3 errors are tolerated by many implementations, levels 4 and 5 are warnings, level 6 are notices. Click a position to see the module source at that line. Modules that your module imports are searched among the bundled modules and the modules you add under “Modules for imports”.
Convert
Runs smidump: into another module language (SMIv2, SMIv1, SPPI, YANG – MIB modules are translated to YANG), into overviews such as the OID tree, type definitions, imports and metrics, into XML Schema, or into code stubs.
Diagram
Draws a UML class diagram of the conceptual model behind the tables of a MIB module, see diagrams. The diagram can be downloaded as interactive or static SVG and as PNG.
Compare
Runs smidiff, which reports the changes between two revisions of a module and whether they are allowed by the SMI update rules (RFC 2578, section 10).
Extract
Extracts all MIB and PIB modules (smistrip) and YANG modules from a document such as an RFC or an Internet-Draft. Documents are also extracted automatically when they are given as input to the other actions.

Links can start the tools directly, e.g. webtools.html#check=IF-MIB, #diagram=ENTITY-MIB, #convert=IF-MIB&format=yang or #rfc=2863&do=check.

Your data

Modules and documents you paste or upload are sent to this server only to run the libsmi tools on them. They are processed in a temporary directory that is deleted at the end of the request; they are not stored, logged or shared. RFCs and Internet-Drafts named by their number or name are fetched from the RFC Editor and the IETF and kept in a cache. The web server's usual access log records the requests, but not their content. Please do not process confidential modules here – install libsmi instead, it is free software.

The service is offered without any warranty and may be limited or stopped at any time. Large or many requests may be rejected.