The text of a manual · part 13 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 117 to 126
Pages 117 to 126 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 117
Chapter 3 - Additional Features 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 Authentication custom wizard: wiz --auth Screen 1 will appear. 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...
User Guide
117
Page 118
Authentication 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.authtype : none all.authhost1 : 192.168.160.3 all.accthost1 : 192.168.160.3 all.authhost2 : 192.168.160.4 all.accthost2 : 192.168.160.4 all.radtimeout : 3 all.radretries : 5 all.secret : secret Set to defaults? (y/n) [n] :
Screen 3: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.AUTHTYPE - This parameter controls the authentication required by the system. Users' access to the server through the serial port is granted through the check of username and password locally or remotely. (e.g. none, local, TacacsPlus (note the capital 'T' in TacacsPlus), radius, ldap, etc. all.authtype[none] :
118
Cyclades-TS
Page 119
Chapter 3 - Additional Features Note: If authtype is configured as none, local, or ldap, the application will skip immediately to the summary screen because the rest of the parameters pertain only if the system is configured to use a Radius or TacacsPlus server. Configurations for ldap are done in /etc/ldap.conf.
ALL.AUTHHOST1 - This IP address indicates where the Radius or TacacsPlus authentication server is located. all.authhost1[200.200.200.2] :
Screen 4: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ACCTHOST1 - This IP address indicates where the Radius or TacacsPlus accounting server is located. The accounting server can be used to track how long users are connected after being authorized by the authentication server. all.accthost1[200.200.200.3] :
ALL.AUTHHOST2 - This IP address indicates where the SECOND Radius or TacacsPlus authentication server is located. all.authhost2[200.200.200.2] :
User Guide
119
Page 120
Authentication Screen 5: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.ACCTHOST2 - This IP address indicates where the SECOND Radius or TacacsPlus accounting server is located. all.accthost2[200.200.200.3] : ALL.RADTIMEOUT- This is the timeout (in seconds) for a Radius or TacacsPlus authentication query to be answered. all.radtimeout[3] :
Screen 6: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** ALL.RADRETRIES - This defines the number of times each Radius or TacacsPlus server is tried before another is contacted. all.radretries[5] : ALL.SECRET - This is the shared secret necessary for communication between the system and the Radius or TacacsPlus servers. all.secret[secret] :
120
Cyclades-TS
Page 121
Chapter 3 - Additional Features Screen 7: *********************************************************** ********* 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.authtype : none all.authhost1 : 200.200.200.2 all.accthost1 : 200.200.200.3 all.authhost2 : 200.200.200.2 all.accthost2 : 200.200.200.3 all.radtimeout : 3 all.radretries : 5 all.secret : rad-secret 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 application, typing 'q' exits the entire wiz application If you type 'y' Discard previous port-specific parameters? (y/n) [n] :
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 : User Guide
121
Page 122
Authentication 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. Typing 'q' leads to Screen 9.
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] :
122
Cyclades-TS
Page 123
Chapter 3 - Additional Features 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] :
User Guide
123
Page 124
Authentication CLI Method To configure certain parameters for a specific serial port. 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 authtype: config configure line <serial port number> authtype <string> To configure authhost1: config configure line <serial port number> authhost1 <string> To configure accthost1: config configure line <serial port number> accthost1 <string> To configure authhost2: config configure line <serial port number> authhost2 <string> To configure accthost2: config configure line <serial port number> accthost2 <string> To configure radtimeout: config configure line <serial port number> timeout <number> To configure radretries: config configure line <serial port number> retries <number>
124
Cyclades-TS
Page 125
Chapter 3 - Additional Features To configure secret: config configure line <serial port number> secret <string>
Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> authtype <string> authhost1 <string> accthost1 <string> authhost2 <string> accthost2 <string> timeout <number> retries <number> secret <string> Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write
Access Control via Radius Attribute NAS-Port-id This feature provides an additional way to control the access to serial ports other than the one based in usernames or groups. The authentication type must be Radius for this feature to function. The Radius server administrator must configure the user (in the radius server database) with one NAS-PORT-Id attribute for each serial port that the user is allowed to access. In the example below the user alfred can access the serial ports ttyS11, ttyS13, and ttyS17: alfred Auth-Type = Local, Password = ‘alfred’ Service-Type = Framed-User, Framed-Protocol = PPP, NAS-Port-Id = 11, NAS-Port-Id = 13, NAS-Port-Id = 17
User Guide
125
Page 126
CAS Port Pool The pam_radius module will check whether the NAS-Port-Id matches one of those sent by the radius server. If the radius server does not send the NAS-Port-Id attribute, no check is performed. No configuration is needed for the AlterPath Console Server or the Cyclades-TS. However, the authentication type must be “radius”. Authentications like radiusDownLocal, radius/local, etc. will not validate the NAS-port-Id if the user was locally authenticated.
CAS Port Pool This feature is available for the , TS 1.3.7 onward. CAS Port Pooling allows you to access a free serial port from a pool in addition to the original feature where you could access a specific serial port. When you access a serial port through the pool the features sniff session and multiple sessions are not available. This feature is available for serial ports configured as CAS profile only. You can define more than one pool of serial ports. Each serial port can only belong to ONE pool.The pool is uniquely identified by a four parameter scheme: • protocol,
• pool_ipno,
• pool_serverfarm, and
• pool_socket_port
The three new parameters: pool_ipno, pool_serverfarm, and pool_socket_port have the same meaning as ipno, serverfarm, and socket_port respectively. Ports belonging to the same pool MUST be configured with the same value in these fields. It is strongly recommended that you configure the same values in all parameters related to authentication for all serial ports belonging to a pool. Some of the authentication parameters are users, admin_users, and authtype. You can access the serial ports from a pool with the same commands you use today to access a specific serial port. You just need to use pool_ipno, pool_serverfarm, or pool_socket_port instead ipno, serverfarm, or socket_port respectively in the ssh/telnet command.
126
Cyclades-TS