Implementing and Operating Cisco Data Center Core Technologies (DCCOR) — Question 179
A network engineer needs to configure system logging on the Cisco MDS Series switch. The messages must be displayed with the severity level of `warning` and above. For security reasons, the users must be logged out of the console after 5 minutes of inactivity. Which configuration must be applied to meet these requirements?
Answer options
- A. MDS-A(config)# logging console 5 MDS-A(config-console)# exec-timeout 300
- B. MDS-A(config)# line console MDS-A(config-console)# speed 38400 MDS-A(config-console)# exec-timeout 5 MDS-A(config)# logging console 4
- C. MDS-A(config)# logging line 4 MDS-A(config-console)# session-limit 300
- D. MDS-A(config)# console MDS-A(config-console)# speed 38400 MDS-A(config-console)# session-limit 5 MDS-A(config)# logging console 5
Correct answer: B
Explanation
The correct answer is B because it sets the console logging level to show messages with severity 'warning' (level 4) and configures the exec-timeout to 5 minutes, which meets the requirement for logging users out after inactivity. Option A does not set the logging level correctly, and options C and D do not configure the exec-timeout correctly for user inactivity.