Skip to content

Version 6 Support #8

@cmccluskey

Description

@cmccluskey

I was looking into getting telnet running before looking into SSH.

But noticed some issues, in that the Schneider Electric updates to the PDUs have a very different command structure (see below).

I looks like the original expect code was around version 3 and forward. But between 2008 and 2015 the UI was revised (not sure if this was in 5.x or 6.x version of the RPDU software).

Any interest/advise in getting 6.x support into the expect interface?

Thank you,
Chris


Escape character is '^]'.

User Name : XXX
Password : *********

Schneider Electric Network Management Card AOS v6.4.0
(c) Copyright 2015 All Rights Reserved RPDU 2g v6.4.0

Name : XXXXXXXXXXXXXXX Date : 04/03/2018
Contact : Unknown Time : 19:35:23
Location : Unknown User : Super User
Up Time : 74 Days 19 Hours 44 Minutes Stat : P+ N4+ N6+ A+

Type ? for command listing
Use tcpip command for IP address(-i), subnet(-s), and gateway(-g)

apc>?

System Commands:

For command help: command ?

? about alarmcount boot bye cd
clrrst console date delete dir dns
email eventlog exit firewall format ftp
help lang lastrst ledblink logzip netstat
ntp ping portspeed prompt pwd quit
radius reboot resetToDef session smtp snmp
snmptrap snmpv3 system tcpip tcpip6 user
userdflt web whoami xferINI xferStatus

Device Commands:

devLowLoad devNearOver devOverLoad devReading devPeakLoad devStartDly
dispID humLow humMin humHyst humReading lcd
lcdBlink olAssignUsr olCancelCmd olDlyOff olDlyOn olDlyReboot
olGroups olName olOff olOffDelay olOn olOnDelay
olRbootTime olReboot olStatus olUnasgnUsr phLowLoad phNearOver
phOverLoad phReading phPeakCurr phRestrictn prodInfo sensorName
tempHigh tempMax tempHyst tempReading userAdd userDelete
userList userPasswd energyWise


Even an "outlet only" user (a reduced set of CLI commands) abandons the numerical menu interface) --

apc>?

System Commands:

For command help: command ?

? about alarmcount bye cd dir
eventlog exit help lang pwd quit
whoami

Device Commands:

olCancelCmd olDlyOff olDlyOn olDlyReboot olName olOff
olOffDelay olOn olOnDelay olRbootTime olReboot olStatus
prodInfo userList

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions