EasyManuals Logo

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 #354 background imageLoading...
Page #354 background image
Usage Guidelines
Time stamps can be added to either debugging or syslog messages independently. The uptime keyword adds
time stamps in the format hhhh:mm:ss, indicating the elapsed time in hours:minutes:seconds since the
networking device last rebooted. The datetime keyword adds time stamps in the format mmm dd hh:mm:ss,
indicating the date and time according to the system clock. If the system clock has not been set, the date and
time are preceded by an asterisk (*), which indicates that the date and time have not been set and should be
verified.
The no form of the service timestamps command causes messages to be time-stamped in the default format.
Entering the service timestamps form of this command without any keywords or arguments is equivalent to
issuing the service timestamps debug uptime form of this command.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to enable time stamps on debugging messages, which show the elapsed time since
the networking device last rebooted:
RP/0/0/CPU0:router(config)# service timestamps debug uptime
This example shows how to enable time stamps on syslog messages, which show the current time and date
relative to the local time zone, with the time zone name included:
RP/0/0/CPU0:router(config)# service timestamps log datetime localtime show-timezone
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
342 OL-24735-01
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