exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 371 discussion

Actual exam question from Cisco's 350-401
Question #: 371
Topic #: 1
[All 350-401 Questions]

DRAG DROP -
Drag and drop the snippets onto the blanks within the code to construct a script that shows all logging that occurred on the appliance from Sunday until 9:00 p.m.
Thursday. Not all options are used.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Caradum
Highly Voted 1 year, 11 months ago
Answer is wrong. Correct answer, tested it on my 3650 switch: event timer cron name Logging cron-entry "0 21 * * 0-4" action 2.0 cli command "enable" action 3.0 cli command "show logging | redirect ftp://cisco:[email protected] If you need to learn cron, check this site: https://crontab.guru 0 21 * * 0-4 translates to: 'At 21:00 on every day-of-week from Sunday through Thursday.'
upvoted 73 times
LanreDipeolu
1 year, 2 months ago
This is the most valuable comment, I have come across. Thanks. The site is very demystifying.
upvoted 3 times
...
...
siteoforigin
Highly Voted 2 years, 1 month ago
Cron entry should be 0 21 * * 0-4. Cron entry day starts with 0 (being Sunday) Search for CRON here: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-e2.html
upvoted 16 times
x3rox
1 year, 9 months ago
Thank you. Excellent resource mate. 0 = min 21 = hour * = any day * = any month 0-4 = Sunday till Thursday. ( not including Thursday - Sun 0, Mon 1, Tue 2, wed 3 then stop at Thursday 0).
upvoted 6 times
...
shubhambala
2 years, 1 month ago
spot on!
upvoted 2 times
...
...
[Removed]
Most Recent 5 months, 1 week ago
given answers are incorrect event timer cron name Logging cron-entry (("0 21 * * 0-4")) action 2.0 cli command "enable" action ((3.0)) cli command "show logging | ((redirect ftp://cisco:[email protected]")) Sunday = 0 Thursday = 4
upvoted 2 times
...
Manicardi
9 months, 3 weeks ago
Please correct these answers
upvoted 1 times
...
HarwinderSekhon
1 year, 4 months ago
EngSwitch#show logging | redirect ? flash1: Uniform Resource Locator flash: Uniform Resource Locator fstage: Uniform Resource Locator ftp: Uniform Resource Locator http: Uniform Resource Locator https: Uniform Resource Locator nvram: Uniform Resource Locator rcp: Uniform Resource Locator scp: Uniform Resource Locator tftp: Uniform Resource Locator Ans is event timer cron name Logging cron-entry "0 21 * * 0-4" action 2.0 cli command "enable" action 3.0 cli command "show logging | redirect ftp://cisco:[email protected]
upvoted 2 times
...
MO_2022
1 year, 10 months ago
Answer: 1 – 0 21 * * 0-4 2 – 3.0 3 – redirect ftp://cisco:[email protected]
upvoted 6 times
...
Typovy
1 year, 12 months ago
Sunday is represented either by 0 and 1 so 0-4 is valid. When using 'pipe' '|' u have to specify what you want for example "include" or "redirect"
upvoted 1 times
...
network_gig
2 years ago
Tested it on my switch, valid script is: event timer cron name Logging cron-entry "0 21 * * 0-4" action 2.0 cli command "enable" action 3.0 cli command "show logging | ftp://cisco:[email protected]
upvoted 3 times
iGlitch
2 years ago
You should've included "redirect" before ftp
upvoted 1 times
...
...
dougj
2 years ago
Sunday is day 0 in CRON
upvoted 1 times
...
Titini
2 years, 1 month ago
0 21 * *1-5, 3.0, sh logg | redirect tftp:xxxxxx
upvoted 3 times
...
Caledonia
2 years, 1 month ago
I am afraid the provided answer is not completely correct . action 3.0 is correct. after the 'cron entry' it should be 0 21 ** 1-5 and show logging | ftp://
upvoted 2 times
...
Deu_Inder
2 years, 2 months ago
I am afraid the provided answer is not completely correct . action 3.0 is correct. after the 'cron entry' it should be 0 21 ** 1-5 and show logging | redirect ftp://
upvoted 5 times
mgiuseppe86
1 year, 1 month ago
Start of the week is sunday, 0, saturday is 7. 0 through 4 is sunday to thursday
upvoted 1 times
...
bullett00th
1 year, 7 months ago
0 21 * * 1-5 is not correct as this means Monday till Friday 0 21 * * 0-4 is Sunday till Thursday
upvoted 1 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago