Gday. Does anyone know how to issue an escape command within a config change template as if the escape key was pressed?
Have tried ascii codes etc. with no luck...
Can't find anything in Orion NCM doco...
Thanks.
Try:
Hello again.
I gave this shot but to no avail.
I see it work when I interactively login to the switch and press the key combination Ctrl+[ however I don't understand how this is meant to work in a config change template deployment as it would result in the same thing as me logging into the switch and typing the characters "Ctrl+[" and then pressing enter (which wouldn't work).
Is a command in that format meant to work in a Config Change Template?
I can see how it would work in a Command Template using a precommand however from what I understand, Config Change Templates cannot use these precommands...
The purpose of the config change template is to generate a sequence of CLI commands that accomplish a specific config task. If you put ASCII for Escape followed by the ASCII for Return in a native CLI command within your template you should get the results of that action when the script executes its series of CLI commands.
What mode on your device does Escape initiate?
Doug