The text of a manual · part 9 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 77 to 86
Pages 77 to 86 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 77
Chapter 3 - Additional Features Introduction
Chapter 3 - Additional Features
After the Configuration Wizard section in this chapter, each of the following sections is listed alphabetically and shows how to configure the option using vi, the custom Wizard (when available), browser, where appropriate, and the Command Line Interface (CLI), when available. This chapter contains the following sections: •
Configuration Wizard - Basic Wizard
•
Access Method
•
Authentication
•
CAS Port Pool
•
Centralized Management
•
Clustering
•
CronD
•
Data Buffering
•
DHCP
•
Filters
•
Generating Alarms
•
Help
•
Modbus
•
NTP
•
Ports Configured as Terminal Servers
•
Serial Settings
•
Session Sniffing
•
SNMP
•
Syslog
User Guide
77
Page 78
Configuration Wizard - Basic Wizard •
TCP Keepalive
•
Terminal Appearance
•
Time Zone
•
TS110-only Analog and Digital Ports
•
Linux-PAM
•
Power Management
•
Menu Shell
•
SNMP Proxy
•
Start and Stop Daemons
Configuration Wizard - Basic Wizard The configuration wizard application is a quicker and easier way to configure the Cyclades-TS. It is recommended that you use this application if you are not familiar with the vi editor or if you just want to do a quick installation of the TS. The command wiz gets you started with some basic configuration. After executing this command, you can continue the configuration of the TS using any browser or by editing system files with the vi editor. What follows are the basic parameters to get you quickly started. The files that will be eventually modified if you decide to save to flash at the end of this application are: 1.
/etc/hostname
2.
/etc/hosts
3.
/etc/resolv.conf
4.
/etc/network/st_routes
5.
/etc/network/ifcfg_eth0
6.
/etc/portslave/pslave.conf
78
Cyclades-TS
Page 79
Chapter 3 - Additional Features Step 1: Enter the command wiz. At the command prompt type “wiz” in your terminal to bring up the wizard. You will receive an initial instruction screen. *********************************************************** ********* 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 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...
Step 2: Press Enter to continue with the wizard. You will see the current configurations and have the choice of setting them to default values, or not. ************************************************************ ********* C O N F I G U R A T I O N W I Z A R D ********** ************************************************************ Current configuration: Hostname: CAS DHCP: enabled Domain name: # Primary DNS Server: # Gateway IP: eth0
User Guide
79
Page 80
Configuration Wizard - Basic Wizard Set to defaults? (y/n) [n] :
Step 3: Press Enter or type n or y. The default answer or value to any question is in the brackets. You can take one of three actions: • Either just press the ENTER key to execute whatever is in between the brackets, or • Type n to NOT reset the current configurations to the Cyclades defaults, or • Type y to reset to Cyclades default configurations.
Tip. On most of the following configuration screens, the default or current value of the parameter is displayed inside brackets. Just press the ENTER key if you are satisfied with the value in the brackets. If not, enter the appropriate parameter and press ENTER. If at any time after choosing whether to set your configurations to default or not, you want to exit the wizard or skip the rest of the configurations, press ESC. This will immediately display a summary of the current configurations for your verification before exiting the application. This will not work if you did not enter a valid choice for the parameter you are currently on. 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.
Step 4: Enter Hostname and then press the Enter key. This is an alias for your TS that allows you to refer to the TS by this name rather than its IP address. Enter hostname after the prompt: Hostname[CAS]:
80
Cyclades-TS
Page 81
Chapter 3 - Additional Features Step 5: Type y, n, or press Enter to enable or disable DHCP client. Type y or press Enter if there is a DHCP Server in your LAN, to have the Dynamic Host Configuration Protocol (DHCP) automatically assign an IP address for your TS. Type n to manually assign an IP address. Do you want to use dhcp to automatically assign an IP for your system (y/n) [y]:
Note: Typing y omits Steps 6 and Step 10.
Step 6: If DHCP client is disabled, enter IP Address of your TS and then press the Enter key. If the DHCP client is enabled, skip this step. This question will only appear if DHCP client is disabled. This is the IP address of the TS within your network. See your network administrator to obtain a valid IP address for the TS. IP of your system[]: 192.168.160.10 Step 7: Enter Domain name and then press Enter. Domain name locates or identifies your organization within the Internet. Domain name[#]: cyclades.com Step 8: Enter IP address of Domain Name Server and press Enter. At the prompt, enter the IP address of the server that resolves domain names. Your domain name is alphabetical so that it is easier to remember. Every time you see the domain name, it is actually being translated into an IP address by the domain name server. See your network administrator to obtain this IP address for the domain name server. Domain Name Server[#]: 192.168.160.200 Step 9: Enter Gateway IP address and press Enter. The Gateway is a node on a network that serves as an entrance point into another network. See your network administrator to find out your organization's gateway address.
User Guide
81
Page 82
Configuration Wizard - Basic Wizard Gateway IP[eth0]: 192.168.160.1 Step 10: If DHCP client is disabled, enter Netmask and press Enter. If the DHCP client is enabled, skip this step. This question will appear only if DHCP client is disabled. The Netmask is a string of 0s and 1s that mask or screen out the host part of an IP address so that only the network part of the address remains. Netmask[#]: 255.255.255.0 Step 11: Review configuration parameters. You will now have the parameters you just configured displayed back to you. If you entered y in Step 5: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Current configuration: Hostname: CAS DHCP: enabled Domain name: cyclades.com Primary DNS Server: 197.168.160.200 Gateway IP: 192.168.160.1 Are all these parameters correct (Y)es or (N)o [N]: If you entered n in Step 5: Current configuration: Hostname: CAS DHCP: disabled System IP: 192.168.160.10 Domain name: cyclades.com Primary DNS Server: 192.168.160.200 Gateway IP: 192.168.160.1 Network Mask: 255.255.255.0 Are all these parameters correct (y/n) [y]:
82
Cyclades-TS
Page 83
Chapter 3 - Additional Features Step 12: Type y, or n, or press Enter. Type y if all parameters are correct. Type n or just press ENTER if not all the parameters are correct and you want to go back and redo them. Step 13: If you typed n in Step 11, type c or q. As directed by the prompt, type c to go back to very beginning of this application to change the parameters. Type q to exit. Step 14: If you typed y in Step 11, choose whether to activate your configurations.
*********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** You can now use the browser to finish your system configurations, but before that, please read below.
(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] : Step 15: Choose whether to save to flash. Flash is a type of memory that will maintain the information saved on it even after the Cyclades-TS is turned off. Once it is turned on again, the saved information can be recovered. If y is entered, the screen will display an explanation of what saving to flash means: 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.
User Guide
83
Page 84
Configuration Wizard - Basic Wizard If you choose to save to flash, your configurations thus far will still be in the memory of the TS 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 TS. Do you want to save your configurations to flash? (y/n) [n]: Step 16: Type 'y' if you want to save to flash. Type 'n' if you don't want to save to flash. You can now continue TS configurations using the Web browser by typing in the IP address of the TS.
Using the Wizard through your Browser The Web interface supports wizards for serial ports configuration. The wizard is a useful tool that simplifies configuration of serial ports. The Web interface will access the following wizard files: •
/etc/portslave/pslave.wiz.cas (CAS)
•
/etc/portslave/pslave.wiz.ts (TS)
•
/etc/portslave/pslave.wiz.ras (Dial-in Access)
•
/etc/portslave/pslave.wiz.auto (Automation)
The step-by-step process to configuring ports for a specific profile appear in the following sections, and the exact screen flow begins with Figure 17: Configuration and Administration page. To summarize the process, the wizard configuration is started by first selecting the desired port(s) on the Port Selection page (Figure 18: Port Selection page), clicking Submit, and then selecting either the CAS, TS, or RAS profile buttons on the subsequent Serial Port Configuration Page(Figure 19: Serial Port Configuration page). Change the appropriate parameters, and then click the Submit button on the Serial Port Configuration Page. For most applications, the parameters to be changed are: For CAS: •
Port Speed
•
First RADIUS/TacacsPlus Authentication Server
84
Cyclades-TS
Page 85
Chapter 3 - Additional Features •
First Accounting Server
•
RADIUS/TacacsPlus secret
•
Protocol (if the protocol is Socket SSH, Socket Telnet, or Socket Raw)
•
Socket Port (keep the “Incremented” option on)
For TS: •
Port Speed
•
First RADIUS/TacacsPlus Authentication Server
•
First Accounting Server
•
RADIUS/TacacsPlus secret
•
Protocol (if the protocol is Login, Rlogin, SSH, or Socket Client)
•
Socket Port (write the TCP port for the protocol selected; keep the “incremented” option off)
For Dial-in access: •
First RADIUS/TacacsPlus Authentication Server
•
First Accounting Server
•
RADIUS/TacacsPlus secret
•
Remote IP Address (keep the “Incremented” option on)
User Guide
85
Page 86
Access Method Access Method Access method is how a user accesses a server connected to one of the serial ports on the Cyclades-TS (CAS profile) or how a user connected to one of the serial ports accesses a server in the network (TS profile or Dial-In profile).
Configuration for CAS Parameters Involved and Passed Values The parameters involved in configuring Access Method for CAS are as follows:
86 all.ipno
This is the default IP address of the Cyclades-TS's serial ports. Any host can access a port using its IP address as long as a path to the address exists in the host's routing table. An example value would be 192.168.1.101+. The “+” indicates that the first port should be addressed as 192.168.1.101 and the following ports should have consecutive values.
all.socket_port
In the CAS profile, this defines an alternative labeling system for the Cyclades-TS ports. An example value would be 7001+. The “+” after the numerical value causes the serial interfaces to be numbered consecutively. In this example, serial interface 1 is assigned the port value 7001, serial interface 2 is assigned the port value 7002, etc. One example on how this could be used is in the case of all.protocol or s<n>.protocol socket_ssh and the port value (7001, 7002, etc), if supplied by the ssh client like username:port value, the ssh client will be directly connected with the serial interface.
all.protocol
The possible protocols are telnet, ssh1/ssh2 or raw data: socket_server = telnet protocol, socket_ssh = ssh1/ssh2 protocol, raw_data = used to exchange data in transparent mode. Raw_data is similar to socket_server mode but without telnet negotiation breaks to serial ports. An example value would be socket_server.
Cyclades-TS