Reference Guide
Control and Monitoring | 49
service timestamps
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.
Use the show running-config command to view the current options set for the service timestamps
command.
show alarms
Displays the active major and minor alarms on the system.
Syntax
show alarms
Command Modes
EXEC
EXEC Privilege
Command
History
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.3.17.0 Supported on M I/O Aggregator
Version 8.3.17.0 Supported on M I/O Aggregator