Page 2
Emerson, Emerson Network Power and the Emerson Network Power logo are trademarks or service marks of Emerson Electric Co. Avocent, the Avocent logo and Cyclades are trademarks or service marks of Avocent Corporation or its affiliates in the U.S. and other countries.
TABLE OF CONTENTS Introduction, Navigation and Commands Access Options and How to Log Into the CLI Configuration Tasks Performed With the CLI CLI Navigation Autocompletion Parameters Command Line Syntax CLI Command Set Commands Used for the CLI help delete connect sniff share disconnect exit/quit...
Page 4
ii ..Avocent® ACS 6000 Advanced Console Server Accessing Serial Ports using ts_menu Manage Power for a Device Connected to an Outlet on a PDU Port Configuration Examples CLI Overview for Administrators System System/Security System/Date and Time System/Help and Language System/General System/Boot Configuration System/Information System/Usage Network...
The console ports of servers, external modems or power distribution units (PDUs) can be connected to serial ports on the console server. Supported PDUs include Avocent PM1000/2000/3000s, Emerson Network Power MPH2 PDUs and RPC2 cards, Cyclades™ PM IPDUs, Avocent SPC power devices and Server Technology CDUs. Either a PDU or an external modem can be connected to the AUX/Modem port if the port is not factory-configured for an internal modem.
2 ..Avocent® ACS 6000 Advanced Console Server Console Server Port Descriptions Number Description Serial Port 1. Serial ports are also referred to with tty device names, such as ttSy1, ttyS2 and so forth. Eth1 (eth1) Eth0 (eth0) AUX/Modem Port (ttyM1 or ttyA1). If an internal modem is ordered and factory installed, this port is configured internally as a modem port.
Introduction, Navigation and Commands..NOTE: The default password for admin is avocent and for root is linux . The password for these users may have been changed during installation of the console server. If not, change the default root and admin passwords to avoid potential security breaches.
Page 8
4 ..Avocent® ACS 6000 Advanced Console Server At any CLI prompt at any level, if you type cd and press Tab Tab , the navigation options (path elements) for that level are listed. Different options appear for administrators and for authorized users.
Introduction, Navigation and Commands..---:- system_tools cli-> If you know the path, you can enter multiple path elements in a single command separated with forward slashes (/). --:- / cli-> cd ports/serial_ports/ --:- serial ports cli-> Enter cd .. to move up one level of the navigation tree. Enter cd ../.. [ /.. ] to move up multiple levels. --:- serial ports cli->...
6 ..Avocent® ACS 6000 Advanced Console Server Command Line Syntax NOTE: Square brackets ([ ]) denote an optional element. Each element is separated by a space. There are no spaces between sub-elements. Command only (help, pwd): --:- <current_level> cli-> < command > Commands with paths only (cd, ls, add): --:- <current_level>...
CLI Command Set Commands Used for the CLI This chapter describes the general commands used when accessing the console server with the command line interface. NOTE: Most of the commands work from any location when the path to the command parameter is included.
CLI Command Set..Example: --:- access cli-> cd / Moves to the top level and displays the following: --:- / cli-> Example: --:- access cli-> cd /information Displays the following: --:- information cli-> Display the path to the current level (print working directory). Syntax: --:- / cli->...
12 ..Avocent® ACS 6000 Advanced Console Server Type the hotkey to suspend the connection: Ctrl + z NOTE: The connect, sniff and share commands allow you to connect to serial ports. These commands require authentication when single sign-on is disabled, so the password must be entered to authenticate the user in the authentication type configured for the serial port.
CLI Command Set..-or- Type the hotkey to suspend the connection: Ctrl + z disconnect Use the text session hot key to suspend the target session and return to the CLI. Syntax: Ctrl+z exit/quit Exit the CLI and return to the login prompt. Syntax: --:- / cli->...
14 ..Avocent® ACS 6000 Advanced Console Server Set a parameter. Syntax: --:- / cli-> set <Path> <Parameter>=<Value> After a parameter has been changed using the set command, a pair of asterisks appear at the beginning of the CLI prompt. **:- / cli-> Save the change: **:- / cli->...
CLI Command Set..Show the available directories or subnodes at the current location. Syntax: --:- / cli-> ls Example: --:- / cli-> ls authentication appliance_authentication/ authentication_servers/ --:- / cli-> show Show the content of the current location (shows tables and parameters with current values). Syntax: --:- / cli->...
CLI Command Set..--:- / cli-> cd access/<PDU_ID> 2. Launch the power command with a specific outlet (number or name), range of outlets (use a hyphen to specify the range) or list of outlets (number or name separated by a comma). --:- <PDU_ID>...
18 ..Avocent® ACS 6000 Advanced Console Server NOTE: Use this command to restart the sequence number. Syntax: --:- / cli-> opiepasswd -f -c <username> Example: opiepasswd -f -c teste Adding teste: Only use this method from the console; NEVER from remote. If you are using telnet, xterm, or a dial-in, type ^C now or exit with no password.
CLI Command Set..list_shared_session List the users connected to the shared serial port. Syntax: --:- <serial_port_ID> cli-> list_shared_session kill_shared_session Terminate the connection of a user on the port. The user is returned to the cli-> prompt. Syntax: --:- <serial_port_ID> cli-> kill_shared_session <username> Example: admin@139 --:- <serial_port_ID>...
20 ..Avocent® ACS 6000 Advanced Console Server --:- / cli -> show_appliance_databuf The following commands are available for show data buffering: • Return - Scroll forward one line. • Ctrl + F - Scroll forward one window. • Ctrl + B - Scroll backward one window. •...
Page 25
CLI Command Set..--:- settings cli-> show hostname = ACS6048 primary_dns = 110.126.129.4 secondary_dns = domain = corp.tst.com enable_ipv6 = no enable_bonding = no enable_ipv4_multiple_routing_tables = no 3. Type set enable_ipv6= and press Tab to view the options for the parameter. --:- ipv6 cli->...
Port Access and Configuration Examples By default, all serial ports and the AUX/Modem port are disabled. An administrator must enable and configure the ports before anyone can use them. Configuration of ports differs based on the type of connected device, which can be either a device console, a PDU or modem. By default, all users can access all enabled and configured ports.
Page 28
24 ..Avocent® ACS 6000 Advanced Console Server Access Parameters Field Description For Appliance Name Name assigned to the appliance (for example, ACS6048-1357908642) Port Type Status N/A For Serial Port Either the default name [ (where =port_number)], an administrator-assigned alias or Name an auto-discovered server name Port Number of the serial port...
Port Access and Configuration Examples..--:- access cli->ls ACS6016-0011223344/ 21-67-72-p-1/ 21-67-72-p-2/ 21-67-72-p-4/ myPDU/ Type show to see the content of the page --:- access cli-> Connect to a Device Console Connected to a Serial Port The following procedure is an example of how an administrator or an authorized user can connect to a device console when the device is connected to a port that is enabled and configured with the CAS Profile.
26 ..Avocent® ACS 6000 Advanced Console Server fremont-techpubs login: fred Password: Last login: Tue Oct 2 13:09:04 2007 on :0 Linux fremont-techpubs 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32 UTC 2007 i68 6 GNU/Linux Accessing Serial Ports using ts_menu The ts_menu is an application to facilitate connection to the serial ports. It displays a menu showing the server names connected to the serial ports of the console server.
Port Access and Configuration Examples..Manage Power for a Device Connected to an Outlet on a See cycle, on, off, lock and unlock on page 16 for how an authorized user can manage power on PDU outlets when the PDU is connected to an enabled port configured with the Power Profile and the PDU is connected to the network and added to the appliance as Network PDU.
Page 32
28 ..Avocent® ACS 6000 Advanced Console Server --:#- [serial_ports/physical] cli-> 4. Enter set status=enabled , then enter show and save as shown to enable the configured port and verify and save the configuration. --:- serial_ports/physical cli-> set status=enabled --:- serial_ports/physical cli-> show --:- serial_ports/physical cli->...
Page 33
Port Access and Configuration Examples..4 ttys4 21-67-72-p-4 cas 9600_8N1_telnet-ssh_local 5 ttys5 21-67-72-p-5 cas 9600_8N1_telnet-ssh_local 6 ttys6 21-67-72-p-6 cas 9600_8N1_telnet-ssh_local 7 ttys7 21-67-72-p-7 cas 9600_8N1_telnet-ssh_local 8 ttys8 21-67-72-p-8 cas 9600_8N1_telnet-ssh_local 9 ttys9 21-67-72-p-9 cas 9600_8N1_telnet-ssh_local 10 ttys10 21-67-72-p-10 cas 9600_8N1_telnet-ssh_local 11 ttys11 21-67-72-p-11 cas 9600_8N1_telnet-ssh_local 12 ttys12 21-67-72-p-12 cas 9600_8N1_telnet-ssh_local 13 ttys13 21-67-72-p-13 cas 9600_8N1_telnet-ssh_local...
CLI Overview for Administrators This chapter describes using the Command Line Interface (CLI) for administrators. Only administrators and authorized users can access the commands listed in this chapter. These procedures assume you have logged into the CLI as an administrator and are at the --:- / cli-> prompt.
CLI Overview for Administrators..Date and Time Options Date and Time Navigation Tree date_and_time date_and_time settings= day= hour= minute= month= second= year= time_zone= System/Help and Language Enter cd system/help_and_language to navigate to the online_help level. --:- / cli-> cd system/help_and_language To set the online help URL: Perform this procedure if you have downloaded the online help files to a web server that is accessible to the console server.
34 ..Avocent® ACS 6000 Advanced Console Server --:- / cli-> cd system/general To set the login banner: 1. Enter the following command. --:- / cli> cd system/general/ 2. Enter the following command. --:- general cli-> set enable_login_banner=yes **:- general cli> set login_banner=<login banner text> NOTE: <login banner text> with new lines: Type the text between double quotes and enter the new line as \\n (double back slash and the character).
CLI Overview for Administrators..System/Usage Enter cd system/usage to navigate to the Usage level. --:- / cli> cd system/usage/ System/Usage Options Usage Navigation Tree flash usage memory Network 1. Enter cd network to navigate to the Network level --:- / cli-> cd network/ 2.
36 ..Avocent® ACS 6000 Advanced Console Server Network Navigation Tree primary_dns= secondary_dns= enable_ipv6= get_dns_from_dhcpv6= get_domain_from_dhcpv6= enable_ipv4_multiple_routing_tables= Network/IPv4 and IPv6 IPv4 addresses are always enabled. An administrator can also enable IPv6 addresses at the appliance_settings/network/ipv6 level. A procedure to enable IPv6 is used as an example in CLI Equivalent Actions to Web Manager Checkbox Selection on page 20 .
CLI Overview for Administrators..3. Enter set ipv < 4 | 6 > _address= <IP_Address> ipv < 4 | 6 > _mask= <netmask> to set the IP address and subnet mask, then enter commit to save the change. --:- eth0 cli-> set ipv4_address=172.26.31.10 ipv4_mask=255.255.255.0 **:- eth0 cli->...
Page 42
38 ..Avocent® ACS 6000 Advanced Console Server --:#- [hosts] cli-> 4. Enter set hostname= <hostname> ip= <IP_address> to add the name of a host and the IP address for the host. NOTE: Each parameter that follows the add command is separated by a space. --:#- [hosts] cli->...
CLI Overview for Administrators..Network/Firewall Enter cd network/firewall to navigate to the firewall level. --:- / cli-> cd network/firewall NOTE: To set a rule, you must enable the interface, set the rule for the interface and physically connect the interface to the network. Network/Firewall Options Firewall Navigation Tree firewall...
40 ..Avocent® ACS 6000 Advanced Console Server Wiz command The wiz command allows administrators to easily and quickly perform the initial network configuration of the eth0. At the command prompt at the / level, enter wiz to view the current IP configuration. To change the IP configuration, press Tab to move through the parameters, and press Esc + Tab to edit the selected parameter.
CLI Overview for Administrators..Other hints: - Use backslash '\' to escape spaces, '\' and other control characters when assigning values to parameters. Current IPv4 address: 172.26.30.249 Current IPv6 address: eth0: device_status (disabled, enabled) [enabled]: Ports Enter cd ports to navigate to the Ports level. --:- / cli->...
Page 46
42 ..Avocent® ACS 6000 Advanced Console Server Ports Navigation Tree pool_members= dial-in_profile secure_dial-in callback_users settings log_in_to_appliance= otp_login_authentication= ppp_connection= ppp|pap_authentication= Serial Port Commands Command Summary Edits the command to configure a list of serial ports with the CAS profile. Syntax: set_cas<serial set_cas port number>, <serial port number>...
CLI Overview for Administrators..enable_cisco_rj45_pin-out = no status = enabled speed = 9600 parity = none data_bits = 8 stop_bits = 1 flow_control = none Type ls to see availables sub-nodes. --:#- [serial_ports/physical] cli-> ls cas/ data_buffering/ alerts/ power/ Type show to see the content of the page. --:#- [serial_ports/physical] cli->save --:- serial_ports cli->...
44 ..Avocent® ACS 6000 Advanced Console Server If no internal modem is installed, the port name is ttyA1. If an internal modem is installed, the port name is ttyM1. Enter the commands: set_dial-in , set dial-out or set_power to configure the auxiliary port. NOTE: The set_power command will not be available when an internal modem is installed.
CLI Overview for Administrators..Users Enter cd users to navigate to the users level. --:- / cli-> cd users Users Options Users Navigation Tree local_accounts user_names root admin password_rules password enforcement default expiration authorization groups admin appliance-admin user To add a user and password: 1.
CLI Overview for Administrators..Option Description show up in the PDUs node when they are discovered. Only power control opearation is supported by pdus these PDUs. To rename a PDU: 1. Log onto the CLI as an administrator and enter cd power_management/pdus to navigate to the pdus level.
Page 52
48 ..Avocent® ACS 6000 Advanced Console Server --:- / cli-> cd active_sessions --:- active_sessions cli-> 2. Enter show . Information displays as shown about all active sessions. --:- active_sessions cli-> show user: admin client_ip: none creation_time: Tue Dec 18 03:31:01 2007 session_type: console connection_type: cli target_name:...
Appendices Enabling Firmware Upgrades When the Boot Image is not in Flash To enable firmware upgrades when the boot image is not in Flash: 1. Connect to the console of the console server as root. Welcome to ACS6000 <host name>. Type help for more information.
..Migration CLI The Migration CLI is a tool that allows you to configure an ACS 6000 console server that is running scripts based in the ACS advanced console server. For full configuration and management commands, it is recommended you use the ACS 6000 console server’s CLI. NOTE: References to an ACS advanced console server in this section refer to any advanced console server other than the ACS 6000 console server.
..Su and Sudo Commands The su and sudo commands allow a user to execute commands as a different user. Su command Using the su (switch user) command, a user can switch to another user account to execute commands not authorized with their normal account. If used without a username, the su command defaults to root.
56 ..Avocent® ACS 6000 Advanced Console Server # groups <username> To delete a member from the wheel group: 1. Edit the file /etc/group. 2. Remove the username from the line with wheel::XX:<user1>,<user2>,<user3> . Sudo command Using the sudo (superuser do) command, a user can execute a command using the privileges of another user (often root), as specified in the /etc/sudoers file.
Page 61
..PARTTIMERS ALL = SHUTDOWN, REBOOT In the preceding example, the users millert, mikef and dowdy can execute the kill, shutdown, reboot and su commands while the users bostley, jwfox and crawl can only shut down and reboot the console server.
..Technical Support Our Technical Support staff is ready to assist you with any installation or operational issues you encounter with your Avocent product. If an issue should develop, follow the steps below for the fastest possible service. To resolve an issue: 1.
Page 65
Emerson Network Power provides innovative data center infrastructure management solutions that bridge the gap between IT and facility management and deliver efficiency and uncompromised availability regardless of capacity demands. Our solutions are supported globally by local Emerson Network Power service technicians. Learn more www.EmersonNetworkPower.com...
Need help?
Do you have a question about the Avocent ACS 6000 and is the answer not in the manual?
Questions and answers