
Managing Routers and BNX Platforms
C-2
• If you are using Report Generator from the UNIX or Windows command line,
use the
-m option.
You can select any of the other options you want to include in the ASCII
configuration file report, as long as you include the MIB names. Refer to
Chapter 6 for more information on generating an ASCII configuration file report.
Using Config Generator
Config Generator is available to users of Site Manager Version 4.0 (or BNX
Version 6.0) or later. Config Generator is located in the /usr/wf/bin directory
along with the other Site Manager command line tools.
You run Config Generator from the UNIX command line. Enter the name of the
edited ASCII configuration file you want to convert, and a name for the new
binary configuration file, in the following format:
rpt2cfg -f
<ASCII Report Filename>
[-o
<New Binary Filename>
]
If you don’t supply a new binary filename, Config Generator sends the
output to <stdout>.
Depending on the size of the file, Config Generator may take several minutes to
convert the file. When Config Generator is finished, the UNIX prompt returns. If
no error messages appear, Config Generator created and saved the binary
configuration file. If you receive an error message, the file is corrupt and should
not be used.
Checking for Errors
Config Generator checks the ASCII configuration file for valid MIB names, valid
MIB values, and for duplicate circuit names. If these errors are found, Config
Generator displays the line number in the ASCII configuration file where the error
occurred, and a brief description of the error. The program does not check for
cross-dependencies within the file.
Caution: You must include the MIB Names in the ASCII configuration file for
Config Generator to create a valid binary configuration file.
Comentarios a estos manuales