Blob Blame History Raw
.\"
.\" $Id: smidiff.1.in 1677 2004-08-10 11:10:27Z strauss $
.\"
.TH smidiff 1  "August 10, 2004" "IBR" "SMI Tools"
.SH NAME
smidiff \- check differences between a pair of SMI or SPPI modules
.SH SYNOPSIS
.B smidiff
[
.B "-Vhsm"
] [
.BI "-c " file
] [
.BI "-l " level
] [
.BI "-i " error-pattern
] [
.BI "-p " module
]
.I "oldmodule newmodule"
.SH DESCRIPTION
The \fBsmidiff\fP program is used to check differences between a pair
of SMI MIB modules or SPPI PIB modules.
E.g., it can be used to detect changes in updated MIB
modules that can cause interoperability problems with existing
implementations. SMIv1/v2 and SPPI style MIB/PIB modules are
supported.
.PP
Note that conformance statements are currently not checked.
.PP
Messages describing the differences are written to the standard output
channel while error and warning messages generated by the parser
are written to the standard error channel.
.SH OPTIONS
.TP
\fB-V, --version\fP
Show the smidump version and exit.
.TP
\fB-h, --help\fP
Show a help text and exit.
.TP
\fB-s, --severity\fP
Show the error severity in brackets before error messages.
.TP
\fB-m, --error-names\fP
Show the error names in braces before error messages.
.TP
\fB-c \fIfile\fB, --config=\fIfile\fP
Read \fIfile\fP instead of any other (global and user)
configuration file.
.TP
\fB-p \fImodule\fB, --preload=\fImodule\fP
Preload the module \fImodule\fP before reading the main
module(s). This may be helpful if an incomplete main module misses to
import some definitions.
.TP
\fB-l \fIlevel\fB, --level=\fIlevel\fP
Report errors and warnings up to the given severity \fIlevel\fP. See
the smilint(1) manual page for a description of the error levels. The
default error level is 3.
.TP
\fB-i \fIprefix\fB, --ignore=\fIprefix\fP
Ignore all errors that have a tag which matches \fIprefix\fP.
.TP
.I oldmodule
The original module.
.TP
.I newmodule
The updated module. 
.PP
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
\fBsmi_config(3)\fP for more details.
.SH "SEE ALSO"
The 
.BR libsmi (3)
project is documented at
.BR "http://www.ibr.cs.tu-bs.de/projects/libsmi/" "."
.SH "AUTHOR"
(C) 2001 T. Klie, TU Braunschweig, Germany <tklie@ibr.cs.tu-bs.de>
.br
(C) 2001 J. Schoenwaelder, TU Braunschweig, Germany <schoenw@ibr.cs.tu-bs.de>
.br
and contributions by many other people.
.br