The text of a manual · part 45 of 49
Cyclades-TS User Guide: Appendix H - Examples for Configuration Testing
Pages 421 to 428 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 421
Appendix H - Examples for Config Testing Introduction
Appendix H - Examples for Configuration Testing
The following three examples are just given to test a configuration. The steps should be followed after configuring the Cyclades-TS.
Console Access Server With the Cyclades-TS set up as a CAS you can access a server connected to the Cyclades-TS through the server’s serial console port from a workstation on the LAN or WAN. There is no authentication by default, but the system can be configured for authentication to be performed by a Radius server, a TacacsPlus server, or even by a local database. Either telnet or ssh can be used.
See Appendix A - New User Background Information for more information about ssh. The instructions in Chapter 2 - Installation, Configuration, and Usage will set up a fully-functional, default CAS environment. More options can be added after the initial setup, as illustrated in Chapter 3 - Additional Features.
An example of a CAS environment is shown in the following figure.Figure 62: Console Access Server diagram. This configuration example has local authentication, an Ethernet interface provided by a router, and serially-connected workstations.
User Guide
421
Page 422
Appendix H- Examples for Config Testing
Figure 62: Console Access Server diagram The following diagram Figure 63: CAS diagram with various authentication methods, shows additional scenarios for the Cyclades-TS: both remote and local authentication, data buffering, and remote access.
422
Cyclades-TS
Page 423
Appendix H- Examples for Config Testing
Figure 63: CAS diagram with various authentication methods As shown in the above figure, our“CAS with local authentication” scenario has either telnet or ssh (a secure shell session) being used. After configuring the serial ports as described in Chapter 3 - Additional Features or in Appendix C - The pslave Configuration File, the following step-by-step check list can be used to test the configuration.
User Guide
423
Page 424
Appendix H- Examples for Config Testing Step 1: Create a new user. Run the adduser <username> to create a new user in the local database. Create a password for this user by running passwd <username>. Step 2: Confirm physical connection. Make sure that the physical connection between the Cyclades-TS and the servers is correct. A cross cable (not the modem cable provided with the product) should be used. Please see Appendix B - Cabling, Hardware, and Electrical Specifications for pin-out diagrams. Step 3: Confirm that server is set to same parameters as the TS. The Cyclades-TS has been set for communication at 9600 bps, 8N1. The server must also be configured to communicate on the serial console port with the same parameters. Step 4: Confirm routing. Also make sure that the computer is configured to route console data to its serial console port (Console Redirection). Step 5: Telnet to the server connected to port 1. From a server on the LAN (not from the console), try to telnet to the server connected to the first port of the Cyclades-TS using the following command: telnet 200.200.200.1 7001 For both telnet and ssh sessions, the servers can be reached by either: 1. Ethernet IP of the Cyclades-TS and assigned socket port. or 2. Individual IP assigned to each port. If everything is configured correctly, a telnet session should open on the server connected to port 1. If not, check the configuration, follow the steps above again, and check the troubleshooting appendix.
424
Cyclades-TS
Page 425
Appendix H- Examples for Config Testing Step 6: Activate the changes. Now continue on to Task 5: Activate the changes through listed in Chapter 2 Installation, Configuration, and Usage.
Note: It is possible to access the serial ports from Microsoft stations using some off-the-shelf packages. Although Cyclades is not liable for those packages, successful tests were done using at least one of them. From the application’s viewpoint running on a Microsoft station, the remote serial port works like a regular COM port. All the I/O with the serial device attached to the Cyclades-TS is done through socket connections opened by these packages and a COM port is emulated to the application.
Terminal Server The Cyclades-TS provides features for out-of-band management via the configuration of terminal ports. All ports can be configured as terminal ports. This allows a terminal user to access a server on the LAN. The terminal can be either a dumb terminal or a terminal emulation program on a PC.
IP 200.200.200.3
Figure 64: Terminal Server diagram No authentication is used in the example shown above and rlogin is chosen as the protocol.After configuring the serial ports as described in Chapter 3 - Additional Features or in Appendix C - The pslave Configuration File, the following step-by-step check list can be used to test the configuration. User Guide
425
Page 426
Appendix H- Examples for Config Testing Step 1: Create a new user. Since authentication was set to none, the Cyclades-TS will not authenticate the user. However, the Linux Server receiving the connection will. Create a new user on the server called test and provide him with the password test. Step 2: Confirm that the server is reachable. From the console, ping 200.200.200.3 to make sure the server is reachable. Step 3: Check physical connections. Make sure that the physical connection between the Cyclades-TS and the terminals is correct. A cross cable (not the modem cable provided with the product) should be used. Please see the Appendix B - Cabling, Hardware, and Electrical Specifications for pin-out diagrams. Step 4: Confirm that terminals are set to same parameters as the TS. The Cyclades-TS has been set for communication at 9600 bps, 8N1. The terminals must also be configured with the same parameters. Step 5: Log onto server with new username and password. From a terminal connected to the Cyclades-TS,try to login to the server using the username and password configured in step one. Step 6: Activate changes. Now continue on to Task 5: Activate the changes through listed in Chapter 2 Installation, Configuration, and Usage.
426
Cyclades-TS
Page 427
Appendix H- Examples for Config Testing Dial-in Access The Cyclades-TS can be configured to accommodate out-of-band management. Ports can be configured on the Cyclades-TS to allow a modem user to access the LAN. Radius authentication is used in this example and ppp is chosen as the protocol on the serial (dial-up) lines. Cyclades recommends that a maximum of two ports be configured for this option.
Cyclades-TS1000
Figure 65: Ports configured for Dial-in Access
After configuring the serial ports as described in Chapter 3 - Additional Features or in Appendix C - The pslave Configuration File, the following step-by-step check list can be used to test the configuration. Step 1: Create a new user. Since Radius authentication was chosen, create a new user on the Radius authentication server called test and provide them with the password test.
User Guide
427
Page 428
Appendix H- Examples for Config Testing Step 2: Confirm that the Radius server is reachable. From the console, ping 200.200.200.2 to make sure the Radius authentication server is reachable. Step 3: Confirm physical connections. Make sure that the physical connection between the Cyclades-TS and the modems is correct. The modem cable provided with the product should be used. Please see Appendix B - Cabling, Hardware, and Electrical Specifications for pinout diagrams. Step 4: Confirm modem settings. The Cyclades-TS has been set for communication at 57600 bps, 8N1. The modems should be programmed to operate at the same speed on the DTE interface. Step 5: Confirm routing. Also make sure that the computer is configured to route console data to the serial console port. Step 6: Perform a test dial-in. Try to dial in to the Cyclades-TS from a remote computer using the username and password configured in step one. The computer dialing in must be configured to receive its IP address from the remote access server (the Cyclades-TS in this case) and to use PAP authentication. Step 7: Activate changes. Now continue on to Task 5: Activate the changes through Task 8: Reboot the Cyclades-TS listed in Chapter 2 - Installation, Configuration, and Usage.
428
Cyclades-TS