Appendices : Device Configuration : Additional uses for custom Expect scripts

Additional uses for custom Expect scripts
Table D.2 lists some of the purposes for which an administrator might want to create a custom Expect script.
Change the device access method from telnet to ssh, or to some other program.
Administrators would probably want to change the device access method if devices must be connected to the public ports on the OnBoard appliance, because Telnet is not encrypted. See How Configuration Changes Are Handled. In addition, see the notes in the following files in the /libexec/onboard directory:
Add functionality to a devconsole-type script to access additional features available through a device’s console, such as logging in and reporting on the event log, sensors, or performing power functions.
If the device console supports additional management features, commands for the supported commands can be added and the default devconsole script can be updated with commands that use the supported command interfaces.
Custom scripts can also be deployed for the following purposes: