EasyManuals Logo
Home>Cisco>Network Router>XR 1200 series

Cisco XR 1200 series User Manual

Cisco XR 1200 series
432 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #353 background imageLoading...
Page #353 background image
service timestamps
To modify the time-stamp format for system logging (syslog) and debug messages, use the service timestamps
command in global configuration mode. To revert to the default timestamp format, use the no form of this
command.
service timestamps [[debug| log] {datetime [localtime] [msec] [show-timezone] | disable| uptime}]
no service timestamps [[debug| log] {datetime [localtime] [msec] [show-timezone] | disable| uptime}]
Syntax Description
(Optional) Specifies the time-stamp format for debugging messages.debug
(Optional) Specifies the time-stamp format for syslog messages.log
(Optional) Specifies that syslog messages are time-stamped with date and time.datetime
(Optional) When used with the datetime keyword, includes the local time zone
in time stamps.
localtime
(Optional) When used with the datetime keyword, includes milliseconds in the
time stamp.
msec
(Optional) When used with the datetime keyword, includes time zone information
in the time stamp.
show-timezone
(Optional) Causes messages to be time-stamped in the default format.disable
(Optional) Specifies that syslog messages are time-stamped with the time that has
elapsed since the networking device last rebooted.
uptime
Command Default
Messages are time-stamped in the month day hh:mm:ss by default.
The default for the service timestamps debug datetime and service timestamps log datetime forms of the
command with no additional keywords is to format the time in Coordinated Universal Time (UTC) without
milliseconds and time zone information.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 3.2
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 341
Logging Services Commands
service timestamps

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco XR 1200 series and is the answer not in the manual?

Cisco XR 1200 series Specifications

General IconGeneral
BrandCisco
ModelXR 1200 series
CategoryNetwork Router
LanguageEnglish

Related product manuals