Technical data

Configuring and Managing Routers with Site Manager
9-8 117347-A Rev. A
Generating Configuration File Reports from UNIX
You can generate a configuration file report from the UNIX command line. The
syntax of the UNIX command you use is as follows:
smcfgrpt [-d] [-t] [-h] [-m] [-W <
warning level
>] [-r <
report template
>]
[-c] <
configuration file
> [-o] <
report file
>
Table 9-2 describes the options you can use in the UNIX command line.
Table 9-2. Options for Command Line (UNIX)
Option Description
-d Includes the default MIB value for any configurable
attribute for which you did not specify a value in the
configuration file
-t Produces the same result as -d, except that default values
are tagged “[Default]”
-h Includes raw hexadecimal data in addition to the ASCII
translation of that data
-m Includes the MIB attribute identifier names in addition to
the ASCII translation of those names
-W
<warning level>
Sets the warning level to indicate types of warnings to
include in the report:
0 = no warning (default warning level)
1 = warn on unrecognized attributes
2 = warn on unrecognized records
3 = combination of levels 1 and 2
4 = warn on unset attributes with no default
7 = combination of 3 and 4
-r
<report template>
Specifies the report template file to use. By default, the
Report Generator uses a template based on the version of
the configuration file. Template files are in
/usr/wf/lib.
The format of the template file name is
<version>.rpt, f
or
example,
12_0.rpt.
-c
<configuration file>
Specifies the name of the configuration file from which you
want to generate a report
-o
<report file>
Specifies the path and file name of the report file. If you
omit this argument, the Report Generator sends the output
to
<stdout>.