Lantronix ETS Reference Manual - 6.6 Local Server Commands
Local Server Commands
Using the ETS
6-8
Pressing the Backward or Forward switch key is identical to going back to Local mode and typing the
command explicitly. However, the switch keys also function in Local mode—if you press the defined
Forward key from the local prompt, it is the same as typing Forwards as a command. Unlike the Break key,
Forwards and Backwards are not assigned to any particular key by default. They must be explicitly
configured.
At this point, an example may help to clarify working with sessions. Suppose user Bob connects to host
Irvine. He works for a while, then presses the Break key to return to Local mode and forms a new
connection to host Dayton. He works some more, then he decides to break and connect to host Sanfran.
If he presses Break and types
Show Sessions
, his session list will look like this:
◆
Irvine
◆
Dayton
◆
Sanfran (where Sanfran is the current session)
If Bob presses his Backward key or enters the Backward command, he will resume the session on Dayton.
Pressing it again puts him in the Irvine session. Pressing the Forward key twice from the Irvine session will
move him forward in the list to the Dayton session and then to the Sanfran session. Pressing the Forward
Key once more from Sanfran moves him to the other end of the list, to Irvine.
6.5.4 Disconnect and Resume
Two other useful session management commands are Disconnect and Resume. The Disconnect command
terminates the current session, a specified session, or all of your sessions. In our example above, Bob could
type Disconnect 1 to terminate the Irvine session.
From the local prompt, Resume returns you to a specified session or the current session. If you do not
specify a valid session number, Resume will put you back in the last active session. In our example above,
Bob could type Resume 2 to go back to Dayton.
6.6 Local Server Commands
Each local port can use the following Local mode commands: Broadcast, Lock, Logout, and Test Port.
6.6.1 Broadcast
When the Broadcast feature is enabled by your system manager, you can use the Broadcast command to
send messages to other users on your ETS by specifying either a port number or a username. If a user is
specified, the message will go the user with that name. If there are multiple users with the same name, the
message will go to the one with the lowest port number. Typical broadcast commands are shown in Figure
6-14.
Figure 6-14: Broadcast Command Examples
Note:
The message must be enclosed in quotation marks.
Local> BROADCAST 8 “Host Vax5 is down - use vax9”
Local> BROADCAST Bob “This server will reboot in 5 minutes”