I need to remotely shut/no shut the radio interface of an IOS AP setup as a workgroup bridge. Obviously, when ssh'd in and running the following script, my ssh session drops after the shutdown command:
So, my question is, is there a way to create a macro and include all three of these commands? That way, I simply run the macro, my ssh session still drops, but the "no shut" command brings the radio back up, allowing me to re-ssh to the AP. It seems like this should be possible.
Thanks for the help in advance.