A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Question about saving logfile and configfile



 
 
Thread Tools Display Modes
  #1  
Old October 3rd 06, 07:42 PM posted to comp.arch.storage
Hans
external usenet poster
 
Posts: 1
Default Question about saving logfile and configfile

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´m wondering how other companies has automated this process.

Thanks in advance.

Regards,

Hans

  #2  
Old October 4th 06, 04:10 PM posted to comp.arch.storage
Jon Metzger
external usenet poster
 
Posts: 14
Default Question about saving logfile and configfile

Hans wrote:
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´m wondering how other companies has automated this process.


We go the other way around and initiate the copy from the server where
we want the backups stored. We put an system-operator level ID on each
MDS switch with a public SSH key. Then on a host with the appropriate
private key, a script runs every night that basically does something like:

ssh "show running-config" switch.name.config

You could run a number of commands this way, or run a script on the
switches themselves (run-script bootflash:blagh.script). It works
pretty well for us.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.