Name
service timestamps — global
Synopsis
service timestamps {log | debug} [uptime] service timestamps {log | debug} datetime [msec] [localtime] [show-timezone] no service timestamps {log | debug}
Configures
Timestamps on log messages
Default
No timestamps
Description
This command forces timestamps on logging or
debugging messages.
uptime
is the default if no options are specified.
-
log
Applies timestamps to logging messages.
-
debug
Applies timestamps to debugging messages.
-
uptime
Optional. The time is calculated since the router was started.
-
datetime
Uses the actual clock time.
-
msec
Optional. Displays the millisecond value in the timestamp.
-
localtime
Optional. Timestamps are relative to the local time zone.
-
show-timezone
Optional. Displays the time zone value in the timestamp.
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.