EasyManua.ls Logo

Cisco ASR 9000 Serie

Cisco ASR 9000 Serie
378 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
Loading...
SUMMARY STEPS
1.
configure
2.
Do one of the following:
service timestamps log datetime [localtime] [msec] [show-timezone]
service timestamps log uptime
3.
Do one of the following:
service timestamps debug datetime [localtime] [msec] [show-timezone]
service timestamps debug uptime
4.
commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Modifies the time-stamp format for syslog messages.Do one of the following:
Step 2
service timestamps log datetime
[localtime] [msec] [show-timezone]
By default, time stamps are enabled. The default time-stamp format is
month day HH:MM:SS.
Issuing the service timestamps log datetime command configures
syslog messages to be time-stamped with the date and time.
service timestamps log uptime
Example:
RP/0/RSP0/CPU0:router(config)# service
The optional localtime keyword includes the local time zone in
time stamps.
The optional msec keyword includes milliseconds in time stamps.
timestamps log datetime localtime
msec
The optional show-timezone keyword includes time zone
information in time stamps.
or
RP/0/RSP0/CPU0:router(config)# service
timestamps log uptime
Issuing the service timestamps log uptime command configures syslog
messages to be time-stamped with the time that has elapsed since the
router last rebooted.
The service timestamps log uptime command configures
time-stamps to be configured in HHHH:MM:SS, indicating the
time since the router last rebooted.
Modifies the time-stamp format for debugging messages.Do one of the following:
Step 3
service timestamps debug datetime
[localtime] [msec] [show-timezone]
By default, time-stamps are enabled. The default time stamp format is
month day HH:MM:SS.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
300
Implementing Logging Services
Modifying the Format of Time Stamps

Table of Contents

Related product manuals