08-24-2006 09:43 AM
Though I know writing Scripts for Cisco MDs switches (as I don't rely on FM/DM GUI), I am wondering how to include comments in a script for better readability. Would appreciate if anyone could point me to the direction where it is been documented or how to do it.
Thanks
Mohan
08-30-2006 06:41 AM
With regards to your questions:
1- No, you must create the script externally to the MDS as specified in the doc listed below.
http://www.cisco.com/univercd/cc/td/doc/product/sn5000/mds9000/1_3_1/sw_confg/cnfig.pdf
You can however create a cron job on a host and login to the MDS via SSH providing Passwordless access to run a script. Let me know if this is something you would like to pursue.
2- Yes, this is a feature in version 2.0(1b) which was released recently to Cisco.com, look under "Command Scheduler" in the following link.
http://www.cisco.com/univercd/cc/td/doc/product/sn5000/mds9000/2_0/ol624901.htm
10-17-2006 10:18 AM
"... how to include comments in a script for better readability." This question was not answered. Aside from using "!", is there a REM or other comment that does not generate an error message during script execution? The documentation does not provide a solution.
thx...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: