05-16-2013 05:48 AM
We are using MDS Cisco Fabric switch.I would like to know more about scirpting documentation for switch.
everytime we need to add the port descrition manually via DM.Could u please someone suggest how that can be managed by script.We have mulpiple server description need to add in DM.How that can be do it via script:
How i can copy the text file to switch location and which location path.
For Example:
Suppose i would like to add port description to Port fc12/21 on switch following is syntax how that i can run on for mulpiple servers:
config
interface fc12/21
switchport description XYZ (SP1)
no shutdown
end
show interface fc12/21
Please suggest.
05-16-2013 06:48 AM
add multiple commands to a file
@dynamoxxx
05-17-2013 06:21 AM
Can you please give me one example please.
and How i can create this file under Switch and which location due to securities reason i unable to copy from windows to switch.
Thanks that will great help.
Email ID: [email protected]
05-17-2013 08:25 PM
you need to create this file somewhere, it's not like you are going to start writing scripts on the switch itself. Create the commands in notepad or whatever you use and then you can simply copy and paste the commands in your terminal window.
@dynamoxxx
05-23-2013 06:14 PM
You can leverage our template based provisioning in DCNM webui by creating script leveraging variable definitions in DCNM such as interface range to execute same command on multiple interfaces... DCNM will push configs to the switch via DCNM template. Only available on latest image of DCNM 6.2.1
05-28-2013 05:34 AM
Andrew,
can you share some documentation that describes how to use DCNM templates. I've upgraded my lab system to 6.2.1 , the built-in help section is not very descriptive.
Thanks
@dynamoxxx
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