03-04-2011 06:19 AM
Hi All,
Is there anyway to get a mail from SAN Switch?
For Example, I am automating a task and I need a mail once the task is been completed.
Regards,
Shankar R
03-04-2011 12:06 PM
Hello,
You can use scheduler feature from MDS to schedule a job and then e-mail it to you
switch(config)# scheduler job ?
name Specify a name for the job
switch(config)# scheduler ?
aaa-authentication Password for AAA authentication(of logged in user)
job Define a job
logfile Scheduler log file configuration
schedule Define a schedule
transport Configure transport related configuration
switch(config)# scheduler transport email from ?
WORD Provide from email address, example: SJ-9500-1@xyz.com (Max Size 255)
03-07-2011 03:55 AM
Hi Vu Phan,
Thanks for the immediate reply. Under Configuration terminal I don't have the option of "transport". Please find the output of the scheduler help command.
switch(config)# scheduler ?
aaa-authentication Password for AAA authentication(of logged in user)
job Define a job
logfile Scheduler log file configuration
schedule Define a schedule
I am trying to configure mail option in Cisco MDS 9100.
Regards,
Shankar R.
03-07-2011 05:09 AM
I looked at the "transport" option on my switches but couldn't see it on 3.3 or 4 but it is on one our NX OS version 5 switches. So must be a new option in version 5.
03-07-2011 07:21 AM
Hi User 4444,
Thanks for updating me in this. I don't have version 5.0 CLI Guide.
I want to find other way to trigger a mail once the job is been done in my switch. If you get some idea please do share with me.
Thanks,
Shankar R
03-07-2011 07:41 AM
You could still use Scheduler but use "run-script" instead and have the script file on the bootflash: That runs after certain conditions for the job. We use Blat here to send emails to us but not from the Cisco MDS switches but from Window servers, so you will need to test it.
Thanks
03-08-2011 10:38 AM
You can scheduler the MDS to connect to SCP, SFTP, TFTP, FTP, etc... and drop a file to a server.
This can be a Linux or Windows machine. Then run another script on Linux/Windows to check for new file and if file is there, send it using blat.exe (which i have used before and it works great) or a mail client in linux to send mail. They are both going to us SMTP to send mail (not mapi).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide