F-5
User Guide for CiscoWorks Small Network Management Solution
78-15693-03
AppendixF IDU Updates Baseline Configuration Compare Command feature
Defining Baseline Templates
The baseline template can contain place-holders for device-specificvalues. These
are called parameters. Youmust embed such parameters within a “[“ and “]” with
no spaces in between.
For example:
set snmp community read-only [read-only-community-name]
set snmp community read-write [read-write-community-name]
In this example, there are two place-holders in [read-only-community-name] and
[read-write-community-name].
This means that the actual valuesfor these two place holders are irrelevant as long
as these two commands are on the device.
The rules for specifying the baseline template are:
All the commands that are disallowed should begin with a (-).
All commands that are mandatory can begin with a (+).
Commands that do not begin with (-) are also treated as mandatory.
Comments in the baseline file should begin with a “#”.
For example:
#Mandatory
(+)set port disable [port-range]
(+)set port trap [port-range] enable
(+)set vtp domain [name] password [read-only-community-name-string]
(+)set vtp mode transparent
(+)set snmp community read-write [read-write-community-name-string]
#DisAllowed
(-)set snmp community read-only public
(-)set udld enable [Ports]
The last command in this example, verifies that “udld” is not enabled on any of
the ports. To ensure this, the parameter [Ports] is used.