Lantronix ETS Reference Manual - 5.4.3 Locking A Port
Ports
Security
5-15
Each Set Menu command takes three parameters: an entry number to determine its place in the menu, an
option name that the user will see in that command slot, and the command string that will be executed if the
user selects that entry. For example, the command displayed in Figure 5-28 will put an entry in menu
position five.
Figure 5-28: Set Menu Command
Menu users will see the string Show network TCP hosts; if they select this entry, the command Show Hosts
will be executed for them.
The Exit command can be assigned to one of the menu slots to return users to the command line. The Logout
command can be added to log the user out and reset the port. Typing Ctrl-D or Ctrl-Z at the menu prompt
will also log out a menu mode user.
Menu commands are subject to the current user’s privilege level. Enabling Security on the port may restrict
the user from selecting some of the menu entries.
5.4.3 Locking a Port
The Lock command may be used to secure a port without disconnecting sessions. When Lock is entered,
the user will be prompted to enter a password. The port will then be locked until this password is used again
to unlock it. Figure 5-29 displays an example.
Figure 5-29: Locking and Unlocking a Port
For information on enabling the ETS Lock feature, see Enabling Server-Wide Port Characteristics on page
4-1.
To unlock a port without the Lock password, a privileged user must use the Unlock Port command, or log
out the port using the Logout command. Logout will disconnect all sessions. Unlock Port and Logout are
discussed in the Command Reference.
5.4.4 Preventing Access Until DSR Is Asserted
The Signal Check characteristic can be used to prevent remote connections to a port unless DSR is asserted.
This is often used to prevent Telnet logins to a port until the device attached to the port (for example, a
terminal) asserts the DSR signal, indicating that it is connected and powered on.
Figure 5-30: Enabling Signal Check
Local> SET MENU 5 “Show net TCP hosts” “SHOW HOSTS”
Local> LOCK
Password> donut (not echoed)
Verification> donut (not echoed)
Unlock password> donut (not echoed)
Local>
Local>> DEFINE PORT 3 SIGNAL CHECK ENABLED