Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
||||||||||||||||
|
Posted by Hans on October 3, 2006, 2:44 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. 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 >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. | ||||||||||||||||

Saving log/config files automatically on MDS/switches
Yahoo!
Windows Live
del.icio.us
digg
Netscape 


>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.