Defaults
none
Command
Modes
EXEC
Command
History
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
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
<CR>
. To send the message use
CTR-Z
; to abort a message, use
CTR-C
.
service timestamps
To debug and log messages, add time stamps. This command adds either the uptime or the current time
and date.
Syntax
service timestamps [debug | log] [datetime [localtime] [msec]
[show-timezone] | uptime]
Parameters
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 from 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.
Defaults
Not configured.
Command
Modes
CONFIGURATION
Command
History
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
If you do not specify parameters and enter
service timestamps
, it appears as
service timestamps debug uptime
in the running-configuration.
Control and Monitoring
99