Commands - Dell PowerConnect J-EX4200-24T Software Manual

J series; j-ex series
Table of Contents

Advertisement

commands

Syntax
Hierarchy Level
Release Information
Description
Options
Required Privilege
Level
Related
Documentation
commands {
"command";
}
[edit event-options policy policy-name then execute-commands]
Statement introduced before Junos OS Release 10.2 for J-EX Series switches.
Specify an operational mode command to be issued on receipt of an event.
—Command to be issued. Enclose each command in quotation marks (
command
The event process (eventd) issues the commands in the order in which they appear
in the configuration.
You can include variables in commands. The eventd process replaces each variable with
values contained in the event that triggers the policy. You can use command variables
of the following forms:
—The double dollar sign (
{$$.attribute-name}
is triggering a policy. When combined with an attribute name, the command variable
is replaced by the value of the attribute name of the triggering event.
{$event.attribute-name}
represents the most recent event that matches the specified event. The variable is
replaced by the value of the attribute name of the most recent event that matches
.
event
—The dollar sign with the asterisk (
{$* .attribute-name}
most recent event that matches any of the correlating events. The variable is replaced
by the value of the attribute name of the most recent event that matches any of the
events specified in the policy configuration.
maintenance—To view this statement in the configuration.
maintenance-control—To add this statement to the configuration.
Configuring an Event Policy to Execute Operational Mode Commands
Representing the Correlating Event in an Event Policy
Chapter 41: Configuration Statements for System Monitoring
) notation represents the event that
$$
—The dollar sign with the event name (
" "
) notation
$event
) notation represents the
$*
).
563

Advertisement

Table of Contents
loading

Table of Contents