Navigation
Supported Platforms
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- Example: Configuring an Event Policy to Upload Files
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring an Event Policy to Execute Operational Mode Commands
- Executing Event Scripts in an Event Policy
- Configuring Event Policies to Ignore an Event
- Example: Configuring Event Policies to Raise SNMP Traps
then
Syntax
then {change-configuration {commands {"command";}commit-options {check <synchronize>;force;log "comment-string";synchronize;}retry count number interval seconds;user-name username;}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;priority-override {facility facility-type;severity severity-level;}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.
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- Example: Configuring an Event Policy to Upload Files
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring an Event Policy to Execute Operational Mode Commands
- Executing Event Scripts in an Event Policy
- Configuring Event Policies to Ignore an Event
- Example: Configuring Event Policies to Raise SNMP Traps
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, M, MX, SRX, T Series
- Example: Configuring an Event Policy to Upload Files
- ACX, EX, M, MX, PTX, SRX, T Series
- Configuring an Event Policy to Execute Operational Mode Commands
- Executing Event Scripts in an Event Policy
- Configuring Event Policies to Ignore an Event
- Example: Configuring Event Policies to Raise SNMP Traps