Which example creates an Embedded Event Manager policy allowing the CLI command to execute,
and triggers an SNMP notification when a user enters configuration mode?
Get 50% Discount on All Your Purchases
at PrepAway.com - Latest Exam Questions
This is ONE TIME OFFER
50%
Actually none of answers are right. The “keyword” in the “event cli” line is not “match” but “pattern”.
event manager applet test_cli1
event cli pattern “config” sync yes
action 1.0 syslog msg “Config command is entered”
end
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-e1.html
0
0
I found this URL reference when searching for the “match” command.
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/5_x/nx-os/system_management/configuration/guide/sm_nx_os_cg/sm_12eem.html
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 5.x
Note If you want to allow the triggered event to process any default actions, you must configure the EEM policy to allow the default action. For example, if you match a CLI command in a match statement, you must add the event-default action statement to the EEM policy or EEM will not allow the CLI command to execute.
This example creates an EEM policy that allows the CLI command to execute but triggers an SNMP notification when a user enters configuration mode on the device:
event manager applet TEST
event cli match “conf t”
action 1.0 snmp-trap strdata “Configuration change”
action 2.0 event-default
0
0
What’s more, part of the new 174Q 300-165 dumps are available here:
https://drive.google.com/open?id=0B-ob6L_QjGLpMVRmUUJZRWU3cU0
Best Regards!
0
0
And, new 195Q CCNP DCII 300-165 dumps FYI:
https://drive.google.com/open?id=0B-ob6L_QjGLpMVRmUUJZRWU3cU0
Best Regards!
0
0