APC Guide to CLI Commands and SSH for Command Line Management

Page 22

Command Line Interface

About the Command Line Interface

You can use the command line interface to view the status of and configure and manage the Rack PDU. In addition, the command line interface enables you to create scripts for automated operation. An Administrator has full access to the command line interface, a Device user has limited access, and a Read-Only user is completely restricted. (For additional details, see “Types of User Accounts” on page 2.)

You can configure all parameters of a Rack PDU (including those for which there are not specific CLI commands) by using the CLI to transfer an INI file to the Rack PDU. The CLI uses XMODEM to perform the transfer. However, you cannot read the current INI file through XMODEM.

Log on to the Command Line Interface

To access the command line interface, you can use either a local (serial) connection or a remote (Telnet or SSH) connection with a computer on the same network as the Rack PDU.

Remote access to the command line interface

You can access the command line interface through Telnet or SSH. Telnet is enabled by default. Enabling SSH disables Telnet.

To enable or disable these access methods, use the Web interface. On the Administration tab, select Network on the top menu bar, and then the access option under Console on the left navigation menu.

Telnet for basic access. Telnet provides the basic security of authentication by user name and password, but not the high-security benefits of encryption.

To use Telnet to access the command line interface:

1.From a computer that has access to network on which the Rack PDU is installed, at a command prompt, type telnet and the IP address for the Rack PDU (for example, telnet 139.225.6.133, when the Rack PDU uses the default Telnet port of 23), and press ENTER.

If the Rack PDU uses a non-default port number (from 5000 to 32768), you must include a colon or a space, depending on your Telnet client, between the IP address (or DNS name) and the port number. (These are commands for general usage: some clients don’t allow you to specify the port as an argument and some types of Linux might want extra commands).

2.Enter the user name and password (by default, apc and apc for an Administrator, or device and apc for a Device User).

If you cannot remember your user name or password, see “Recovering from a Lost Password” on page 8.

SSH for high-security access. If you use the high security of SSL for the Web interface, use SSH for access to the command line interface. SSH encrypts user names, passwords, and transmitted data. The interface, user accounts, and user access rights are the same whether you access the command line interface through SSH or Telnet, but to use SSH, you must first configure SSH and have an SSH client program installed on your computer.

Metered Rack PDU User Guide

14

