The text of a manual · part 7 of 10
6224 Session Manager Reference Guide: Chapter 3 Software Configuration, pages 54 to 62
Pages 54 to 62 of 78, from 6224 Session Manager Reference Guide
The original document is the PDF (1.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the LXE 6224
Page 54
44
Commands and Functions setWdogEnable LDS Only This parameter sets the variable that indicates whether the LDS watchdog feature is On or Off. The command syntax is as follows: set WdogEnable value The valid values are:
1 (or ON) or 0 (or OFF)
For example: set WdogEnable 0 Note:
(turns the watchdog feature off)
Use saveSetup to save any changes in non-volatile memory. After a physical power cycle or a remote bootParms 3 reboot, the changes are then in effect.
setWdogInterval IBM, ANSI and LDS Set the time interval for the 6224 to wait, following a ping, for a response to the ping. Range is 0 to 3600 seconds. The default is 60 seconds. setWdogInterval <length of delay in seconds> setWdogRetries IBM, ANSI and LDS After waiting the WdogInterval to send a ping, then waiting WdogDelay for a response, the terminal is considered inactive. The 6224 will try the wait-and-ping WdogRetries times before sending a close to the socket and terminating the session. Range is 0 through 100. The default is 8. setWdogRetries <retries> showHosts Both ANSI and IBM This diagnostic command displays the current entries in the host name table. There are no arguments for use with this command. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. There are no spaces in this command. The command syntax is as follows: showHosts
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 55
Commands and Functions
45 showHostSetup LDS Only This diagnostic variable displays current LDS host setup. There are no parameters. showHostSetup showSetup IBM, ANSI and LDS This diagnostic command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. There are no spaces in this command. The syntax for this command is as follows: showSetup After pressing [Enter] the setup information scrolls on the screen display. The setup information obtained by the showSetup command can be redirected to a file with the greater than ( > ) symbol, for example: --> showSetup > mysetup.txt press [Enter] showTerm Both ANSI and IBM This diagnostic command will result in the display of information about a particular RF PC. This information includes connection and state as well as autologin data. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: ANSI: showTerm 0xnnnn IBM:
showTerm "xxx.xxx.xxx.xxx"
Where: ANSI : 0xnnnn is replaced with the secondary ID of the specific RF PC in hex notation. IBM : xxx.xxx.xxx.xxx is replaced with the IP address of the specific RF PC in quotes. The following is an example of this command (note the space following the word Term). ANSI: showTerm 0x0009 IBM:
E-SW-6224RG-F-ARC showTerm "141.186.24.81"
6224 Session Manager Reference Guide
Page 56
46
Commands and Functions showTermByIP LDS Only This diagnostic command will result in the display of information about a particular RF PC. This information includes connection and state data. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: showTermByIP "xxx.xxx.xxx.xxx" Where xxx.xxx.xxx.xxx is replaced with the IP address of the specific RF PC in quotes. The following is an example of this command (note the space following the word showTermByIP). showTermByIP "141.186.24.81" showTermByTID LDS Only This diagnostic command will result in the display of information about a particular RF PC. This information includes connection and state data. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The command syntax is as follows: showTermByTID value Where value is replaced with the hexadecimal address of the specific RF PC. Quotes are not required. The following is an example of this command (note the space following the word TermByTID). showTermbyTID 0x1a showUsers IBM, ANSI and LDS This diagnostic function displays information about all RF PCs known to the 6224. This command must be typed at the operating system shell prompt with the upper and lower case letters as indicated. The syntax for this command is as follows (there are no arguments for this command): showUsers
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 57
Commands and Functions
47 smHelp Both ANSI and IBM Typing the following at the shell prompt displays a list of all session manager shell commands: --> smHelp press [Enter] Typing smHelp 1 (note the space before 1) at the shell prompt displays a list of the session manager shell commands as well as their syntax and parameters: --> smHelp 1 press [Enter]
After pressing [Enter] the help information scrolls on the screen display. The help listing can be redirected to a file with a greater than symbol ( > ), for example: --> smHelp 1 > allhelp.txt
E-SW-6224RG-F-ARC press [Enter]
6224 Session Manager Reference Guide
Page 58
48
Commands and Functions
IBM Autologin Autologin for an IBM Session Manager is carried out in the terminal rather than in the 6224 device. In the Config Utility in an IBM terminal: 1.
Select Protocol / Auto Login.
2.
Select Enabled for AutoLoginOn.
The autologin scripts for the IBM terminal mimic what the user enters at the signon screen and consists of one response in the format: <username><TAB><password><ENTER> Example 1:
If the username is S5 and the password is T5, the Prompt1 line would be User and the Reply 1 line entered in the terminal would be s5{tab}t5{enter}
Example 2:
To reach the IBM signon screen on the AS400, enable autologin, and make sure all the prompt and reply fields are blank.
When a connection already exists and is registered in the 6224's connection list, there is no need to rerun autologin. However, as the terminal controls whether the autologin sequence runs, the IBM Session Manager must signal the connecting terminal of an existing connection at the time the terminal attempts to reconnect. On reconnections, the 6224 reads the IP address of the connecting terminal and checks the existing connections table. If a match is found, a Don't Autologin negotiation is sent by the IBM Session Manager to the terminal. The terminal, after recognizing this message, sets a flag that is examined by the autologin sequencer in the terminal before the autologin sequence runs. When the flag indicates Don't Autologin, the autologin sequence is bypassed.
LDS Autologin Autologin must be used for the LDS 6224. In the TE Configuration Utility in an LDS terminal with a 2.4 GHz radio: 1.
Select Protocol / Autologin / TCPIP Autologin.
2.
Autologin is enabled by default and for LDS, this parameter should be enabled.
3.
At the Host: line enter the IP address of the LDS 6224.
4.
Set the listen port number to the desired value (or keep the default value of 4000).
5.
Set the StationID to the desired LDS terminal ID. Do not choose an existing terminal ID, select a new one.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 59
Telnet Security
49
Telnet Security By default, the 6224 Session Manager allows any person with a network Telnet device to open a Telnet session. While in a Telnet session, a person can perform potentially harmful operations on the 6224. The 6224 provides the capability to restrict Telnet access to only authorized individuals. This section describes operation and setup procedures for this security function. Note:
There can be only one user name/password combination for each 6224.
Quick List Command
Process addLoginUser()
Add User Login Data loginUserDelete
Delete User Login Data
EnableLoginSecurity
Enable Login Security
DisableLoginSecurity
Disable Login Security addLoginUser( ) Using either Telnet remote or the local method with a PC, access the 6224 operating system prompt (->). Enter the following command at the 6224 shell prompt(->): addLoginUser("xxxxxxx","yyyyyyy") Where: xxxxxxx is replaced with the user name of no more than twenty (20) characters. yyyyyyy is replaced with the password of at least eight (8) but no more than forty (40) characters. Note the quotation marks around the user name field and the password field and the comma separating the fields. Note also the parentheses surrounding both strings. The L in Login and the U in User must be upper case. Also there are no spaces allowed in the command.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 60
50
Telnet Security loginUserDelete Note:
Only one user name/password can be configured. If a new user name/password is desired, the old user name/password must be deleted before a new one can be programmed.
Using either Telnet remote or the local method with a PC, access the 6224 operating system prompt (->). At the shell prompt (->), enter the following command: loginUserDelete Note the U and D are upper case. There are no spaces allowed in the command. To program a new user name/password use the addLoginUser() command.
EnableLoginSecurity Using either Telnet remote or the local method with a PC, access the 6224 operating system prompt (->). At the shell prompt (->), enter the following command: EnableLoginSecurity Note the upper case E, L, and S in the command. Note also there are no spaces between the three words of the command.
DisableLoginSecurity Using either Telnet remote or the local method with a PC, access the 6224 operating system prompt (->). At the shell prompt (->), enter the following command: DisableLoginSecurity Note the upper case D, L, and S in the command. Note also there are no spaces between the three words of the command.
6224 Session Manager Reference Guide
E-SW-6224RG-F-ARC
Page 61
Telnet Security
51
Script Sending Tool – ANSI Only The 6224 setup (programming) is performed using “calls” to operating system “shell” commands. Being able to manually perform the setup is handy when only a few commands are needed to administer the 6224. When many commands are required, the configuration can be very burdensome. For this reason, LXE has developed a tool that sends prepared text setup scripts to a 6224. The tool is actually a modified Telnet client, running on a computer, that takes a file as it is input rather than keyboard entries. The tool, in effect, telnets to the 6224 and runs the pre-composed specified script. The script can be created using a text editor with all its powerful copying abilities. The script will consist of 6224 shell commands and parameters. The script sending tool cannot be used to configure the IP address and subnet mask or the “gateway” and “flags” values for the 6224. Those four parameters can only be configured using a dumb terminal directly connected to the 6224. The source code for the script sending tool is supplied by LXE at no additional cost to you. It will require compiling on one of your UNIX machines. Also, the compiled program must be run on a UNIX platform. The name of the program is: smsetup. The script sending tool is invoked by entering the following on the command line of the UNIX machine: smsetup ”XXX”<YYY>results.log Where XXX is replaced with the IP address of the 6224 in quotes. YYY is replaced with the file name and extension of the text file to be sent to the 6224. The Less than (<) and Greater than (>) characters are required. The file RESULTS.LOG is an ASCII text log file that is created as SMSETUP executes. Note that you can add commentary to your script file by using the # (number symbol) in the first column of each line of commentary.
E-SW-6224RG-F-ARC
6224 Session Manager Reference Guide
Page 62
52
6224 Session Manager Reference Guide
Telnet Security
E-SW-6224RG-F-ARC