nerdexam
Cisco

350-401 · Question #425

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

The correct answer is A. action 1 syslog msg "OSPF ROUTING ERROR". To send a syslog message from a Cisco EEM applet, the action syslog msg command is the correct syntax.

Submitted by anjalisingh· Mar 6, 2026Automation

Question

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

Options

  • Aaction 1 syslog msg "OSPF ROUTING ERROR"
  • Baction 1 syslog send "OSPF ROUTING ERROR"
  • Caction 1 syslog pattern "OSPF ROUTING ERROR"
  • Daction 1syslog write "OSPF ROUTING ERROR"

How the community answered

(32 responses)
  • A
    75% (24)
  • B
    13% (4)
  • C
    9% (3)
  • D
    3% (1)

Why each option

To send a syslog message from a Cisco EEM applet, the `action syslog msg` command is the correct syntax.

Aaction 1 syslog msg "OSPF ROUTING ERROR"Correct

In Cisco Embedded Event Manager (EEM), the `action syslog msg` command is the correct and standard syntax used to generate and send a custom syslog message containing the specified text string when the EEM applet's event trigger, such as a routing change, is met.

Baction 1 syslog send "OSPF ROUTING ERROR"

`syslog send` is not the correct EEM action keyword for generating a syslog message; the proper keyword to specify the message content is `msg`.

Caction 1 syslog pattern "OSPF ROUTING ERROR"

`syslog pattern` is not an EEM action keyword used for sending a message; the `pattern` keyword is typically used within an event detector to match specific text in a log message, not to generate new ones.

Daction 1syslog write "OSPF ROUTING ERROR"

`syslog write` is not the correct EEM action keyword for generating a syslog message; the appropriate keyword to define the message content is `msg`.

Concept tested: Cisco EEM syslog action configuration

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

Topics

#Cisco EEM#Syslog Messaging#OSPF Event Triggering

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice