nerdexam
CiscoCisco

350-601 · Question #522

350-601 Question #522: Real Exam Question with Answer & Explanation

The correct answer is C: logging logfile Local 4 size 20000. To configure a Cisco MDS 9000 Series Switch to store log messages of "warning" severity (level 4) and above to a file named "Local" with a maximum size of 20,000 bytes, the command logging logfile Local 4 size 20000 is used.

Storage Network

Question

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?

Options

  • Alogging logfile LogFile 5 size 2000
  • Blogging logfile messages 2 size 2500
  • Clogging logfile Local 4 size 20000
  • Dlogging logfile Logs 3 size 160000

Explanation

To configure a Cisco MDS 9000 Series Switch to store log messages of "warning" severity (level 4) and above to a file named "Local" with a maximum size of 20,000 bytes, the command logging logfile Local 4 size 20000 is used.

Common mistakes.

  • A. This command uses severity level 5 (notification), which is below "warning", and sets the size to 2,000 bytes, which is less than the required 20,000 bytes.
  • B. This command uses severity level 2 (critical), which is higher than "warning", and sets the size to 2,500 bytes, which is less than the required 20,000 bytes.
  • D. This command uses severity level 3 (error), which is higher than "warning", and sets the size to 160,000 bytes, which exceeds the required 20,000 bytes.

Concept tested. Cisco MDS logging to file and severity levels

Reference. https://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/6_2/configuration/guides/system_mgmt/nxos/cli_nfc_6_2_1/logging.html

Topics

#MDS Logging#NX-OS Configuration#Syslog Severity#File Logging

Community Discussion

No community discussion yet for this question.

Full 350-601 PracticeBrowse All 350-601 Questions