Syntax
event_completion status ?
Arguments
(Mandatory) Exit status (return_code) of this event
instance. A value of zero indicates no error and any
other integer value indicates an error.
status
Result String
None
Set _cerrno
No
event_completion_with_wait
The
event_completion_with_wait
command combines the two commands
event_completion
and
event_wait
into a single command for ease of use.
The
event_completion
command sends a notification to the EEM server that the policy is done servicing the
event that triggered it. The event only takes a single argument which is the
return_code
of this event instance.
The
event_wait
places the Tcl policy into a sleep state. When the Tcl policy receives a new signal announcing
a new event, the policy is placed into a wake state and again returns to a sleep state. This loop continues. If
event_wait
policy is invoked before
event_completed
policy, an error results and the policy exits.
Syntax
event_completion_with_wait status ? [refresh_vars]
Arguments
(Mandatory) exit_status (return_code) of this event
instance. A value of zero indicates no error. Any other
integer value indicates an error.
status
(Optional) Indicates whether built-in and environment
variables should be updated (refreshed) from the EEM
Policy Director during this event instance.
refresh_vars
Result String
None
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1978
event_completion_with_wait
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......