Which method creates an EEM applet policy that is registered with EEM and runs on demand or manually?

Which method creates an EEM applet policy that is registered with EEM and runs on demand or manually?
A . event manager applet ondemand
event register
action 1.0 syslog priority critical msg ‘This is a message from ondemand’
B. event manager applet ondemand
event manual
action 1.0 syslog priority critical msg ‘This is a message from ondemand’
C. event manager applet ondemand
event none
action 1.0 syslog priority critical msg ‘This is a message from ondemand’
D. event manager applet ondemand
action 1.0 syslog priority critical msg ‘This is a message from ondemand’

Answer: C

Explanation:

An EEM policy is an entity that defines an event and the actions to be taken when that event occurs. There are two types of EEM policies: an applet or a script. An applet is a simple form of policy that is defined within the CLI configuration. answer ‘event manager applet ondemand event register action 1.0 syslog priority critical msg ‘This is a message from ondemand’ <="" p="" style="box-sizing: border-box;">

There are two ways to manually run an EEM policy. EEM usually schedules and runs policies on the basis of an event specification that is contained within the policy itself. The event none command allows EEM to identify an EEM policy that can be manually triggered. To run the policy, use either the action policy command in applet configuration mode or the event manager run command in privileged EXEC mode.

Reference: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/configuration/xe-3s/eem-xe-3s-book/eem-policy-cli.html

Latest 350-401 Dumps Valid Version with 404 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments