Last Updated on August 1, 2021 by Admin 1
You just received the following system message.*Mar 1 18:46:11:553 %SYS-5-CONFIG_I: Configured from console by vty2 (10.34.195.36)
With this message in mind, which of the following commands were executed on the device? (Choose all that apply.)
- logging console level notifications
- logging console level 4
- service timestamps log datetime msec
- service timestamps log datetime
The two commands that must have been executed to produce output in that format are logging console level notifications and service timestamps log datetime msec.
The logging console level notifications command species that all messages at level 5 (notifications and above) will be sent to the console. This is not entered by the number of the message type, but the name of the message type.
The service timestamps log datetime msec command specifies that a timestamp up to the millisecond should be included in all messages that include the time.
While the logging console level command can be used with a level number on some devices, notifications are level 5, not 4.
The service timestamps log datetime command specifies that a timestamp should be included in all messages, but it will not include the millisecond. Better logging functionality can be achieved by using the msec keyword to help organize tightly spaced events.
The logging history command can specify the proper level of messages to reduce unnecessary messages.
Configure and verify logging