SecureCRT Tutorial - How to use SecureCRT command window to send commands to multiple sessions

SecureCRT for Mac is a professional network that can be run on Mac systems SecureCRT for Mac, you can easily switch between Mac, Linux and Windows. It can be transmitted encrypted files by using the included VCP command-line program. It has all the features of the popular CRTTelnet clients, including: automatic enrollment, to maintain different characteristics, printing function, color settings for different hosts, variable screen size, user-defined keys bitmap and good VT100, VT102, VT220 and ANSI competition .
01112925_b0ec976984.jpeg

Introduction

If you manage many servers, switches and routers, you may often need to issue the same commands to multiple computers. You are grouped in the session by allowing a window, then use the command window first to broadcast all sessions command, SecureCRT can help you easily accomplish this time consuming task.
To send commands to a group session is a multi-step process:

  1. Organization and begin breakout sessions.

  2. Starting a session in a tabbed window, or multiple sessions onto the same SecureCRT window.

  3. Using a special command window set to distribute a command to all tabbed sessions of the window.

下面,我们将引导您完成整个过程的每个步骤。如果您已按照步骤1中的说明将会话组织到组中,则可以跳到步骤2。
1.将会话组织到组中
第一步是连接将采用一组通用命令的会话。一次连接一组会话的最简单方法是在文件夹中组织会话,然后使用“ 连接”对话框进行连接。只需选择一个文件夹,然后单击“ 连接”按钮即可启动该文件夹中的所有会话。
2.在选项卡式窗口中启动会话或将会话拖动到SecureCRT窗口
另一种方法允许您快速分组活动会话,以便您可以向它们发出命令。如果您要将命令广播到活动会话的子集,则可以使用SecureCRT可拖动选项卡将它们分组到一个窗口中。
首先,选择一个选项卡,然后右键单击选项卡并选择“ 发送到新窗口”。SecureCRT将选项卡发送到单独的窗口。然后,您可以根据需要将尽可能多的SecureCRT会话选项卡拖到新窗口中。

01113255_9d52fbe347.jpeg

或者,如果您已在选项卡式SecureCRT窗口中有一组会话,则可以将不希望广播命令的选项卡拖到单独的窗口中。

从命令窗口中排除接收命令的另一种方法是锁定它们。命令不会发送到锁定的会话,这使得可以将命令发送到选项卡式会话的子集。可以从“ 文件”菜单或选项卡菜单锁定会话。
3.使用命令窗口广播命令
广播命令使用SecureCRT命令窗口,该窗口显示在会话窗口下方。这允许您键入仅在按ENTER键时发送到遥控器的命令(当不在命令窗口中时,每个字符在您键入时立即发送到遥控器)。您可以使用CTRL + ENTER组合键在命令窗口中准备多行命令。
要打开“命令”窗口,请在“ 视图”菜单上选择“ 命令窗口 ” 。将所有会话作为选项卡启动后,在“命令”窗口中单击鼠标右键,然后选择“ 将命令发送到所有会话”。启用此选项后,在命令窗口中输入的每个命令都将发送到SecureCRT窗口中的每个选项卡。
您可以通过在“ 全局选项”对话框中启用“命令”窗口历史记录,在命令窗口中保存命令。在“ 终端/外观”类别中,在“ 命令窗口历史记录”选项中输入您希望SecureCRT记住的最近使用的命令窗口命令的数量(要禁用命令窗口历史记录,请在此输入框中输入零(0))。在命令窗口中,您可以使用向上和向下箭头键循环浏览这些命令。

01113339_a26de1b993.jpeg

After completing the broadcast command, you might want to be restored to the previous state, then tab or window. You can drag the tab between windows to do this. When the last tab drag the target window, the second window disappears.
In SecureCRT 7.0 and later, the command can also be broadcast to the tile session, which has the added benefit of being able to simultaneously view the output of commands in all sessions.

01113351_5f61b2d541.jpeg

Guess you like

Origin blog.51cto.com/14370425/2403598