Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Scripting for Cisco MDS

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

2 REPLIES
Bronze

Re: Scripting for Cisco MDS

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

Community Member

Re: Scripting for Cisco MDS

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

1732
Views
2
Helpful
2
Replies
CreatePlease to create content