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>
...
<commands>
<command prompt="$">ipconfig</command>
</commands>
...
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*