<postamble_task> - Postamble Task Definition
<postamble_task> tag can be used in two places.
Firstly, under the
<proxy_parameters> tag it can be used to define commands that are run after a connection to a device to run a system task has ended but before the connection is dropped.
This is often used to do a final 'save config' before exit type of command.
<postamble_task> tag can be used under
<proxy_parameters> tag to define commands that are to be run before the connection from a user has ended.
Again this is often used to do a final 'save config' before exit type of command.
The tag has the following attributes:
- Name (str) : This is the internal name of the task. This for legacy reasons the name of the task is
<postamble_task> tag contains a single
<commands> tag, which can then contain multiple
Any operation that can be done in a user task can be done in a postamble task.
Example: Config Save
This example saves the config on the device.
I can be used at the end of a
<access> or a
<proxy_parameters> tag, so can be used for both the ending of system tasks or user tasks:
1 2 3 4 5 6 7 8