Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

service timestamps

To debug and log messages, add time stamps. This command adds either the uptime or the current time and date with local time zone time difference included or excluded.

Syntax
service timestamps {debug | log} [datetime [localtime] [msec] [show-timezone] [utc] | uptime]

To disable timestamping, use the no service timestamps [debug | log] command.

Parameters
datetime
(OPTIONAL) Enter the keyword datetime to have the current time and date as in local time zone added to the message.
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.
localtime
(OPTIONAL) Enter the keyword localtime to include the local time zone time 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.
utc
(OPTIONAL) Enter the keyword utc to include the UTC time format (ignoring local time zone) in the timestamp.
Defaults
  • datetime [localtime]
  • datetime
Command Modes
CONFIGURATION
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.14(1.5)
Added support for UTC time format.
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
9.0.0.0
Introduced on the Z9000.
8.3.19.0
Introduced on the S4820T.
8.3.12.0
Introduced on the S4810.
8.3.11.1
Introduced on the Z9000.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
E-Series
Original command.
Usage Information

If you do not specify parameters and enter service timestamps, it appears as service timestamps debug datetime in the running-configuration.

To view the current options set for the service timestamps command, use the show running-config command.

From 9.14.1.5 release, the default timestamp display format for the logs is set to local time (service timestamps log datetime localtime) instead of service timestamps log datetime.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\