ACE-A1-2 practice question 10 of 25

Which of the following are valid Event Manager triggers?

Full set: 127 questions

Domain Arista EOS

Answer options
A: on-boot Correct answer
B: on-schedule
C: on-startup-config Correct answer
D: on-reload
Correct Answer:
A. on-boot; C. on-startup-config
Explanation

Arista's Event Manager allows automated actions based on specific system events. An event handler script is initiated by a defined trigger. The on-boot trigger executes the handler after the switch boots and the startup configuration is applied. The on-startup-config trigger executes the handler whenever a write memory or copy running-config startup-config command is issued, indicating a change to the startup configuration. These are both explicitly documented and valid trigger conditions within Arista EOS for event handlers.

Why Incorrect

B. on-schedule: While Event Manager supports time-based execution, it is configured using the schedule command with cron syntax, not with an on-schedule trigger keyword.
D. on-reload: There is no specific on-reload trigger. The on-boot trigger encompasses the scenario of a system reload, executing its action after the device has booted up.

References

1. Arista EOS 4.28.0F System Configuration Guide, Section: Event Manager > Configuring an Event Handler. This section details the trigger command and lists the valid event types. It explicitly shows on-boot and on-startup-config as valid options and does not list on-reload.

Reference Snippet: "The trigger command specifies the event that initiates the handler... trigger on-boot... trigger on-startup-config"

2. Arista EOS 4.28.0F System Configuration Guide, Section: Event Manager > Scheduling an Event Handler. This section describes the separate schedule command for time-based execution, confirming that on-schedule is not a trigger type.

Reference Snippet: "The schedule command configures the switch to run the event handler script at specified times."

3. Arista EOS CLI Reference, Command: event-handler . The command reference for event-handler configuration mode lists the available sub-commands, showing trigger and schedule as distinct configuration methods, further clarifying the difference between event-based triggers and time-based schedules.

Scroll to Top