The text of a manual · part 11 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 97 to 106
Pages 97 to 106 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 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 Cyclades TS2000 and Avocent TS2000
Page 97
Chapter 3 - Additional Features Note: Answering yes to this question will discard only the parameter(s) which you are currently configuring if they were configured for a specific port in a previous session. For instance, if you are currently configuring parameter, all.x, and there was a specific port, s2.x, configured; then, answering yes to this question will discard s2.x. Type 'c' to CONTINUE to set these parameters for specific ports or 'q' to QUIT : Typing 'c' leads to Screen 8, typing 'q' leads to Screen 9. Screen 8: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** You have 8 available ports on this system. Type 'q' to quit, a valid port number[1-8], or anything else to refresh :
Note: The number of available ports depends on the system you are on. Typing in a valid port number repeats this program except this time it's configuring for the port number you have chosen. For “wiz --ac cas,” an additional parameter is asked: serverfarm. Typing 'q' leads to Screen 9.
User Guide
97
Page 98
Access Method Screen 9: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** (Note: If you are NOT connected to this unit through a console, and you have just reconfigured the IP of this unit, activating the new configurations may cause you to lose connection. In that case, please reconnect to the unit by the new IP address, and manually issue a saveconf to save your configurations to flash.)
Do you want to activate your configurations now? (y/n) [y] :
Screen 10: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Flash refers to a type of memory that can be erased and reprogrammed in units of memory known as blocks rather than one byte at a time; thus, making updating to memory easier. If you choose to save to flash, your configurations thus far will still be in the memory of the system even after you reboot it. If you don't save to flash and if you were to reboot the system, all your new configurations will be lost and you will have to reconfigure the system. Do you want to save your configurations to flash? (y/n) [n] :
CLI Method To configure certain parameters for a specific serial port:
98
Cyclades-TS
Page 99
Chapter 3 - Additional Features Step 1: At the command prompt, type in the appropriate command to configure desired parameters. To activate the serial port. <string> should be ttyS<serial port number> : config configure line <serial port number> tty <string> To configure the ipno: config configure line <serial port number> ipno <string> To configure the socket_port: config configure line <serial port number> socket <number> To configure the protocol. <string> is the type of protocol desired: config configure line <serial port number> protocol <string> To configure modbus_smode: config configure line <serial port number> modbus <string> To configure users: config configure line <serial port number> users <string> To configure the poll_interval: config configure line <serial port number> pollinterval <number> To configure tx_interval: config configure line <serial port number> txinterval <number> To configure idletimeout: config configure line <serial port number> idletimeout <number>
User Guide
99
Page 100
Access Method
To configure conf.group: config configure conf group <string>
Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> ipno <string> socket <number> protocol <string> modbus <string> users <string> pollinterval <number> txinterval <number> idletimeout <number> Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write
100
Cyclades-TS
Page 101
Chapter 3 - Additional Features Configuration for TS Parameters and Passed Values For TS configuration, you will need to configure the following parameters: all.host
The IP address of the host to which the terminals will connect.
all.protocol
For the terminal server configuration, the possible protocols are login (which requests username and password), rlogin (receives username from the TS and requests a password), telnet, ssh, ssh2, or socket_client. If the protocol is configured as telnet or socket_client, the parameter socket_port needs to be configured.
all.socket_port
This parameter is valid only if all.protocol is configured as socket_client or telnet. The socket_port is the TCP port number of the application that will accept connections requested by this serial port.
all.telnet_client_mode
When the protocol is TELNET, this parameter configured as BINARY (1) causes an attempt to negotiate the TELNET BINARY option on both input and output with the Telnet server. So it puts the telnet client in binary mode. The acceptable values are "0" or “1”, where “0” is text mode (default) and “1” is a binary mode.
all.userauto (unique to TS)
Username used when connected to a UNIX server from the user’s serial terminal.
vi Method The parameters described above must be changed by directly editing the /etc/portslave/pslave.conf file.
User Guide
101
Page 102
Access Method Browser Method Step 1: Follow the steps 1 to 4 in the section titled Configuration for CAS, “Browser Method” on page 88. Step 2: Click the TS Profile button in the Wizard section. Configure the following parameters: Protocol (telnet, ssh, rlogin or socket client) Socket port (23 for telnet, 22 for ssh, 513 for rlogin)
Profile section: Terminal Server section:
Host (the name or the IP address of the host) Automatic User
Step 3: Click the Submit button. At this point, the configuration file is written in the RAMdisk. Step 4: Make changes effective. Click on the Administration > Run Configuration link, check the Serial Ports/ Ethernet/Static Routes box and click on the Activate Configuration button. Step 5: Save it in the flash. Go to the link Administration > Load/Save Configuration and click the Save to Flash button.
Wizard Method Step 1: Bring up the wizard. At the command prompt, type the following to bring up the Access Method custom wizard: wiz --ac ts This will bring up Screen 1:
102
Cyclades-TS
Page 103
Chapter 3 - Additional Features Screen 1: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** INSTRUCTIONS for using the Wizard: You can: 1) Enter the appropriate information for your system and press ENTER. Enter '#' if you want to deactivate that parameter or 2) Press ENTER if you are satisfied with the value within the brackets [ ] and want to go on to the next parameter or 3) Press ESC if you want to exit. NOTE: For some parameters, if there is nothing within the brackets, it will continue to ask for a value. In that case, you must enter a valid value or # if you do not wish to configure the value. Press ENTER to continue... Screen 2: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.protocol : rlogin all.socket_port : 23 all.telnet_client_mode : 0 all.userauto : # Set to defaults? (y/n) [n] :
User Guide
103
Page 104
Access Method Screen 3: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.PROTOCOL - Users can access the servers through the serial port using ssh, ssh2, telnet, login, rlogin, or socket_client. (e.g. login -requests username and password, rlogin receives username from the system and requests a password, etc.) all.protocol[rlogin] :
ALL.SOCKET_PORT - This defines the port(s) to be used by the protocols telnet and socket_client. For these two protocols a default value of 23 is used when no value is configured. all.socket_port[23] :
Screen 4: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.TELNET_CLIENT_MODE - This parameter only applies if the current protocol configured is telnet. Configuring as binary (1) causes an attempt to negotiate the TELNET BINARY option on both input and output with the Telnet server. Thus, it puts the telnet client in binary mode. The default is 0 which represents text mode. all.telnet_client_mode[0] :
104
Cyclades-TS
Page 105
Chapter 3 - Additional Features ALL.USERAUTO - Username used when connected to a Unix server from the user's serial terminal. all.userauto[#] :
Note: all.host is configured under the wiz - - tso.
Screen 5: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: (The ones with the '#' means it's not activated.) all.protocol : rlogin all.socket_port : 23 all.telnet_client_mode : 0 all.userauto : # Are these configuration(s) all correct? (y/n) [n]: If you type 'n' Type 'c' to go back and CORRECT these parameters or 'q' to QUIT : Typing 'c' repeats the application, typing 'q' exits the entire wiz application If you type 'y' Discard previous port-specific parameters? (y/n) [n] :
User Guide
105
Page 106
Access Method
Note: Answering yes to this question will discard only the parameter(s) which you are currently configuring if they were configured for a specific port in a previous session. For instance, if you are currently configuring parameter, all.x, and there was a specific port, s2.x, configured; then, answering yes to this question will discard s2.x. Type 'c' to CONTINUE to set these parameters for specific ports or 'q' to QUIT : Typing 'c' leads to Screen 6, typing 'q' leads to Screen 7.
Screen 6: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** You have 8 available ports on this system. Type 'q' to quit, a valid port number[1-8], or anything else to refresh :
Note: The number of available ports depends on the system you are on. Typing in a valid port number repeats this program except this time it's configuring for the port number you have chosen. Typing 'q' leads to Screen 7.
106
Cyclades-TS