Service Timestamp

In this article we will discuss Service Timestamp, will make brief discussion on Service Timestamp, In last article we discuss about Syslog Message Format.

By default, log messages are not timestamped. For example, in the figure, the R1 GigabitEthernet 0/0 interface is shutdown. The message logged to the console does not identify when the interface state was changed.

Log messages should be timestamped so that when they are sent to another destination, such as a Syslog server, there is record of when the message was generated.

Use the command service timestamps log datetime to force logged events to display the date and time. When the R1 GigabitEthernet 0/0 interface is reactivated, the log messages now contain the date and time.

When using the datetime keyword, the clock on the networking device must be set, either manually or through NTP, as previously discussed.

Add a Comment

Your email address will not be published. Required fields are marked *