commands (Event Policy Change Configuration)
Syntax
commands { "command"; }
Hierarchy Level
[edit event-options policy policy-name then change-configuration]
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
command | Configuration mode command to be executed. Enclose each command
in quotation marks ( The following configuration mode commands are supported:
|
Required Privilege Level
maintenance—To view or add this statement in the configuration.
Release Information
Statement introduced in Junos OS Release 12.1.