VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Running Simultaneous Commands? (https://forums.vandyke.com/showthread.php?t=13026)

Chris2NyCE 02-21-2018 09:39 AM

Running Simultaneous Commands?
 
So i have a coworker that user another tool. He has the ability to open 4 SSH sessions (or telnet/serial etc) and when he types commands on his first window, it mirrors commands on every other window he has open.

So if we wanted to do a 'SH IP INT BRI' or 'INT VLAN 111...', it would enter the command simultaneously across all X number of sessions. That way when we are making the same config changes on multiple devices, we ca do it at the same time.

Does CRT have this type of option? I run tiled windows now so i can view multiple sessions at once, but to have the ability to run simultaneous commands would be nice.

Plus thats just one ore thing that would make CRT better than his app :)

ekoranyi 02-21-2018 09:50 AM

Hi Chris2NyCE,

The Command Window
--> View > Command Window
- Need to send the same command to multiple hosts you're connected to in SecureCRT? Yep. This allows you to do that. No more copy > paste > (activate next tab) > paste > (activate next tab)... routine. Just open the Command window and right-click inside it to enable the "Send commands to all sessions" behavior. Here's a video:

http://www.youtube.com/watch?v=-OhccJcsoyI

- Need to perform the exact same sequence of steps on all the machines that are currently connected, using the first "tab" as your "master" and broadcasting all of your keystrokes to each host simultaneously? Combine the "Send commands to all sessions" option I've already described with the "Send characters immediately" option, and you won't even see what's in the command window... it simply acts as a transparent input mechanism to all your connected hosts in the same SecureCRT window.

Does this give you the functionality you're looking for?

Chris2NyCE 03-07-2018 09:37 AM

Quote:

Originally Posted by ekoranyi (Post 49134)
Hi Chris2NyCE,

The Command Window
--> View > Command Window
- Need to send the same command to multiple hosts you're connected to in SecureCRT? Yep. This allows you to do that. No more copy > paste > (activate next tab) > paste > (activate next tab)... routine. Just open the Command window and right-click inside it to enable the "Send commands to all sessions" behavior. Here's a video:

http://www.youtube.com/watch?v=-OhccJcsoyI

- Need to perform the exact same sequence of steps on all the machines that are currently connected, using the first "tab" as your "master" and broadcasting all of your keystrokes to each host simultaneously? Combine the "Send commands to all sessions" option I've already described with the "Send characters immediately" option, and you won't even see what's in the command window... it simply acts as a transparent input mechanism to all your connected hosts in the same SecureCRT window.

Does this give you the functionality you're looking for?



This is perfect. Its what i needed. However, one follow up questions, how do i make it also utilize my button bar strings? I have a bunch of preset commands configured and i noticed it only works if i manually type in into the command window and doesnt work when i select a button

ekoranyi 03-07-2018 10:55 AM

Hi Chris2NyCE,

Shift + Click a button to have that button's action applied simultaneously to all your connected tabs (including running a script simultaneously on all open tabs in the same window).

Does this give you the functionality you're looking for?


All times are GMT -6. The time now is 01:15 AM.