CPS Installer/User Guide CPS810 CPS1610
INSTRUCTIONS This symbol is intended to alert the user to the presence of important operating and maintenance (servicing) instructions in the literature accompanying the appliance. DANGEROUS VOLTAGE This symbol is intended to alert the user to the presence of uninsulated dangerous voltage within the product’s enclosure that may be of sufficient magnitude to constitute a risk of electric shock to persons. POWER ON This symbol indicates the principal on/off switch is in the on position.
CPS Installer/User Guide Avocent, the Avocent logo, The Power of Being There, CPS, DSView and AVWorks are trademarks or registered trademarks of Avocent Corporation. All other marks are the property of their respective owners. © 2003 Avocent Corporation. All rights reserved.
USA Notification Warning: Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
Table of Contents Chapter 1: Product Overview Features and Benefits . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Chapter 2: Installation and Configuration Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Installing the CPS . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Configuring the CPS . . . . . . . . . . . . . . . . . . . . . . . . 10 Reinitializing the CPS . . . . . . . . . . . . . . . . . .
1 Product Overview Contents Features and Benefits . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1: Product Overview 3 Chapter 1: Product Overview Features and Benefits Overview The CPS is a serial over IP network appliance that provides non-blocked access and control for multiplatform servers and serial devices such as routers, power management devices and firewalls. This includes Avocent SPC power distribution units that provide advanced power management and security. You may connect up to 8 serial devices to a CPS810, and 16 serial devices to a CPS1610.
4 CPS Installer/User Guide Extensive command set The CPS offers a wide range of commands that allow administrators to easily configure, control and display information about the CPS operating environment, including its ports, user accounts and active sessions. The user interface also offers descriptive error message data and built-in command help information. On-board Trivial File Transfer Protocol (TFTP) support allows administrators to upload new functionality to CPS units in the field.
Chapter 1: Product Overview 5 • Circuit Overloading: Consideration should be given to the connection of the equipment to the supply circuit and the effect that overloading of circuits might have on overcurrent protection and supply wiring. Consider equipment nameplate ratings for maximum current. • Reliable Earthing: Reliable earthing of rack mounted equipment should be maintained.
6 CPS Installer/User Guide
2 Installation and Configuration Contents Hardware Overview . . . . . . . . . . . . . . . . . . . . . . . . . 9 Installing the CPS . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Configuring the CPS . . . . . . . . . . . . . . . . . . . . . . . . 10 Reinitializing the CPS . . . . . . . . . . . . . . . . . . . . . . .
Chapter 2: Installation and Configuration 9 Chapter 2: Installation and Configuration Hardware Overview Figure 2.1 shows the front panel of a CPS1610. Figure 2.1: CPS1610 Front Panel The lower left area of the front panel contains five LEDs and two buttons, which are described in the following table. CPS LEDs and Buttons LED/Button Description POWER The POWER LED illuminates when the CPS is connected to a power source.
10 CPS Installer/User Guide Installing the CPS See Appendix B for device cabling information. WARNING: The power outlet should be installed near the equipment and should be easily accessible. To install the CPS hardware: 1. Locate the CPS where you can connect cables between the serial devices and the CPS serial ports, and where you can connect a LAN interface cable between the Ethernet hub or switch and the CPS LAN connector.
Chapter 2: Installation and Configuration 11 Configuring the IP address and subnet mask You may use any of three methods to configure the CPS IP address and subnet mask: BootP, Telnet Command Line Interface (CLI) or the serial CLI on port 1. These methods work as documented on most Windows® and UNIX systems; however, the actual implementation on your system may differ from the instructions provided. Refer to your system administrator guide. To configure the IP address and subnet mask using BootP: 1.
12 CPS Installer/User Guide After the IP address is configured successfully, launch a Telnet session to the CPS IP address. Then, see Initial CPS login in this chapter. To configure the IP address and subnet mask using a Telnet CLI: 1. Ensure that your server or workstation has a Telnet client and is located on the same LAN segment as the CPS. 2. Use the arp command to update the server or workstation with the CPS IP address and Ethernet MAC address.
Chapter 2: Installation and Configuration 4. 13 Proceed to Initial CPS login in this chapter. After you complete the CPS configuration, you may reconfigure the CLI on another port or disable it completely and use port 1 with an attached device. For more information, see Connecting to devices from the serial CLI port in Chapter 3. Initial CPS login The CPS ships with a single user defined in its user database.
14 CPS Installer/User Guide Reinitializing the CPS Reinitializing the CPS removes configured information. This may be useful when reinstalling the CPS at another location in your network. The CPS stores configuration information in FLASH databases. During reinitialization, the FLASH erase has two phases. The first phase erases the CPS configuration database, which contains all nonvolatile data except the IP address.
3 Operations Contents Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Configuring Serial Port Settings . . . . . . . . . . . . . . . 17 Connecting to Serial Devices . . . . . . . . . . . . . . . . . . 19 Managing User Accounts . . . . . . . . . . . . . . . . . . . . 28 Using Authentication and Encryption . . . . . . . . . . 31 Using Security Lock-out . . . . . . . . . . . . . . . . . . . . . 35 Managing the Port History Buffer . . . . . . . . . . . . .
Chapter 3: Operations 17 Chapter 3: Operations Overview The CPS and its ports can be easily configured and managed to meet your requirements for device connection, user authentication, access control, power status monitoring, port history information display and SNMP compliance for use with third-party network management products. Support for SSH (Secure Shell) access via third-party clients is also provided.
18 CPS Installer/User Guide To configure serial console port settings: Issue a Port Set command. You may specify settings for one or all ports. PORT [|ALL] SET TD=CONSOLE [NAME=] [BAUD=] [SIZE=] [PARITY=] [STOP=] [FLOW=] [TIMEOUT=] [CHAR=^] [TOGGLE=NONE|DTR] [POWER=] To configure SPC ports and settings: Issue a Port Set command with the TD=SPC parameter.
Chapter 3: Operations 19 Connecting to Serial Devices The CPS offers several methods for connecting to attached serial devices: Telnet, serial CLI, PPP and SSH. If a user attempts to connect to a port that is already in use, and if the user attempting to connect has an access level equal to or higher than the currently-connected user, the connecting user will be prompted with the choice of preempting the current user or dropping the connection.
20 CPS Installer/User Guide Connecting to devices using Telnet Each CPS serial port is directly addressable via a unique TCP port number that provides a connection to the attached serial device. To connect to a device using Telnet: Type telnet, followed by the CPS IP address and the appropriate TCP port number, which by default is 3000 plus the physical port number, in decimal format. (The TCP port number can be changed for any CPS port.
Chapter 3: Operations 21 Standalone third-party Telnet clients You may use third-party Telnet clients to access the CPS directly without DS management software. Connecting to devices from the serial CLI port By factory default, port 1 of the CPS is configured with the serial CLI, which prohibits the use of port 1 with an attached serial device. You can configure the CLI on a different port, but only one port may be configured as the serial CLI port at one time.
22 CPS Installer/User Guide 3. To end a device session that was initiated with a Connect command, issue a Disconnect command. DISCONNECT For more information, see Server CLI command, Connect Command and Disconnect Command in Chapter 5. Connecting to devices using PPP The CPS supports remote PPP access using an auto-answer modem that answers calls and establishes the PPP protocol with a dial-in client.
Chapter 3: Operations 23 For more information, see Show Server CLI command and Server PPP command in Chapter 5. To display PPP configuration information: Issue a Show Server PPP command. SHOW SERVER PPP For more information, see Show Server PPP command in Chapter 5. Configuring and using dial-in connections You can attach an external modem to the CPS serial CLI port for dial-in serial CLI access to the CPS. This may be used as a backup connection if the CPS is not accessible from the network.
24 CPS Installer/User Guide Connecting to devices using SSH The CPS supports version 2 of the SSH (Secure Shell) protocol (SSH2). The CPS SSH server operates on the standard SSH port 22. The shell for this connection provides a CLI prompt as if you had established a Telnet connection on port 23. The shell request for this connection is for CLI access. Additional CPS SSH servers operate on TCP ports that are numbered with values 100 greater than the standard 30xx Telnet ports for the CPS.
Chapter 3: Operations 25 SSH Authentication Methods Method Description PW (default) SSH connections will be authenticated with a username/ password. With this method, a user’s definition must include a valid password in order for that user to authenticate an SSH session. A password can authenticate to a DSAuth or RADIUS server or to the local user database. KEY SSH connections will be authenticated with an SSH key.
26 CPS Installer/User Guide For more information, see Using Authentication Modes and Encryption in this chapter. SSH user keys A user’s SSH key is specified in a User Add or User Set command. You may define a key even if SSH is not currently enabled.
Chapter 3: Operations 4. 27 If you are reenabling SSH, you are prompted to use the existing SSH server key or generate a new key. Enter Y to use the existing key or N to generate a new key. For more information, see Server SSH command in Chapter 5. To disable SSH session access to the CPS: Issue a Server SSH command with the Disable parameter. SERVER SSH DISABLE When SSH is disabled, the CPS operates in plain text mode, unless SSL encryption is enabled.
28 CPS Installer/User Guide command may be used to override the Server CLI access character on a per-port basis. For more information, see Server CLI command and Port Set command in Chapter 5. To display CLI access character information: Issue a Show Server CLI command. SHOW SERVER CLI For more information, see Show Server CLI command in Chapter 5. Ending device sessions To end your CPS session: Enter CLI mode and issue a Quit command or a User Logout command.
Chapter 3: Operations 29 To add a user: Issue a User Add command. USER ADD [PASSWORD=] [SSHKEY=] [FTPIP=] [KEY=] [ACCESS=] You must specify a username. You must also specify a password or SSH user key information, or you may specify both. You may also include an access level or access rights. For more information, see Connecting to devices using SSH and Access rights and levels in this chapter and User Add command in Chapter 5.
30 CPS Installer/User Guide 2. To display information about all users, issue a Show User command with the All parameter. SHOW USER ALL For more information, see Show User command in Chapter 5. Access rights and levels Most CPS commands require the user to have access rights to use the commands. The access rights for each CPS command are listed in Chapter 4. The following table describes the access rights a user may be given.
Chapter 3: Operations • 31 The ADMIN level is equivalent to PALL, USER, SMON, PCON and BREAK A user’s access level can be used for preemption. For example, assume User A is connected to a port. User B tries to connect to the same port. If User B has an access level equal to or greater than User A’s access level, then User B will be given the option of preempting User A. When using DSView software, there are two access rights levels: user and administrator.
32 CPS Installer/User Guide Local authentication Local authentication uses the CPS unit’s internal user database to authenticate users. RADIUS authentication RADIUS authentication uses an external third-party RADIUS server containing a user database to authenticate CPS users. The CPS, functioning as a RADIUS client, sends usernames and passwords to the RADIUS server.
Chapter 3: Operations 33 This method cannot be used when SSH connections are enabled, nor can it be combined with any other authentication method. Authentication summary The CPS allows concurrent use of multiple authentication modes. This allows Telnet, SSH and DSView clients to all access a single CPS as long as the appropriate authentication methods are enabled. For example, if you enable DS and local authentication, DSView clients will always be authenticated using DSAuth.
34 CPS Installer/User Guide ENCRYPT= DSAUTH= If you specify DS authentication, you must: Specify the IP address of a primary DS authentication server and optionally, the IP address of a secondary DS authentication server. - or Indicate that any DS authentication server may be used. If you specify DS authentication, encryption is automatically enabled. 3. You are prompted to save the information. Enter Y to confirm or N to cancel. To display authentication configuration information: 1.
Chapter 3: Operations 35 Since the CPS allows multiple connection modes to operate concurrently, you can specify multiple encryption types. For example, the following command enables connections via Telnet and via DSView SSL Telnet using Triple DES or RC4 encryption. server security encrypt=none,3des,128 The following command enables connections via DSView SSL Telnet using only DES. SSH2 client connections are also enabled, but plain text Telnet sessions are not allowed.
36 CPS Installer/User Guide A locked-out user will remain locked-out until the specified time elapses, the CPS is power-cycled or the user is unlocked by an administrator with the User Unlock command. A user with the ADMIN access level can unlock all users except a user with the APPLIANCEADMIN level. A user with the APPLIANCEADMIN level can unlock all users. To enable or disable Security Lock-out: 1.
Chapter 3: Operations 37 Port History Mode Commands Command Description Bottom B sets the view location to the bottom of the file minus 23 history display lines, if available. Clear C clears the port history buffer. Next N increments the current history display line by the number of lines per page and outputs a new history display page. Prev P decrements the current history display line by the number of lines per page and outputs a new history display page. Quit Q returns to the normal CLI.
38 CPS Installer/User Guide To access port history mode: Issue a Port History command. PORT HISTORY The PORT HISTORY > prompt appears. To control the port history buffer display when you connect: Issue a Server CLI command, using the History parameter to specify the Hold or Auto option: SERVER CLI HISTORY=HOLD|AUTO • If Hold is specified, the number of bytes in the history buffer is displayed, but none of the history data is output.
Chapter 3: Operations 39 Managing SNMP Structures The CPS provides a set of commands that create and manage SNMP structures for use by third-party network management products.
40 CPS Installer/User Guide When you define at least one SNMP manager, SNMP requests are processed if they are from one of the defined SNMP managers. If a request is not from one of the defined SNMP managers, the SNMP request is discarded. 2. To delete an SNMP management entity address, issue a Server SNMP Manager command with the Delete parameter and the management entity’s IP address. SERVER SNMP MANAGER DELETE For more information, see Server SNMP Manager command in Chapter 5.
Chapter 3: Operations 41 To add or delete SNMP trap destination addresses: 1. To add an SNMP trap destination address, issue a Server SNMP Trap Destination command with the Add parameter and the destination’s IP address. You may define up to four destination addresses, using separate commands. SERVER SNMP TRAP DESTINATION ADD 2. To delete an SNMP trap destination address, issue a Server SNMP Trap Destination command with the Delete parameter and the destination’s IP address.
42 CPS Installer/User Guide To display SNMP configuration information: Issue a Show Server SNMP command. SHOW SERVER SNMP The display includes information specified with the Server SNMP, Server SNMP Community, Server SNMP Manager, Server SNMP Trap and Server SNMP Trap Destination commands. For more information, see Show Server SNMP command in Chapter 5. To display port alert string information: Issue a Show Port Alert command, specifying a port number.
4 Using CPS Commands Contents Accessing the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Entering Commands . . . . . . . . . . . . . . . . . . . . . . . . 45 Understanding Conventions . . . . . . . . . . . . . . . . . . 46 Command Summary . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4: Using CPS Commands 45 Chapter 4: Using CPS Commands Accessing the CLI You may access the CLI in three ways: using the Telnet CLI, using the serial CLI or entering the CLI access character during a session to a serial device. When the CLI is accessed, its prompt appears (>), indicating you may type a command. Entering Commands At the command prompt, type a command and then press Return or Enter. When the key is pressed, the command line comprises all characters to the left of the cursor.
46 CPS Installer/User Guide When commands take effect Each command is completely processed before the next command can be entered. Some commands prompt for confirmation before they are processed. In these cases, you must confirm or cancel by entering Y or N respectively. If you enter a Server FLASH command or if you change the CPS IP address with a Server Set command, a CPS reboot is required before the change becomes effective.
Chapter 4: Using CPS Commands 47 In this case, both SERVER and REBOOT are positional commands. In most cases, one or more spaces separate positional commands, positional parameters and keyword parameters. For most positional commands, positional parameters or keyword parameters, you only need to enter the first three characters. The exceptions are: • When you specify a terminal type with the Type parameter in the Server CLI command, you must enter all characters.
48 CPS Installer/User Guide In the following example, there are spaces between BAUD, the equal sign and the value 57600. Spaces are not permitted between keyword parameters and their values. > POR 2 SET BAUD = 57600 FLOW=XON -----------ERR 26 - SET keyword parameter invalid Syntax conventions This manual uses the following command syntax conventions: • Brackets [ ] surround optional keywords and values. • Angle brackets < > surround user-supplied positional parameters and keyword parameter values.
Chapter 4: Using CPS Commands 49 CPS Command Summary (Continued) Command Description, Access Right and Access Level * Port Logout Terminates the CPS session on a specified port. Access right: USER; Access level: A and AA Port Set Changes port settings. Access right: SCON or PCON; Access level: A and AA Quit Terminates the current CPS session. Access right: none needed; Access level: all Resume Resumes device connection after being in CLI mode.
50 CPS Installer/User Guide CPS Command Summary (Continued) Command Description, Access Right and Access Level * Show Port Alert Displays a port’s alert strings. Access right: SMON; Access level: A and AA Show Server Displays CPS configuration, statistics and session information. Access right: SMON; Access level: A and AA Show Server CLI Displays information specified with the Server CLI command. Access right: SMON; Access level: A and AA Show Server PPP Displays PPP settings.
5 CPS Commands Contents Connect Command . . . . . . . . . . . . . . . . . . . . . . . . . 53 Disconnect Command . . . . . . . . . . . . . . . . . . . . . . . 53 Help Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Port Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Quit Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Resume Command . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Server Commands . . . . . . . . . . . . . . . . . . . . . . .
Chapter 5: CPS Commands 53 Chapter 5: CPS Commands Connect Command The Connect command establishes a connection from the CPS serial CLI port to a device attached to another port on that CPS. If the specified port is already in use, you will receive an error message. To use this command, you must have previously issued a Server CLI command with the Connect=On parameter. For more information, see Connecting to Serial Devices in Chapter 3.
54 CPS Installer/User Guide Help Command Parameter Parameter Description Command name. Default: Displays list of all commands Examples The following command displays information about the Show Server CLI command. help sho ser cli The following command displays a list of all commands. help Port Commands The Port command has several forms, as listed in the following table. Port Command Summary Command Description Port Alert Add Adds a port alert string to a specified port.
Chapter 5: CPS Commands 55 Port Alert Add Command Parameters Parameter Description Port number in the range 1-8 for a CPS810 or 1-16 for a CPS1610. 3-32 character string. Port Alert Copy command The Port Alert Copy command copies the alert strings from one port (from_port) to another (to_port). Any alert strings that were previously defined on the to_port will be deleted. When you enter this command, you are asked to confirm or cancel the copy operation.
56 CPS Installer/User Guide Port Alert Delete Command Parameter Parameter Description Port number in the range 1-8 for a CPS810 or 1-16 for a CPS1610. Example The following command deletes defined alert strings from port 3. > PORT 3 ALERT DELETE Alert-strings assigned to port 3: 1) The first alert string 2) The second alert string 3) The third alert string 4) The fourth alert string Select Alert-string(s) to delete> The alert string numbers specified at the prompt will be deleted.
Chapter 5: CPS Commands 57 Port History Mode Commands Command Description Bottom B sets the history view location to the bottom of the file minus 23 history display lines, if available. Clear C clears the port’s history buffer. Next N increments the current history display line by the number of lines per page and a new history display page is output. Prev P decrements the current history display line by the number of lines per page and a new history display page is output.
58 CPS Installer/User Guide Port Set command The Port Set command changes CPS port settings in the CPS configuration database. At least one keyword parameter and value must be specified. For more information, see Configuring Serial Port Settings in Chapter 3.
Chapter 5: CPS Commands 59 Port Set Command Parameters (Continued) Parameter Description FLOW= Flow control signal. For hardware flow control, be sure the control signals are correctly wired, or data loss may occur. The flow control signal cannot also be used for power status monitoring. Valid values are: XONXOF Specifies software XON/XOFF flow control. RTSCTS Specifies hardware RTS/CTS flow control. DTRDCD Specifies hardware DTR/DCD flow control. None Specifies no flow control.
60 CPS Installer/User Guide Example The following command sets a baud rate of 57600 and enables XON/XOFF flow control on port 2. > port 2 set baud=57600 flow=xonxof Quit Command The Quit command terminates the current CPS session and terminates your Telnet connection to the CPS. Access right: None needed; Access level: All Syntax QUIT Resume Command The Resume command exits the CLI and resumes your connection to the attached serial device.
Chapter 5: CPS Commands 61 Server Command Summary (Continued) Command Description Server SNMP Enables/disables SNMP processing. Server SNMP Community Defines read, write and trap community strings. Server SNMP Manager Defines/deletes SNMP management entities. Server SNMP Trap Enables/disables SNMP traps. Server SNMP Trap Destination Defines/deletes destinations for enabled SNMP traps. Server SSH Enables/disables SSH session access to the CPS.
62 CPS Installer/User Guide Server CLI Command Parameters (Continued) Parameter Description CONNECT=ON|OFF Enables or disables the ability to use the Connect command from the serial CLI port. When enabled, a serial CLI user may use the Connect command to establish a connection to the serial device attached to another CPS serial port. When disabled, you cannot use the Connect command from the serial CLI port.
Chapter 5: CPS Commands 63 Syntax SERVER FLASH BOOT|APP HOSTIP= IMAGE= Server FLASH Command Parameters Parameter Description BOOT Indicates the BIOS/Bootstrap image should be updated. APP Indicates the application image should be updated. HOSTIP= IP address of TFTP server host. IMAGE= Name of file on TFTP server host containing the image file.
64 CPS Installer/User Guide Server PPP Command Parameters (Continued) Parameter Description REMOTEIP= IP address to assign to the PPP client end of the PPP connection. Must be on same subnet as LOCALIP address. MASK= LAN subnet for the PPP dial-in client. Examples The following command enables the PPP server with a local IP address of 192.168.0.1, a remote IP address of 192.168.0.2 and a subnet mask of 255.255.255.0. > ser ppp ena loc=192.168.0.1 rem=192.168.0.2 mas=255.255.255.
Chapter 5: CPS Commands 65 Server RADIUS Command Parameters (Continued) Parameter Description USER-RIGHTS= Attribute number defined on the RADIUS server, in the range 1-255. AUTHPORT= UDP port for RADIUS authentication server, in the range 1-65535. This value is usually 1645, but may be 1812. Default = 1645 TIMEOUT= Number of seconds to wait for a response from the RADIUS server, in the range 1-60.
66 CPS Installer/User Guide Access right: SCON; Access level: AA Syntax SERVER SECURITY [AUTHENTICATION=] [ENCRYPT=] [DSAUTH=] [DSCLEAR] [LOCKOUT=] Server Security Command Parameters Parameter Description AUTHENTICATION= Authentication mode. Multiple values may be specified, separated by commas. Valid values are: DS - Use a DS authentication server and enable encryption (if not specified, Encrypt=128,3DES,DES). A value for DSAUTH= must be specified.
Chapter 5: CPS Commands 67 The following command specifies that any DS authentication server should be used to authenticate users, and the strongest encryption negotiated between triple DES and 128-bit. > ser sec auth=ds dsauth=any encrypt=3des,128 The following command sets the CPS to accept connections via Telnet and via Avocent SSL using Triple DES or RC4 encryption. Users who fail to authenticate after five consecutive attempts will be locked-out for 24 hours.
68 CPS Installer/User Guide Server SNMP Community command The Server SNMP Community command defines read, write and trap SNMP community strings. Community names are case-sensitive. For more information, see Managing SNMP Structures in Chapter 3. Access right: SCON; Access level: AA Syntax SERVER SNMP COMMUNITY [READCOMM=] [WRITECOMM=] [TRAPCOMM=] Server SNMP Community Command Parameters Parameter Description READCOMM= 1-64 alphanumeric character read community name.
Chapter 5: CPS Commands 69 Example The following command adds an SNMP management entity with the IP address of 192.168.0.1. server snmp manager add 192.168.0.1 Server SNMP Trap command The Server SNMP Trap command enables or disables SNMP traps. When you issue this command with the Enable parameter, the CPS displays a numbered list of all currently disabled traps. When you issue this command with the Disable parameter, the CPS displays a numbered list of all currently enabled traps.
70 CPS Installer/User Guide server snmp trap enable Traps now disabled: 1) linkUp 2) userAdded 3) userDeleted 4) userLogin 5) imageUpgradeStarted Select trap(s) to enable>1,3-4 Server SNMP Trap Destination command The Server SNMP Trap Destination command defines or deletes destinations for enabled SNMP traps. Once you define destinations for enabled SNMP traps, when a trap occurs, the CPS will generate SNMP trap messages to each defined SNMP trap destination.
Chapter 5: CPS Commands 71 Server SSH Command Parameters Parameter Description ENABLE|DISABLE Enables or disables SSH session access to the CPS. AUTH= SSH authentication methods. You must enter the entire value; abbreviations are not permitted. Valid values are: PW Password authentication. KEY Key authentication. PW|KEY Password or key authentication. KEY|PW Key or password authentication. PW&KEY Password and key authentication. KEY&PW Key and password authentication.
72 CPS Installer/User Guide Show Port Command Parameter Parameter Description Port number. Default = your port ALL Displays information about all ports. NAMES Displays only port names. The following tables list the display fields for a SHOW PORT command that specifies one or all ports. Show Port Command Display Fields for Console Ports Field Content Port Port number.
Chapter 5: CPS Commands 73 Show Port Command Display Fields for SPC Ports Field Content Status ONLINE indicates the SPC is powered on, OFFLINE Indicates the SPC is powered off. Version SPC firmware version. Sockets Number of sockets on the SPC, either 8 or 16. Minload Minimum load amp value (from SPC command). Maxload Maximum load amp value (from SPC command). Wake Wakeup state for socket (from SPC command). ON Min Minimum On time (from SPC command).
74 CPS Installer/User Guide Show Server Command Display Fields (Continued) Field Content Port Port number. Username Username (from User Add command). Duration Duration of session. Socket Telnet CPS socket number. From Socket Telnet client IP address with socket number in parentheses. IP Input and Output Network IP statistics, including number of packets delivered, discarded and fragments. TCP Network TCP statistics, including in segs, out segs, errors and retransmissions.
Chapter 5: CPS Commands 75 Show Server PPP command The Show Server PPP command displays the current CPS PPP settings that were configured with the Server PPP command. Access right: SMON; Access level: A and AA Syntax SHOW SERVER PPP Show Server RADIUS command The Show Server RADIUS command displays the current CPS RADIUS settings that were configured with the Server RADIUS command.
76 CPS Installer/User Guide Show Server Security Command Display Fields (Continued) Field Contents DS Credential Present indicates that DS credentials are stored; Not Present indicates they are not. This is valid only for DS authentication, and applies to SSL anonymous and SSL certificate connection types. Fingerprint (Hex) SSH key MD5 hash. Fingerprint (BB) SSH key bubble babble. Show Server SNMP command The Show Server SNMP command displays SNMP configuration information.
Chapter 5: CPS Commands 77 Show User Command Display Fields (Continued) Field Contents Locked YES if user is locked-out, NO if not. Last Login System up time value when the user logged in. Port Serial port to which user is connected. Username Username. Duration Duration of user’s session. Socket Telnet CPS socket number. From Socket Telnet client IP address and socket number. A Show User All command display includes the information in the following table.
78 CPS Installer/User Guide SPC Command Parameters Parameter Description |ALL Either a port number in range 1-8 for a CPS810 or 1-16 for a CPS1610, or All, which indicates that the settings that follow should be applied to all CPS ports configured as SPC. MINLOAD= Minimum load in amperes in the range Ø-30. A Ø value indicates no minimum load. Default = Ø MAXLOAD= Maximum load in amperes in the range Ø-30. A Ø value indicates no maximum load.
Chapter 5: CPS Commands 79 User Add command The User Add command adds a new user to the CPS user database. The CPS user database holds a maximum of 64 user definitions. For more information, see Managing Users, Connecting to devices using SSH and Access rights and levels in Chapter 3.
80 CPS Installer/User Guide The following command adds the username JaneDoe, with access to all ports. The name of the SSH public user key file is cps_key2.pub. This file is located on the FTP server at IP address 10.0.0.3. > user add JaneDoe ssh=cps_key2.pub ftp=10.0.0.3 access=pall The following command adds the username JDoe and gives that user the Appliance Administrator access level, which enables access to all ports and CPS commands.
Chapter 5: CPS Commands 81 User Set command The User Set command changes a user’s configuration in the CPS user database. For more information, see Managing Users, Connecting to devices using SSH and Access rights in Chapter 3. You may delete a user’s password or key; however, each user must have a password or a key, so you cannot remove both. Also, you cannot remove a user’s password or key if that action would result in no users having USER access rights.
82 CPS Installer/User Guide User Set Command Parameters (Continued) Parameter Description ACCESS= (Continued) Valid values for access levels are: ADMIN PALL, USER, SMON, PCON and BREAK access rights. APPLIANCEADMIN PALL, USER, SCON, SMON, PCON and BREAK access rights. Default = PALL,SMON Examples The following command sets the access rights for JohnDoe so that he can access all ports and have configuration and monitor access rights.
Appendices Contents Appendix A: Technical Specifications . . . . . . . . . . 85 Appendix B: Device Cabling . . . . . . . . . . . . . . . . . . 86 Appendix C: Ports Used . . . . . . . . . . . . . . . . . . . . . . 89 Appendix D: Technical Support . . . . . . . . . . . . . . .
Appendices 85 Appendices Appendix A: Technical Specifications The following table lists the CPS technical specifications. CPS Product Specifications Device Ports Number 8 (CPS810); 16 (CPS1610) Type Serial ports Connectors Serial port RJ-45 Network Connection Number 1 Type Ethernet: IEEE 802.3, 10BaseT Fast Ethernet: IEEE 802.3U, 100BaseT Connector RJ-45 Dimensions Dimensions (H x W x D) 4.45 x 22.23 x 20.32 cm 1U form factor (1.75 x 8.75 x 8.00 in) Weight 5 lbs (2.
86 CPS Installer/User Guide Appendix B: Device Cabling Each CPS serial port has an RJ-45 connector for attaching a serial device. Figure B.1 shows the RS-232 pinouts plus the wiring diagrams for cables that connect to terminals and PCs. Figure B.
Appendices 87 RJ-45 modular adaptors and cables Modular adaptors are available from Avocent to convert RJ-45 modular jacks to DB-25 or DB-9 connectors. These modular adaptors, when used with 8-wire modular cables, provide the same functions shown in Figure B.1. Figure B.2 shows the modular adaptors available from Avocent. Figure B.
88 CPS Installer/User Guide The following table lists the modular cables and adaptors available from Avocent, plus other accessories. Cables and Adaptors Part No. Description 690026 10 foot 8-wire Reversing Modular Cable. 690227 25 foot 8-wire Reversing Modular Cable. 690228 75 foot 8-wire Reversing Modular Cable. 210090 RJ-45 to DB-25 DTE Male Adaptor. 210091 RJ-45 to DB-25 DTE Female Adaptor. 210092 RJ-45 to DB-25 DCE Male Adaptor. 210093 RJ-45 to DB-25 DCE Female Adaptor.
Appendices 89 Appendix C: Ports Used The following table lists the UDP and TCP port numbers used by the CPS. The values assume a default CPS configuration; some values are configurable. Ports Used by CPS Port Type and Number Used for TCP 22 SSH2, if enabled. TCP 23 Telnet. UDP 161 SNMP, if enabled. TCP 3211 Secure protocol used by DSauth. TCP 3001-3016 Telnet serial sessions with ports 1-16. TCP 3101-3116 SSH serial sessions with ports 1-16. TCP 8191 Protocol used by DSAuth.
90 CPS Installer/User Guide Appendix D: Technical Support Our Technical Support staff is ready to assist you with any installation or operating problems you encounter with your Avocent product. If an issue should develop, follow the steps below for the fastest possible service: 1. Check the pertinent section of the manual to see if the issue can be resolved by following the procedures outlined. 2. Check our web site at www.avocent.
LIMITED WARRANTY Avocent Corporation warrants to the original retail purchaser that this product is and will be free from defects in materials and workmanship for a period of 24 months from the date of purchase. Additionally, all Avocent products carry an unconditional thirty-day satisfaction guarantee. If, for any reason, you are dissatisfied with the performance of this product, you may return it to the point of purchase for a refund of the purchase price (excluding shipping charges).
For Technical Support: Email: support@avocent.com www.avocent.com Avocent Corporation 4991 Corporate Drive Huntsville, Alabama 35805-6201 USA Tel: +1 256 430 4000 Fax: +1 256 430 4031 Avocent International Ltd.