Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
C is correct. The applet is missing the trigger event configuration. In this case there is no trigger event, so none must be selected. The access list is already configured, the applet only needs to apply it.
event manager applet Block_Users
event none
action 1.0 cli command "enable"
action 2.0 cli command "configure terminal"
action 3.0 cli command "interface GigabitEthernet1"
action 4.0 cli command "ip access-group 101 in"
action 5.0 cli command "ip access-group 101 out"
action 7.0 cli command "end"
The command "Event <triggering_event>" is needed so that the EEM applet can trigger off of something, such as "event syslog" to trigger off of a specific syslog pattern. If you don't want it to trigger, and just be manually run on-demand, use the "event none" command.
In this example, by using "event none" it means this EEM applet will never trigger, but it allows for the applet to be manually run using the "event manager run Block_Users" command in privileged exec mode.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Manvek
Highly Voted 11 months agoa197cbf
Most Recent 11 hours, 13 minutes agoSeMo0o0o
3 weeks, 3 days agoSeMo0o0o
1 month, 1 week agoandyforreg
11 months, 1 week ago