Emerson Avocent ACS 6000 Command Reference Manual

Emerson Avocent ACS 6000 Command Reference Manual

Advanced console server
Hide thumbs Also See for Avocent ACS 6000:

Advertisement

Avocent® ACS 6000 Advanced Console Server
Command Reference Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Avocent ACS 6000 and is the answer not in the manual?

Questions and answers

Summary of Contents for Emerson Avocent ACS 6000

  • Page 1 Avocent® ACS 6000 Advanced Console Server Command Reference Guide...
  • 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.
  • Page 3: Table Of Contents

    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...
  • Page 5: Introduction, Navigation And Commands

    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.
  • Page 6: Access Options And How To Log Into The Cli

    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.
  • Page 7: Configuration Tasks Performed With The Cli

    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.
  • Page 9: Autocompletion

    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->...
  • Page 10: Command Line Syntax

    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>...
  • Page 11 Introduction, Navigation and Commands..
  • Page 12 Introduction, Navigation and Commands..
  • Page 13: Cli Command Set

    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.
  • Page 14: Add

    10 ..Avocent® ACS 6000 Advanced Console Server Add a node. Syntax: --:- / cli-> add <Path> Example: --:- / cli-> add network/hosts --:#- [hosts] cli-> delete Delete a node. Syntax: --:- / cli-> delete <Path> <parameter> Change directory (level). Syntax: --:- / cli-> cd <Path> Example: --:- / cli->...
  • Page 15: Pwd

    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->...
  • Page 16: Sniff

    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.
  • Page 17: Disconnect

    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->...
  • Page 18: Set

    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->...
  • Page 19: Show

    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->...
  • Page 20: Cycle, On, Off, Lock And Unlock

    16 ..Avocent® ACS 6000 Advanced Console Server --:- eth0 cli-> list_configuration echo off cd /network/devices/eth0 batch_mode set status=enabled set ipv4_method=dhcp #set ipv4_method=static #ipv4_address=192.168.160.10 #ipv4_mask=255.255.255.0 #set ipv4_method=ipv4_address_unconfigured #set ipv6_method=stateless #set ipv6_method=dhcpv6 #set ipv6_method=static #ipv6_address= #ipv6_prefix_length= set ipv6_method=ipv6_address_unconfigured set mode=auto submit echo on commit --:- eth0 cli->...
  • Page 21: Passwd

    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>...
  • Page 22: Wiz

    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.
  • Page 23: Sendmsg

    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>...
  • Page 24: Cleandbuf And Clean_Appliance_Databuf

    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->...
  • Page 26 CLI Command Set..
  • Page 27: Port Access And Configuration Examples

    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...
  • Page 29: Connect To A Device Console Connected To A 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.
  • Page 30: Accessing Serial Ports Using Ts_Menu

    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.
  • Page 31: Manage Power For A Device Connected To An Outlet On A Pdu

    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...
  • Page 34 Port Access and Configuration Examples..
  • Page 35: Cli Overview For Administrators

    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.
  • Page 36: System/Date And Time

    32 ..Avocent® ACS 6000 Advanced Console Server System Navigation Tree idle_timeout = rpc = port access = session = port_access_kill_multi_session = port_access_send_message_multi_session = port_access_power_control = port_access_data_buffer_management = c bootp_enabled= bootp_interface= enable_live_configuration_retrieval= port_acess_per_user_group_authorization = ssh_allows_authentication_via_username|password = security_profile= enable_telnet_service= enable_ftp_service= d enable_snmp_service= enable_ipsec= answer_icmp_message= ssh_version= ssh_tcp_port=...
  • Page 37: System/Help And Language

    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.
  • Page 38: System/Boot Configuration

    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).
  • Page 39: System/Usage

    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.
  • Page 40: Network/Ipv4 And Ipv6

    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 .
  • Page 41: Network/Hosts

    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->...
  • Page 43: Network/Firewall

    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...
  • Page 44: Wiz Command

    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.
  • Page 45: Ports

    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>...
  • Page 47: Auxiliary Ports

    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->...
  • Page 48: Pluggable Devices

    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.
  • Page 49: Users

    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.
  • Page 50: Events_And_Logs

    46 ..Avocent® ACS 6000 Advanced Console Server Events_and_Logs Options Events_and_Logs Navigation Tree event list event destinations syslog snmp trap email dsview trap_forward data_buffering local_data_buffering_settings segment_size_(kbytes)= spare_segments= nfs_data_buffering_settings nfs_server= nfs_path= segment_size_(kbytes)= spare_segments= local_nfs_data_buffering_settings close_log_files_and_open_new_ones_at_time_(hh:mm)= syslog_data_buffering_settings syslog_facility= sensors current_temperature:(deg_c, display only) maximum_temperature_(deg_c)= maximum_temperature_threshold_(deg_c)=(positive integer between 0 and 4) minimum_temperature_(deg_c)= minimum_temperature_threshold_(deg_c)=(positive integer between 0 and 4) Power Management...
  • Page 51: Active Sessions Information

    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:...
  • Page 53: Appendices

    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.
  • Page 54 Appendices..
  • Page 55: Migration Cli

    ..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.
  • Page 56 52 ..Avocent® ACS 6000 Advanced Console Server Command Value or Descriptions backupconfig saveto sd upgradefw checkum application connect view config administration bootconf bootype bootp/both/ftp flashtest full/skip maxevents <number> ramtest full/quick/skip config administration notifications addemail addpager addsnmptrap alarm delete edit config application pmdconfig general delete config application terminalmenu delete...
  • Page 57 ..Command Value or Descriptions protocol bidirectionaltelnet, consoleraw, cslip, local, rawsocket, slip, sshv1, sshv2, telnet config physicalports multiuser users accepts only list of users sniffmode in/inout/no/out config physicalports other SSHexitkey <SSH exit key> banner <login banner> host <host> sttyoptions <stty options> tcpkeepalive <number>...
  • Page 58 54 ..Avocent® ACS 6000 Advanced Console Server...
  • Page 59: Su And Sudo Commands

    ..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.
  • Page 60: Sudo Command

    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.
  • Page 62 ..
  • Page 63: Technical Support

    ..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 64 ..
  • 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...

Table of Contents

Save PDF