Scripting with APC by Schneider Electric Switched Rack Power Distribution Units (PDUs)
Looking for assistance with scripting or automating outlet control on Switched Rack PDUs.
AP79XX Switched Rack PDUs
AP86XX, AP89XX Switched Rack PDUs
All serial numbers
All firmware versions
Scripting via Telnet, SSH, SNMP, or Local Console
Users using Network Port Sharing (sharing one IP address across up to (4) AP8XXX series Rack PDUs)
Users not using Network Port Sharing
Many users like to automate outlet control actions using scripting. The following information is available for AP79XX, AP86XX, and AP89XX Rack PDU devices.
Please refer to the appropriate section for your PDU device type.
AP79XX Switched Rack PDU Series
APC by Schneider Electric Switched Rack PDUs, beginning with part number AP79XX offer a command line interface for easy scripting to automate outlet control.
In order to access this interface, you must interface with the PDU via terminal (local access with the serial cable), telnet or SSH. Upon receiving a username and password prompt via one of these access methods, enter the following credentials:
User Name : apc
Password : apc<space>-c
Note:(Passwords usually show as *** or blank as you're typing for security purposes)
You will then receive the following information upon accessing the PDU command line interface:
American Power Conversion
Rack PDU AP7900 v3.7.3
(c) 2010 All Rights Reserved
Unit ID: Rack PDU 1: ON : Outlet 1
2: ON : Outlet 2
3: ON : Outlet 3
4: ON : Outlet 4
5: ON : Outlet 5
6: ON : Outlet 6
7: ON : Outlet 7
8: ON : Outlet 8 APC>
Please see the attached document for all available commands and assistance with scripting in conjunction with the Switched Rack PDU. If you have any questions or concerns, please contact APC by Schneider Electric technical support.
Alternatively, AP79XX Rack PDUs offer outlet control via Simple Network Management Protocol v1 or v3 (SNMP). The PowerNet MIB is available from apc.com as a downloadable file which contains all of the particular OIDs to control the outlets.
AP86XX and AP89XX Switched Rack PDU Series
AP86XX and AP89XX Second Generation Switched Rack PDUs offer backwards compatibility with the aforementioned scripting interface but also offer command line access to the embedded Network Management Card 2. These methods can be used on PDUs whether or not they are part of a Network Port Sharing group. Please refer to the Rack PDU's user's guide for available Rack PDU device commands. These are typically added to between firmware versions. http://www.schneider-electric.com/ww/en/download/ can be used to search by product for user's guides. For example, enter AP8941 which is the model of a PDU and all of the associated documents will be listed.
Alternatively, AP86XX and AP89XX Rack PDUs offer outlet control via Simple Network Management Protocol v1 or v3 (SNMP). The PowerNet MIB is available from apc.com as a downloadable file which contains all of the particular OIDs to control the outlets. Any AP8XXX specific SNMP OID is located under .iso.org.dod.internet.private.enterprises.apc.products.hardware.rPDU2 / .220.127.116.11.4.1.318.104.22.168, where under rPDU2.rPDU2Outlet.rPDU2OutletSwitched /.22.214.171.124.4.1.3126.96.36.199.9.2 is where you'll find the outlet control OIDs.
Please note: Scripting outlet actions is not available on APC Metered Rack PDUs because they do not offer individual outlet control.