This one is tricky. Please, pay attention to the wordings.
With the command “show ip arp | in 0005.4278.9866”, the “ARPR” text is only found if this MAC address has been learned in the router.
Answer A is not correct as the syslog message is only generated if the specific MAC address is found (not every 600 seconds).
It's D. The ARP table is checked every 600 seconds, but the syslog message is generated only if the specific MAC address is found, it's not generated every 600 seconds. If the MAC isn't found, no syslog message is generated.
if $_regexp_result eq 1 <-- if the MAC is found...
syslog msg $_cli_result <-- ...then generate a syslog entry, otherwise do nothing
The following example shows how to specify that an event is triggered every 5 hours:
Router(config)# event manager applet timer-watch
Router(config-applet)# event timer watchdog time 18000
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-e2.html
D is more accurate as it describes the regular checking behavior without implying that a syslog message is always generated.
A is incorrect because the applet will only send a syslog message if the specified MAC address is found in the ARP table, not every 600 sec.
If the MAC address is not present in the ARP table, the syslog message will not be generated, but the applet will continue to check every 600 seconds.
The EEM applet checks the ARP table every 10 minutes for a specific MAC address. If an ARP entry is found for that MAC address, it logs the entire line containing that ARP entry to the syslog server. This could be used for monitoring when a specific device (identified by its MAC address) is active on the network and logging its IP address assignments over time.
It's A
Read Engish.
It generates a syslog message.
None of the other answers say that. and action 7 generates a syslog message.
I tested this in my lab.
D does NOT check a mac address table, it checks the arp table.
The correct answers are A and D.
This question should have a (choose two) options answer. They must have forgotten to say, "choose two".
The EEM script does A and D.
A. It DOESN'T generate a syslog message every 600 seconds - if only MAC exists
B. it DOESN'T It compare syslog output- it compares cli output
C. It DOESN'T compare syslog output - it compares cli output
D. It DOESN'T check the MAC address table - it checks ARP
Poorly described ansers :( None is correct. It does not *generete every 600 seconds*, it *checks every 600 seconds* if the MAC address is present in ARP table, and *IF* it is present, generates syslog.
https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-xe-16/216091-best-practices-and-useful-scripts-for-ee.html
Useful EEM Scripts -> Track Specific MAC Address for MAC Address Learn
THe most probable answer is A:
B and C-> Seems there si no such a syslog output to compare with.
D - > The check is made in the arp table, not in the mac address-table
Answer A seems plausible but it says a syslog message is generated every 600 seconds, reporting the status (exists or not) of the MAC address.
But that's not what the script is doing. A syslog message is generated ONLY if the MAC address is found.'
I agree with those pointing out that answers B-D are addressing the MAC table, which isn't quite right. It is the ARP table that is checked.
But that's Cisco for you. Best fit if you overlook table terminology is answer D.
Plus answers B and C assume the script is checking syslog messages. It doesn't CHECK syslog messages, it GENERATES a syslog message IF.
And the IF check is done every 600 seconds.
Tested in GNS3
syslog message is generated only if the specific MAC address is found, it's not generated every 600 seconds. If the MAC isn't found, no syslog message is generated.
They are not. This question wants to check our knowledge of the use of the IF statement in EEM applets. Answer A is wrong because Action 7.0 will run only *IF* Action 6.0 returns 1. The answer is D.
B and C are obviously wrong.
D seems correct at first glance, but the EEM is reading the ARP table, not the MAC address table
A is the only valid answer.
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.
TroyMcLure
Highly Voted 1 year, 11 months agoBurik
Highly Voted 1 year, 11 months agoAbdullahMohammad251
Most Recent 8 months, 2 weeks agoZendahr
10 months, 2 weeks ago[Removed]
12 months agosupershysherlock
1 year, 2 months agomgiuseppe86
1 year, 8 months agogorillaenhanced
1 year, 3 months agoChuckzero
1 year, 9 months agoAsombrosso
1 year, 9 months agoartemiwwe
1 year, 10 months agoDv123456
1 year, 10 months agorogue_user
1 year, 10 months agodanman32
1 year, 11 months agodanman32
1 year, 11 months agoCKL_SG
1 year, 11 months agoEntivo
1 year, 11 months agoSplashisthegreatestmovie
1 year, 12 months agoBurik
1 year, 11 months agoJackDRipper
2 years, 2 months agoBurik
1 year, 11 months ago