Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

commands (Event Policy Change Configuration)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.1.

Statement introduced in Junos OS Release 13.2X51-D10 for QFX Series switches.

Description

Specify the configuration mode commands to execute when the corresponding event policy is triggered.

When the event policy is triggered upon receipt of the specified event or events, the event process (eventd) invokes the configured commands to update the candidate configuration, which is then committed, provided that no commit errors occur. The eventd process executes the configuration commands in the order in which they appear in the event policy configuration.

Options

commandConfiguration mode command to be executed. Enclose each command in quotation marks (" "), and specify the complete statement path to the element, identifier, or value as you do in configuration mode when issuing commands at the [edit] hierarchy level.

The following configuration mode commands are supported:

  • activate

  • deactivate

  • delete

  • set

Required Privilege Level

maintenance—To view this statement in the configuration.

maintenance-control—To add this statement to the configuration.