AppendixF IDU Updates
Baseline Configuration Compare Command feature
F-8
User Guide for CiscoWorks Small Network Management Solution
78-15693-03
Using the command (-)set udld enable [Ports], you have specified that none
of the ports should have udld enabled. If udld is enabled on any of the ports, it is
treated as a misconfiguration.
Running the CommandTo run this command, enter:
cwconfig comparewithbaseline -u username -p password -device
Cat-Dev1,Cat-Dev2,Cat-Dev3,Cat-Dev4,Cat-Dev5
-baseline d:\temp\Baseline\BaseLineMandDis.cfg
-report d:\temp\Baseline\MisConfig.xml
-outputdir d:\temp\Baseline\output
-generatecmdfile d:\temp\baseline\commandfile.txt
-substitute d:\temp\Baseline\Mapping.ini
Baseline Configuration Compare ReportAfter this command has been run successfully, the following report is generated.
**********************************************************************
<?xml version="1.0" ?>
<Report Name = "Baseline Compliance Report"
BaseLineFile="d:\temp\Baseline\BaseLineMandDis.cfg" NoOfDevices="5">
<StartTime>
Fri Jun 20 12:30:18 GMT+05:30 2003
</StartTime>
<Non-Compliant-Devices total="3">
<Device name="Cat-Dev1" Version ="latest">
<command> (+)set snmp community read-write
[read-write-community-name-string] </command>
<command> (-)set snmp community read-only public
</command>
<command> (-)set udld enable 2/34 </command>
<command> (-)set udld enable 3/48 </command>
<command> (-)set spantree macreduction disable </command>
</Device>
<Device name="Cat-Dev2" Version ="latest">
<command> (+)set snmp community read-write
[read-write-community-name-string] </command>
<command> (-)set snmp community read-only public
</command>
<command> (-)set spantree macreduction disable </command>