08-10-2015 04:48 PM
Hi
I need to make a change, where when i enter the first command, i lose remote connectivity where i need to enter a few more commands. Is there a way i can script this? Im trying to make the changes to some ports on a 3850.
Im doing some python scripting studies but not there yet :)
thanks
David
08-10-2015 06:08 PM
Without learning a scripting language or progamming (which python is the way it seems to be going), you could use Putty Commander (http://www.unixmantra.com/2013/04/putty-connection-manager-tabbed-putty.html) to run multiple commands.
Regards,
Kevin
08-10-2015 08:03 PM
Hi Kevin
thanks for the response, ive had a look at this software and it looks pretty good. Im actually using super putty at the moment thats similar. The multi command runs the same command on different instances, where im looking to run 2 commands, the first one drops the connection and therefore i can not run the second command
Ta
David
08-10-2015 10:32 PM
Actually, i found an article with Macros that seems to do the trick
config t macro name Change-vlan interface Vlan1 no ip address shutdown interface vlan100 ip address 172.29.159.6 255.255.255.252 no shutdown @
To run the macro:
macro global apply Change-vlan
https://supportforums.cisco.com/document/29676/create-macros-cisco-switches
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