then
Syntax
then {event-script filename {arguments {argument-name argument-value;}destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;}output-filename filename;output-format (text | xml);user-name username;}execute-commands {commands {"command";}destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;}output-filename filename;output-format (text | xml);user-name username;}ignore;raise-trap;upload filename (filename | committed) destination destination-name {retry-count count retry-interval seconds;transfer-delay seconds;user-name username;}}
Hierarchy Level
[edit event-options policy policy-name]
Release Information
Statement introduced in Junos OS Release 7.5.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Define actions to take if an event occurs. For each policy, you can configure multiple actions.
The statements are explained separately.
Required Privilege Level
maintenance—To view this
statement in the configuration.
maintenance-control—To
add this statement to the configuration.
