
590-664-501AFor Technical Support:www.avocent.com/support Avocent Corporation4991 Corporate DriveHuntsville, Alabama 35805-6201 USATel: +1 256 430 400
viii ACS Advanced Console Server Command Reference Guidecr_guide.book Page viii Wednesday, July 26, 2006 3:07 PM
86 ACS Advanced Console Server Command Reference Guide• 0 : specific trap• \"\" : host-uptime• .1.3.6.1.2.1.2.2.1.2.1 :interfaces.ift
Chapter 5: Administration 87log { source(sysl); source(s_udp); filter(f_messages); destination(d_messages); };• To send an email if message re
88 ACS Advanced Console Server Command Reference GuideSyslog MessagesThe ACS console server may generate syslog messages to enable system admin
Chapter 5: Administration 89alert [PMD]-Serial Port p Outlet X has been turned OFF by user <username>.alert [PMD]-Serial Port p Outlet X
90 ACS Advanced Console Server Command Reference GuideNOTE: To disable PMD syslog messages, the file /etc/pmd.sh has to be edited. The paramete
Chapter 5: Administration 91Configuring alarm notificationcli> config administration notifications [parameter] <value>Table 5.9: Syst
92 ACS Advanced Console Server Command Reference GuideTo configure notifications:The following example demonstrates configuring the ACS console
Chapter 5: Administration 93effective even after future reboots, create a line with /bin/ex_wdt_led.sh in /etc/config_files, save and quit the
94 ACS Advanced Console Server Command Reference GuideTable 5.11: Timezone Configuration Parameters Parameter Level1Parameter Level2 Value Desc
Chapter 5: Administration 95The following are examples of configuring timezones.cli> config administration timezone custom acronym PDTcli&g
ixList of TablesTable 1.1: Modes of Operation...
96 ACS Advanced Console Server Command Reference Guide—————————————————————————————————————————————————————— * * * ttySN is being used by (<
Chapter 5: Administration 97Data BufferingData buffering may be done in local files or in remote files through NFS. When using remote files, t
98 ACS Advanced Console Server Command Reference GuideRamdisksData buffering files are created in the directory /var/run/DB. If the parameter s
Chapter 5: Administration 99Menu ShellThis application allows you to customize a menu presented to users when they connect to the ACS console
100 ACS Advanced Console Server Command Reference Guide2. Choose Add Menu Option and complete the requested fields. The following question defi
Chapter 5: Administration 101To set up which servers the users may access:1. Enter the following command to set up a menu, which is prompted w
102 ACS Advanced Console Server Command Reference GuideSUDO Configuration GroupSUDO configuration group allows users belonging to the administr
Chapter 5: Administration 103Syntax# saveconf [media <media parameters>]Restoreconf utilitySyntax# restoreconf [media <media paramete
104 ACS Advanced Console Server Command Reference GuideSaving or restoring configuration files using CLIUse the following commands to save or r
Chapter 5: Administration 105The /etc/crontab_files file may point to any desired file that calls the scripts to be run. The ACS console serve
x ACS Advanced Console Server Command Reference GuideTable 2.20: ICMP Extensions...
106 ACS Advanced Console Server Command Reference GuideClustering Using Ethernet InterfaceClustering allows cascading multiple ACS console serv
Chapter 5: Administration 107Use the following command to test the configuration.# telnet <ip address> <tcp port number>Use the fo
108 ACS Advanced Console Server Command Reference Guidecr_guide.book Page 108 Wednesday, July 26, 2006 3:07 PM
109Power ManagementCyclades PM Intelligent Power Distribution Unit (IPDU)The PM IPDU enables the administrators to remotely control and manage power t
110 ACS Advanced Console Server Command Reference GuideFigure 6.1: PM IPDU and ACS Console Server IntegrationPower management protocolThe seria
Chapter 6: Power Management 111For example, a user connected to serial port 2 is allowed to control outlets 1 and 2 of a PM IPDU connected to
112 ACS Advanced Console Server Command Reference Guidepm commandEnter the pm command at the shell prompt to open the power management menu. Ta
Chapter 6: Power Management 1134. Depending on the command selected one of the following situations occur.• If the selected command applies to
114 ACS Advanced Console Server Command Reference GuideTo manage devices plugged into multiple outlets:You may use the pm utility to simultaneo
Chapter 6: Power Management 115In the following example, the Sun Server is a multi-outlet device connected to outlet-7 of PM IPDU-1 and outlet
List of Tables xiTable 4.7: Console Escape Commands ...
116 ACS Advanced Console Server Command Reference GuideIf you have permission to access the server outlet(s), the PM IPDU regular user menu app
Chapter 6: Power Management 117Returning to the console sessionYou may terminate the pm session and return to the console using any of the fol
118 ACS Advanced Console Server Command Reference GuideFollowing are some examples of pmCommand.• Cycling outlets [PM IPDU]# cycle 4,5• Unlock
Chapter 6: Power Management 1192. Save the pslave.conf file and activate the new configuration by entering the following command.# runconf3. A
120 ACS Advanced Console Server Command Reference GuidePM IPDU Firmware UpgradeYou may upgrade the firmware of a single or multiple daisy-chain
Chapter 6: Power Management 121SNMP ProxyThe SNMP proxy for power management feature allows the ACS console server to proxy SNMP requests to t
122 ACS Advanced Console Server Command Reference Guide2. Get the number PM IPDU outlets connected to the serial port 16.# snmpget -m all -v 2c
123AppendicesAppendix A: Additional Features and ApplicationsWindows 2003 server managementEmergency Management Services (EMS) is a new feature in the
124 ACS Advanced Console Server Command Reference GuideWith the EMS service enabled in Windows, configure the ACS console server as console pro
Appendices 125Example of sample encodingIn the SAC command line, each time you enter the cmd command you create a channel. A channel is the C
xii ACS Advanced Console Server Command Reference GuideTable 7.3: Elements in the <channel-switch> Tag...
126 ACS Advanced Console Server Command Reference GuideThe following elements are included in the <channel-switch> tag.Table 7.3: Element
Appendices 127A sample encoding of the SAC channel tag follows.A sample encoding of the CMD channel tag follows.A sample encoding of the GUI
128 ACS Advanced Console Server Command Reference GuideThe <BP> tag is emitted when the Windows server system halts such that only elemen
Appendices 129filter f_windows_bluescreen { facility(local<conf.DB_facility>) and level(info)nd match("XML_MONITOR") and matc
130 ACS Advanced Console Server Command Reference GuideFor the f_windows_boot, the following macros are available.Table 7.6: f_windows_boot Ava
Appendices 131An example on how to use the macrosIn the following example, the ACS console server sends an email to the administrator wheneve
132 ACS Advanced Console Server Command Reference GuideIntelligent Platform Management Interface (IPMI)IPMI is a service-level protocol and imp
Appendices 133IPMI configurationThis program lets you manage IPMI enabled devices locally remotely. These functions include printing FRU info
134 ACS Advanced Console Server Command Reference GuideExpressionsTo configue IPMI:1. Enter the following command to enable IPMI or edit an exi
Appendices 1353. Activate and save your configuration.Table 7.10: IPMI CLI Configuration Parameters Parameter Value Descriptionadd <alias
1Using Command Line InterfaceOverviewThe Cyclades ACS advanced console server command line interface (CLI) may be used for administration and maintena
136 ACS Advanced Console Server Command Reference GuideLine printer daemonThis feature implements the UNIX Line Printer Daemon (LPD) in the ACS
Appendices 1377. Execute saveconf command to save the configuration in Flash.8. Check the ACS console server configuration by entering the fo
138 ACS Advanced Console Server Command Reference GuideAlternately, you may access ttyS1 through the pool using TCP port 3000, IP 10.1.0.1 or a
Appendices 139BillingThe ACS console server family of products may be used as an intermediate buffer to collect serial data (like billing tic
140 ACS Advanced Console Server Command Reference GuideTo configure billing:1. Open the /etc/portslave/pslave.conf file and configure the follo
Appendices 141-Ttimeout -i ip -n netmask -R route -u uploadAny parameter that is not specified remains unchanged. The following parameters ar
142 ACS Advanced Console Server Command Reference GuideAppendix B: Upgrades and TroubleshootingUpgradesBelow are the six files added to the sta
Appendices 143For example, the zImage zvmppccs.1005_qa.acs-k26.md5 text file contains the following information.5bcc7d9b3c61502b5c9269cbecd20
144 ACS Advanced Console Server Command Reference Guide12. When the “Fast Ethernet” prompt appears, press Enter.Fast Ethernet ((A)uto Neg, 100
Appendices 145To set a limit of bytes received by the interface per second:1. Run bootconf. 2. Press Enter for all fields but the Maximum rat
2 ACS Advanced Console Server Command Reference GuideRemote users may access the ACS console server CLI through SSH, by using a terminal emulat
146 ACS Advanced Console Server Command Reference GuideNOTE: The Ethernet error mentioned in the previous table occurs automatically if the Fas
Appendices 147Boot configurationTo configure boot parameters:1. Use the following command to configure the boot parameters of the ACS console
148 ACS Advanced Console Server Command Reference GuideSession Managementcli> administration sessions [parameter] <value>Backup config
Appendices 149Firmware upgradeTo upgrade the firmware on the ACS console server:1. Enter the following command at the CLI prompt.cli> admi
150 ACS Advanced Console Server Command Reference GuideAppendix C: Linux File StructureThe Linux file system is organized hierarchically, with
Appendices 151mkdir directory_name• mkdir spot• mkdir /tmp/snugglesCreates a directory named directory_name. • Creates the directory spot in
152 ACS Advanced Console Server Command Reference GuideAppendix D: The vi EditorTo edit a file using the vi editor:#vi file_nameThe vi editor i
Appendices 153Once you have completed your file modification, enter the line mode by typing colon (:) and one of the following commands.Table
154 ACS Advanced Console Server Command Reference GuideAppendix E: Technical SupportOur Technical Support staff is ready to assist you with any
FCC Warning StatementThe Cyclades ACS advanced console server has been tested and found to comply with the limits for Class A digital devices, pursuan
Chapter 1: Using Command Line Interface 3Modes of operationThe following table describes the three modes of executing commands using the CLI u
590-664-501AFor Technical Support:www.avocent.com/support Avocent Corporation4991 Corporate DriveHuntsville, Alabama 35805-6201 USATel: +1 256 430 400
4 ACS Advanced Console Server Command Reference GuideCLI NavigationAutocompletionAutocompletion may be used to find out what commands and param
Chapter 1: Using Command Line Interface 5Using CLI hot keysThe CLI hot keys may be used to perform the following types of actions:• Move the c
FCC Warning StatementThe Cyclades ACS advanced console server has been tested and found to comply with the limits for Class A digital devices, pursuan
6 ACS Advanced Console Server Command Reference GuideCLI Global commandsThe CLI global commands may be entered at any level of the CLI hierarch
Chapter 1: Using Command Line Interface 7-rbatch mode onlyActivate changes. This is the same as runconfig command.-f <filename> Executes
8 ACS Advanced Console Server Command Reference Guidecr_guide.book Page 8 Wednesday, July 26, 2006 3:07 PM
9Network ConfigurationNetwork SettingsThe following instructions assume you are installing a new ACS console server or you have reset an existing unit
10 ACS Advanced Console Server Command Reference GuideSecurity ProfilesA security advisory appears the first time the ACS console server is pow
Chapter 2: Network Configuration 11Enable serial portsBy default, the ACS console server is configured with all serial ports disabled.To enabl
12 ACS Advanced Console Server Command Reference GuideHost settingsTo configure host settings:1. Enter the following string at the CLI prompt.
Chapter 2: Network Configuration 13PCMCIA ManagementThe ACS console server’s PCMCIA slots support a number of interface cards such as Ethernet
14 ACS Advanced Console Server Command Reference GuidePCMCIA Network DevicesEthernet cardsTo configure an Ethernet PCMCIA card:1. Execute the f
Chapter 2: Network Configuration 15The following example shows the usage of wireless LAN configuration parameters.cli>config network pcmcia
Cyclades® ACSAdvanced Console ServerCommand Reference GuideAvocent, the Avocent logo, The Power of Being There, DSView and Cyclades are registered tra
16 ACS Advanced Console Server Command Reference GuideGSM PCMCIA cardsIn order to configure a GSM PCMCIA card, enter the following command. Ref
Chapter 2: Network Configuration 17CDMA card configurationIn order to configure a CDMA PCMCIA card, enter the following command. Refer to Tabl
18 ACS Advanced Console Server Command Reference GuideISDN PC cardsIn order to configure an ISDN PCMCIA card, enter the following command. Refe
Chapter 2: Network Configuration 19Initialize a PCMCIA hard drive for VFAT# echo ",,0x0e" | sfdisk /dev/hda # mkdosfs /dev/hda1Parti
20 ACS Advanced Console Server Command Reference GuideThe following example shows the usage of the PCMCIA card parameters.1. Enable the Compact
Chapter 2: Network Configuration 21The following example displays the tail of an /etc/generic-dial.conf file with a dial-out instance defined.
22 ACS Advanced Console Server Command Reference GuideTo configure the /etc/generic-dial-out.conf file:1. Configure the desired port with gener
Chapter 2: Network Configuration 23The following example displays the /etc/ppp/peers/wireless file. In this example, note that the connect scr
24 ACS Advanced Console Server Command Reference GuideThe following example illustrates the AT commands.• An ATD command to dial the *99# numbe
Chapter 2: Network Configuration 25To configure dial-out automatic restart:1. Enable the default feature in the /etc/daemon.d/gendial.sh file
InstructionsThis symbol is intended to alert the user to the presence of important operating and maintenance (servicing) instructions in the literatur
26 ACS Advanced Console Server Command Reference GuideSNMPSimple Network Management Protocol (SNMP) works by sending messages called protocol d
Chapter 2: Network Configuration 27NOTE: Check the SNMP configuration before gathering information about the ACS console server by SNMP. There
28 ACS Advanced Console Server Command Reference GuideTo configure SNMP v3 (example):1. The following command configures SNMP v3 with the follo
Chapter 2: Network Configuration 29To configure bonding:1. Enable / disable bonding.cli> config network hostsettings bonding enabled [no|ye
30 ACS Advanced Console Server Command Reference GuideTCP keepaliveThe objective of this feature is to allow the ACS console server to recogniz
Chapter 2: Network Configuration 31ChainEach table contains a number of built-in chains and may also contain user-defined chains. The built-in
32 ACS Advanced Console Server Command Reference GuideCommandOnly one command may be specified on the command line unless otherwise specified
Chapter 2: Network Configuration 33Rule specificationThe following parameters define a rule specification as used in the add, delete, insert,
34 ACS Advanced Console Server Command Reference GuideMatch extensionsIptables may use extended packet matching modules. These are loaded in tw
Chapter 2: Network Configuration 35TCP extensionsThese extensions are loaded if the protocol specified is tcp or -m tcp is specified. It provi
iiiTable of ContentsList of Figures ...
36 ACS Advanced Console Server Command Reference GuideICMP extensionThis extension is loaded if the protocol icmp is specified or -m icmp is sp
Chapter 2: Network Configuration 37REJECT (filter table only)This is used to send back an error packet in response to the matched packet, othe
38 ACS Advanced Console Server Command Reference GuideDNAT (NAT table only)This target is only valid in the nat table, in the PREROUTING and OU
Chapter 2: Network Configuration 39To configure firewall:fwset scriptIptables rules are stored in /etc/network/firewall. The fwset script save
40 ACS Advanced Console Server Command Reference GuideUse the following command to configure static routes. Refer to Table 2.29 for the list of
41CHAPTER3SecurityThis chapter describes the procedures for configuring authentication service(s) that the ACS console server and its connected device
42 ACS Advanced Console Server Command Reference GuideTo configure authentication to the ACS console server:1. Execute the following command to
Chapter 3: Security 43To configure authentication servers:1. Execute the following command to configure authentication server parameters. Refe
44 ACS Advanced Console Server Command Reference GuideUser access to serial portsTo add groups and users:1. Enter the following command to crea
Chapter 3: Security 45To add groups and users (example): • Add a group called FremontACS that includes the users john and mary.security> ad
iv ACS Advanced Console Server Command Reference GuideHosts ...
46 ACS Advanced Console Server Command Reference GuideNIS ClientNIS (Network Information System) provides generic client-server database access
Chapter 3: Security 47To test the configuration:1. Start with the following command.# /usr/sbin/ypbind2. Display the NIS server name by runnin
48 ACS Advanced Console Server Command Reference GuideThe following examples illustrate the use of NIS to authenticate users.• Authenticate the
Chapter 3: Security 49When the user needs access to a network service, the client uses the TGT to request a ticket for the service from the Ti
50 ACS Advanced Console Server Command Reference GuideTo list all configured hosts in the Kerberos server, run the following command, which dis
Chapter 3: Security 515. Connect from the client to the ACS console server through SSH.# ssh [email protected]. Open an SSH session t
52 ACS Advanced Console Server Command Reference Guide6. Save your changes.# saveconfLDAP AuthenticationTo configue LDAP authentication on the
Chapter 3: Security 53To configure a TACACS+ authentication server:1. On the server, add raccess service to the user configuration.2. Define t
54 ACS Advanced Console Server Command Reference Guide3. On the ACS console server, use the CLI utility to edit the parameters described in the
Chapter 3: Security 55To configure a RADIUS authentication server:1. On the Radius server, edit /etc/raddb/users and add a new string attribut
Table of Contents vTS Menu Script...
56 ACS Advanced Console Server Command Reference GuideTo configure RADIUS authorization on the ACS console server to access the serial ports:1.
Chapter 3: Security 57• Configure a PCMCIA modem card for OTP authentication. You may use WMI or the CLI utility to configure a modem for OTP.
58 ACS Advanced Console Server Command Reference GuideUsing opiepasswd from the consoleThe following information displays when you execute the
Chapter 3: Security 59The following example uses MD5 (-5 option) to verify data integrity. The -n <count> option followed by the sequenc
60 ACS Advanced Console Server Command Reference GuideDigital CertificatesCertificate for HTTP securityThe following procedure enables you to o
Chapter 3: Security 61To install the certificate on the web server:1. Log in to the ACS console server.2. Join the certificate with the privat
62 ACS Advanced Console Server Command Reference GuideUser configured digital certificateThe ACS console server generates its own self-signed S
Chapter 3: Security 63X.509 certificate on SSHThe OpenSSH software included with the ACS console server has support for X.509 certificates. Th
64 ACS Advanced Console Server Command Reference Guidecr_guide.book Page 64 Wednesday, July 26, 2006 3:07 PM
65Accessing Connected DevicesThis chapter describes set up and configuration parameters for accessing serial ports and connected devices. Connection P
vi ACS Advanced Console Server Command Reference GuideAppendix C: Linux File Structure...
66 ACS Advanced Console Server Command Reference GuideSerial ports general parameters To configure general parameters:1. Execute the following
Chapter 4: Accessing Connected Devices 67To configure other configuration parameters:1. Execute the following command for one or multiple seri
68 ACS Advanced Console Server Command Reference GuideTo open and close a telnet session to a serial port:# telnet [hostname] [TCP port number]
Chapter 4: Accessing Connected Devices 69Calling ts_menu with specific parametersts_menu -u <user> [-l[c]] [-ro] [-s] [-auth] <consol
70 ACS Advanced Console Server Command Reference GuideTo close the session from ts_menu (local):1. Enter the escape character shown when you co
Chapter 4: Accessing Connected Devices 71TS Menu ScriptThe ts_menu script may be used to avoid typing long Telnet or SSH commands. It presents
72 ACS Advanced Console Server Command Reference GuideConfiguration examplesConsole Access Server (CAS) profileWith the ACS console server set
Chapter 4: Accessing Connected Devices 73Figure 4.2 displays another configuration example for remote and local authentication, data buffering
74 ACS Advanced Console Server Command Reference Guide4. Make sure the server is configured to route console data to its serial console port (C
Chapter 4: Accessing Connected Devices 75To test a TS configuration:1. Create a new user in the local database.# adduser <username># pas
viiList of FiguresFigure 4.1: Example of CAS Configuration with Local Authentication...70Figure 4.2: Example
76 ACS Advanced Console Server Command Reference GuideFigure 4.4 displays an example of a dial-in access profile with Radius authentication and
77AdministrationProcess MonitoringThe command “w” displays information about the currently logged-in users and their processes. It calls two commands,
78 ACS Advanced Console Server Command Reference GuideThe Process TableThe process table displays which processes are running. Type ps -a to se
Chapter 5: Administration 79Syslog-ngSyslog-ng daemon reads log system console messages and log files on remote syslog servers as specified by
80 ACS Advanced Console Server Command Reference Guide2. Define Sourcessource <identifier> { source-driver([params]); source driver([para
Chapter 5: Administration 81source s_kernel { file(‘/proc/kmsg’); };• Receive messages from local syslogd clients. source sysl {unix-stream(‘/
82 ACS Advanced Console Server Command Reference Guide• To filter by level. filter f_level { level(<level name>);};Examples:filter f_mess
Chapter 5: Administration 83Table 5.5: Destination Drivers Parameters (Syslog-ng Configuration) Option Description file (filename[options])Thi
84 ACS Advanced Console Server Command Reference GuideThe following is an example of how to send an email.destination <ident> { pipe(‘/de
Chapter 5: Administration 85The following example displays an email sent to [email protected] (SMTP's IP address 10.0.0.2) from the email addres
Comments to this Manuals