Image 22
Contents User Guide Contents Log on to the Command Line Interface Web Interface Logs Administration Notification Device IP Configuration Wizard Troubleshooting Product Features IntroductionAccess Priorities for Logging on Types of User AccountsWatchdog Features Network Port SharingGetting Started Dhcp and Bootp configuration Establish Network SettingsTCP/IP configuration methods INI file utilityOption 43 = 01 04 31 41 50 Command Line Interface Recovering from a Lost Password Rack PDU Front Panel FunctionFunction Display Tree Example Display Tree Example Condition Description Load indicator LEDNetwork Status LED 10/100 LEDLog on to the Command Line Interface Command Line InterfaceAbout the Command Line Interface Remote access to the command line interfaceLocal access to the command line interface About the Main ScreenUsing the Command Line Interface IPv4 IPv6 Description OnlyCommand Syntax DescriptionCommand Response Codes Code MessageAbout Network Management Card Command DescriptionsAlarmcount Option Arguments DescriptionOption Argument Description BootClrrst Console Argument Description DateDelete DirExit DnsEventlog FormatNetstat Option Argument DefinitionHelp NtpPrompt PingPortSpeed QuitReboot RadiusSnmp, snmpv3 ResetToDefSystem Tcpip Tcpip6User WebXferINI XferStatusBkLowLoad Device Command DescriptionsNetwork Port Sharing Commands BkNearOverBkReading BkOverLoadDevLowLoad DevReading DevNearOverDevOverLoad Argument DefinitionHumMin HumLowHumReading PhNearOver PhLowLoadPhOverLoad PhReading ProdInfo SensorNameTempMax TempHighTempReading Whoami Supported Web Browsers Web InterfaceLogging On to the Web Interface Error Message Browser Cause of the Error URL address formatsTabs Web Interface FeaturesSymbol Description Device status iconsOther Web interface features Quick LinksGroup Control using Network Port Sharing Network Port Sharing on the Web InterfaceMetered Rack PDU User Guide About the Home Tab Alarm Status viewOverview view About the Device Manager Tab Configuring Load ThresholdsDevice Management Viewing the Load Status and Peak LoadConfigure the Name and Location of the Rack PDU Resetting Peak Load and kWhConfigure Temperature and Humidity Sensors EnvironmentUse the Event and Data Logs LogsEvent log Example event log Rack PDU 4 Device low load Data log Path Logs Data optionsParameter Description How to use FTP or SCP to retrieve log files Scp username@hostnameoripaddressdata.txt ./data.txtAuthentication Administration SecuritySetting user access Local UsersRadius Setting Definition RadiusConfiguring a Radius server on Unix with shadow passwords Configure the Radius ServerSummary of the configuration procedure Supported Radius serversInactivity Timeout TCP/IP settings Administration Network FeaturesTCP/IP and Communication Settings Setting DescriptionDhcp response options APC Cookie. Tag 1, Len 4, Data 1APCPort Speed Ping ResponseDNS Query Type Selected Query Question to UseOption Description WebStatus Console Telnet 152.214.12.1145000 telnet 152.214.12.114Snmp SNMPv1 SNMPv3 FTP Server Event Actions Administration NotificationConfiguring event actions Types of notificationMetered Rack PDU User Guide Active, Automatic, Direct Notification Mail notificationSend a test message to a configured recipient Snmp traps Snmp Trap TestSetting Definition Remote Monitoring ServiceSyslog Informational is mapped to Info Set the Date and Time Administration General OptionsIdentification ModeUse an .ini File Daylight savingChange the default temperature scale Event Log and Temperature UnitsReset the Rack PDU Color-code event log textConfigure Links About the Rack PDUCapabilities, Requirements, and Installation Device IP Configuration WizardUse the Wizard Select Remotely over the network, and click Next Configure or reconfigure the TCP/IP settings locallySelect Locally through the serial port, and click Next Contents of the .ini file How to Export Configuration SettingsSummary of the procedure Retrieving and Exporting the .ini FileDetailed procedures Ftp open ipaddress Messages in config.ini Upload Event and Error MessagesEvent and its error messages Errors generated by overridden valuesFirmware File Transfer Methods How to Upgrade FirmwareFile Transfers Benefits of upgrading firmwareUsing the Firmware Upgrade Utility Use FTP or SCP to upgrade one Rack PDUUse Xmodem to upgrade one Rack PDU Using the Firmware Upgrade Utility for multiple upgrades How to upgrade multiple Rack PDUsUsing a USB flash drive to upgrade one Rack PDU Firmware Module Binary File Verify the success or failure of the transfer Verifying Upgrades and UpdatesVerify the version numbers of installed firmware Last Transfer Result codesRack PDU Access Problems TroubleshootingProblem Solution Appendix a List of Supported Commands Network Management Card Command DescriptionsSets manual IPv6 address Device Command Descriptions APC Worldwide Customer Support 990-3429D-001 10/2012

AP8886, AP88XX, AP8861 specifications

The APC AP8861, part of the AP88XX series, is a highly versatile and advanced power distribution unit (PDU) designed to meet the growing demands of data centers and IT environments. This series encompasses state-of-the-art technologies and features designed to enhance both operational efficiency and reliability.

The AP8861 model is particularly recognized for its modular design, allowing for easy scaling and expansion as data center needs evolve. With a variety of outlet configurations, it can accommodate numerous devices while optimizing power management. The device supports both standard and high-density power distribution, making it suitable for diverse environments, from small server rooms to large-scale data centers.

One of the hallmark features of the AP8861 is its built-in network management capabilities. It allows for real-time monitoring of power consumption, ensuring optimal load balancing and helping prevent overload situations. The device incorporates environmental monitoring through temperature and humidity sensors, enabling administrators to proactively manage operating conditions and mitigate risks to sensitive equipment.

The AP88XX series features advanced Surge Protection, which guards against electrical surges that can damage connected equipment. This is a critical consideration in data centers where the integrity of sensitive electronics is paramount. Additionally, the series supports remote management, allowing IT personnel to monitor and control power distribution from anywhere in the world. This function enhances operational flexibility and facilitates rapid responses to power-related issues.

Another significant characteristic of the AP8861 is its compatibility with APC's software solutions. Integrating seamlessly with IT management platforms enables deeper insights and analytics, leading to informed decision-making regarding power usage and equipment reliability.

The device boasts a high-efficiency design, contributing to reducing overall energy costs. The capability to customize alarm settings for power events and environmental factors further enhances proactive management of the data center environment.

In summary, the APC AP8861 and the entire AP88XX series are engineered for robust performance, enhanced control, and adaptability in power distribution management. Packed with advanced features, this series offers solutions that help businesses optimize their data centers while ensuring maximum uptime and equipment protection, thereby supporting the ever-increasing demands placed on modern IT infrastructures.