O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required