Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 518
An engineer must configure a Cisco MDS 9000 Series Switch to store generated log messages to a file. The file must store logs of the severity of "warning" and above, and the file size must not exceed 20,000 bytes. Which command accomplishes this task?
Answer options
- A. logging logfile LogFile 5 size 2000
- B. logging logfile messages 2 size 2500
- C. logging logfile Local 4 size 20000
- D. logging logfile Logs 3 size 160000
Correct answer: C
Explanation
The correct command is C because it specifies a severity level of 4, which includes 'warning', and sets the file size limit to 20,000 bytes, meeting the requirements. Option A and B set the severity levels too high and have insufficient file sizes, while option D exceeds the file size limit.