Cisco Systems Saving log/config files automatically on MDS/switches

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Saving log/config files automatically on MDS/switches Hans 10-03-06
Posted by Hans on October 3, 2006, 2:44 pm
Please log in for more thread options
Hello,

We have a switch-environment. A few MDS-9509-switches, a lot MDS-9140.
We want to save and transfer the start/up config and logfiles
automatically. I read in the manual about the command scheduler and ftp

and so on.


However, in the company it is not allowed to use FTP or TFTP, but we
can use SCP or SFTP. To set up SCP or SFTP on the switches to
automatically transfer the files looks difficult, to SCP the files to a

central computer.


Now I=B4m wondering how other companies has automated this process.


Thanks in advance.=20


Regards,=20


Hans


Posted by Walter Roberson on October 3, 2006, 4:52 pm
Please log in for more thread options

>We have a switch-environment. A few MDS-9509-switches, a lot MDS-9140.
>We want to save and transfer the start/up config and logfiles
>automatically. I read in the manual about the command scheduler and ftp
>and so on.

>However, in the company it is not allowed to use FTP or TFTP, but we
>can use SCP or SFTP. To set up SCP or SFTP on the switches to
>automatically transfer the files looks difficult, to SCP the files to a
>central computer.

Briefly scanning the documentation, it appears to me that you
can build a scheduled job that does a

copy system:running-config scp://USERNAME:PASSWORD@SERVER//ABSOLUTE/PATH

and the same sort of thing with the log files if they have
a consistant name.

This should be no more difficult than setting up ftp.
Also, -maybe- you could set it up to use ssh keys instead of username
and password.

The documentation advises not to use interactive or "disruptive"
commands in a scheduled job, including copy, because they will be
executed non-interactively; I take that to mean that some or all other
activity might be suspended; I can't tell from here whether the
level it is performed at is incompatible with scp or whether it's
just a bad idea because other traffic might not get through during
that time.


If a scheduled job doesn't work, then it's probably time to use
an 'expect' script to ssh in from a server and fire off the scp.


Similar ThreadsPosted
Saving log/config files automatically on MDS/switches October 3, 2006, 2:44 pm
saving configuration November 14, 2005, 8:34 am
Saving a VM message December 28, 2005, 1:04 pm
Access Violation error while saving config from PIX through PDM to a TFTP server. December 5, 2005, 3:27 am
How is "pri" calculated automatically by GLBP ? July 1, 2008, 1:23 am
Automatically enabling SSH server on a router. December 13, 2005, 6:17 pm
PCM352 not reauthenticating LEAP automatically April 2, 2006, 3:44 pm
Setting up Cisco VPN client to automatically connect December 8, 2006, 9:15 am
Is it possible to automatically shape traffic after quota has been reached? February 26, 2007, 9:28 am
Input the username&password Automatically on the 802.1x client September 8, 2008, 11:07 pm
PIX object-groups automatically created named "_ref" ? October 15, 2007, 10:05 am
PIX 501 Version 6.2(2) not clearing local-host table automatically December 9, 2007, 3:55 am
Cat 6509 automatically put VLAN state into "suspended" and killed my network...why? January 23, 2007, 6:04 pm
Database Files November 10, 2005, 11:45 am
Files on a C3560? March 1, 2006, 6:48 am