Exam 350-401 All QuestionsBrowse all questions from this exam
Question 344

An engineer must create an EEM applet that sends a syslog message in the event a change happens in the network due to trouble with an OSPF process. Which action should the engineer use? event manager applet LogMessage event routing network 172.30.197.0/24 type all

    Correct Answer: A

    The correct action for sending a syslog message in an EEM applet is to use the syntax 'action 1 syslog msg <message>'. In the context of the provided question, this would mean using 'action 1 syslog msg OSPF ROUTING ERROR' to send the appropriate syslog message when an OSPF process encounters trouble. Other options such as 'pattern', 'send', or 'write' are not supported syntax for this specific action.

Discussion
Deu_InderOption: A

A is correct. See below. Only these keywords are available: Router1(config-applet)#action 1 syslog ? facility Facility string filter Filter destination of syslog message msg Syslog message priority Priority of syslog message

PALURDINOption: A

correct answer A

ibogovicOption: A

you need to specify the action to be taken. In this case, the desired action is to send a syslog message. The correct syntax for sending a syslog message is: action 1 syslog msg <message> Therefore, the correct command to use in this scenario would be: action 1 syslog msg OSPF ROUTING ERROR

nushaduOption: A

! event manager applet LogMessage event routing network 2.2.2.2/32 type all action 1.0 syslog msg "BGP route has been changed" ! cisco_R5#show ip route 2.2.2.2 Routing entry for 2.2.2.2/32 Known via "bgp 5", distance 20, metric 0 Tag 3, type external Last update from 192.168.255.22 00:21:19 ago Routing Descriptor Blocks: * 192.168.255.22, from 192.168.255.3, 00:21:19 ago ... cisco_R5#clear ip bgp 3 cisco_R5# *Dec 20 18:58:12.733: %BGP-3-NOTIFICATION: sent to neighbor 192.168.255.3 6/4 (Administrative Reset) 0 bytes *Dec 20 18:58:12.738: %BGP-5-ADJCHANGE: neighbor 192.168.255.3 Down User reset *Dec 20 18:58:12.738: %BGP_SESSION-5-ADJCHANGE: neighbor 192.168.255.3 IPv4 Unicast topology base removed from session User reset cisco_R5# *Dec 20 18:58:12.739: %HA_EM-6-LOG: LogMessage: BGP route has been changed *Dec 20 18:58:13.419: %BGP-5-ADJCHANGE: neighbor 192.168.255.3 Up cisco_R5# *Dec 20 18:58:13.430: %HA_EM-6-LOG: LogMessage: BGP route has been changed cisco_R5#

diegodavid82Option: A

The provided answer is correct. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-a2.html

dougj

The link provided takes you to the action cmd and only shows the msg option - Answer is A and not provided answer!!

teems5ukOption: A

A. action 1 syslog msg 'OSPF ROUTING ERROR'

danman32Option: B

syslog pattern is an event you'd be looking for to trigger applying the actions, NOT the actions themselves So C is clearly wrong

mrtattooOption: A

clearly A.

rafaelinho88Option: A

The engineer should use the following action in the EEM applet: event manager applet LogMessage event routing ospf state change action 1.0 syslog msg "OSPF process changed in network due to trouble" This applet will trigger a syslog message whenever a change happens in the OSPF process in the network. The "event routing ospf state change" command will trigger the applet when a change occurs in the OSPF process, and the "action 1.0 syslog msg" will send a syslog message with the specified text.

Mohaned990_goOption: A

A is correct

SeMo0o0oOption: A

A is correct

Swiz005Option: C

According to this source, the answer should be C since we're looking for change in the network Link https://learningnetwork.cisco.com/s/article/understanding-cisco-eem-by-examples-part-1

ittadiOption: A

Provided answer is correct

[Removed]Option: B

I really think it's pattern. check out the dock. We're not looking for an exact message, we are looking for this pattern with the extra information.

nopenotme123

A is the only option available for the command. Just verified on our devices.