Deployment Guide

Control and Monitoring | 111
Defaults
No default behavior or values
Command Modes
EXEC
Command
History
Usage
Information
Messages can contain an unlimited number of lines, however each line is limited to 255 characters. To
move to the next line, use the <CR>. To send the message use CTR-Z, to abort a message use CTR-C.
service timestamps
c e s
Add time stamps to debug and log messages. This command adds either the uptime or the current time
and date.
Syntax
service timestamps [debug | log] [datetime [localtime] [msec] [show-timezone] | uptime]
Parameters
Defaults
Not configured.
Command Modes
CONFIGURATION
Command
History
Usage
Information
If you do not specify parameters and enter service timestamps, it appears as service timestamps
debug uptime in the running-configuration.
console Enter the keyword console to send a message to the Primary terminal line.
vty Enter the keyword vty to send a message to the Virtual terminal
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 6.5.1.0 Introduced on E-Series
debug (OPTIONAL) Enter the keyword debug to add timestamps to debug messages.
log (OPTIONAL) Enter the keyword log to add timestamps to log messages with
severity 0 to 6.
datetime (OPTIONAL) Enter the keyword datetime to have the current time and date added
to the message.
localtime (OPTIONAL) Enter the keyword localtime to include the localtime in the
timestamp.
msec (OPTIONAL) Enter the keyword msec to include milliseconds in the timestamp.
show-timezone (OPTIONAL) Enter the keyword show-timezone to include the time zone
information in the timestamp.
uptime (OPTIONAL) Enter the keyword uptime to have the timestamp based on time
elapsed since system reboot.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
E-Series original Command