Included in this package are the following files:

ccm		- The "master" shell script that calls the "cnct" program
		  to grab the configurations from the Cisco(s), and then do
		  all the SCCS and email stuff with them.  There are a few
		  shell variables that should be set to indicate specific
		  directory locations, a list of email addresses, etc.  It
		  should all be pretty obvious.  There are some additional
		  comments in the script file itself.

ccm.awk		- A simple "awk" script used to strip out non-configuration
		  lines (including "!" comments) from the configuration to
		  help ensure that only "real" changes get noticed.

cisco-list.ccm	- A file containing a list of the Ciscos (routers and/or
		  terminal servers) to be managed.  Each line should have
		  three fields separated by white space.  The first field
		  is the name of the router, and will also be the name of
		  the SCCS-managed configuration file.  The second field is
		  the first-level password for this Cisco.  The third field
		  is the enable-mode password for the Cisco.  These three
		  fields are passed as command line arguments to the "cnct"
		  program used to do the actual configuration grabbing.

cnct.c		- This is the source for the "cnct" program.  The code should
		  be mostly standard, but I know for a fact that Sun's version
		  of "sprintf" returns a different value than the ANSI version,
		  so you may have to fix at least that if you want to run this
		  on anything other than a Sun.  It was developed on a SPARC 2
		  running SunOS 4.1.1.  There is a more complete description
		  of the program in the source code file itself.

commands.ccm	- This file contains the commands to be run on the Cisco after
		  "cnct" successfully logs in.  It is read by the "cnct"
		  program (rather than the "ccm" script), and usually just
		  has the command "show config".  Note that the "cnct" program
		  takes care of going into enable mode, doing a "term len 0",
		  and logging out, so you can leave those things out of the
		  command file.

sample-cron.ccm	- This is a sample entry for "crontab" for the benefit of
		  those who can't figure out Unix man pages.  There is nothing
		  magic or special about it that "ccm" depends on.

Generally, all that is necessary is to pick a directory for ccm to live in,
set the few shell variables in the ccm script to appropriate values, create
a list of your Cisco routers and/or terminal servers (along with their
passwords), and have at it.  The "cnct" program was written specifically for
this application, but I tried to make it general enough to be at least
somewhat useful for other things.  For instance, by using a different command
file, you could use it to make global changes to all your Ciscos (such as
password changes, if you trust it).  It's handy to know about "control-V" in
"vi" to get the "control-Z" character in the command file, by the way.

Anyway, here it is.  Do what you want with it, but please don't redistribute
it without the references to Yours Truly (such as the one below) in the various
files.  If you have any questions, comments, bug reports, improvements, etc.,
please let me know.  I can't make any promises, but I'll see what I can do.

Dana J. Dawson
Sr. Network Analyst
Cray Research, Inc.
(612) 683-3056
dana@cray.com
May, 1993
