AppendixF IDU Updates
Baseline Configuration Compare Command feature
F-4
User Guide for CiscoWorks Small Network Management Solution
78-15693-03
After comparing the versions, all the missing commands for each of the devices
or versions are written to a separate file created under a directory. This is the
directory specified by the -outputdir option. This file name is in the following
format:
Devicename -Ver-version -Vs-Baselinefile
For commands that are disallowed on the device, the negation of the commands
will be generated and stored in the file.If they contain parameters, all commands
that are in the deviceconfiguration that match this command pattern are taken and
their negation commands are generated and stored in the file.
Tospecify the report file name, use the -report option. This generates a report in
XML format, specifying versionsof devices that are or are not compliant with the
specified baseline file. It also lists the missing commands for the non-compliant
devices or versions.
Todownload the missing commands onto the device to ensure compliance, use the
-generatecmdfile option. This option logs entries to a command file. These
entries are logged in the following format:
-device Device name1 -f file
This is done for each of the non-compliant devices, with -f specifying the
appropriate file, containing the missing commands. This file was created under
the output directory, specified by the-outputdir option.
Youcan then use the cwconfig import command, specifying the command fileas
the value for the -input option, to download the missing commands onto the
device.
Online Help
To access Online help enter:
cwconfig comparewithbaseline -help
Using Baseline Configuration Compare Command