/
Action-Prompt

Action-Prompt

Used In: Action sections

Status: Optional

Use the Action-Prompt attribute to override the device prompt when the command(s) executed in the Action-Commands attribute change the prompt on the device.


Note: The default CCS scripting engine works for many of the cases.


Example

Action:   show run 1

Action-Commands:

sh run
Action:Create ACL

#here we need the 3 prompt to handle the 3 cases including exit
Action-Prompt: /(DEVrtr01(config-ext-nacl)#)|(DEVrtr01(config)#)|(DEVrtr01#)/

Action-Commands:

conf t

ip access-list extended test2

exit

Related content