cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2355
Views
2
Helpful
2
Replies

Scripting for Cisco MDS

SAK_Mohan
Level 1
Level 1

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 2

vmoopeung
Level 5
Level 5

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

dkmurray55
Level 1
Level 1

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

Getting Started

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: