Command attribute for specifying a prompt
The prompt
attribute specifies the prompt to use after executing a command specified in the <command>
element.
The following adapters support the prompt
attribute in adapter requests:
- SSH
- Kerberized SSH (KSSH1 and KSSH2)
- Telnet
- Command Line (and Session-based CLI)
In the XML sample shown in the following figure, the prompt after executing the command will be "$".
XML sample of a command attribute for specifying a prompt
...
<commands>
<command prompt="$">ipconfig</command>
</commands>
...
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.