350-401 practice question 35 of 35
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
Full set: 358 questionsDomain Network Assurance
The correct syntax for an Embedded Event Manager (EEM) applet to generate and send a custom syslog message is action
A. action 1 syslog send "OSPF ROUTING ERROR" The keyword send is not a valid parameter for the action syslog command in Cisco IOS EEM. The correct keyword to specify the message content is msg.
B. action 1 syslog pattern "OSPF ROUTING ERROR" The pattern keyword is used within an event detector (e.g., event syslog pattern "...") to trigger an applet based on matching an existing syslog message, not to generate a new one as an action.
C. action 1 syslog write "OSPF ROUTING ERROR" The keyword write is not a valid parameter for the action syslog command. It is not used for generating syslog messages within EEM.
1. Cisco IOS XE Embedded Event Manager Command Reference:
Document: Embedded Event Manager Command Reference
Cisco IOS XE Gibraltar 16.12.x
Section: action syslog
Content: The official command syntax is documented as action label syslog [priority level] [facility string] msg string. This explicitly shows that the msg keyword is required to define the message string. An example provided is action 1.0 syslog msg "Interface $eventpubinterface went down".
2. Cisco IOS Embedded Event Manager Configuration Guide:
Document: Embedded Event Manager Configuration Guide
Cisco IOS XE Cupertino 17.9.x
Section: Writing Embedded Event Manager Policies Using the Cisco IOS CLI > EEM Action CLI Commands
Content: This guide details the various action commands. For action syslog
it confirms the syntax requires the msg argument to specify the message to be logged
reinforcing that other keywords like send
pattern
or write are incorrect for this purpose.
Keep practicing
Take the free 350-401 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 350-401 practice questions
- Question 2What is a characteristic of a virtual machine?
- Question 3Which consideration must be made when using BFD in a network design?
- Question 7Which design principle states that a user has no access by default to any resource, and u…
- Question 10Which protocol does Cisco SD-WAN uso to protect control plane communication?
- Question 12What is used by vManage to interact withCiscoSD-WAN devices in the fabric?
- Question 13Which tool functions in a push model, supports languages like Python or Ruby, and does no…
