Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

set cli timestamp

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Description

Set a timestamp for CLI output.

Options

format timestamp-formatSet the date and time format for the timestamp. The timestamp format you specify can include the following placeholders in any order:
  • %m—Two-digit month

  • %d—Two-digit date

  • %T—Six-digit hour, minute, and seconds

disableRemove the timestamp from the CLI.
Note

A timestamp is displayed by default when no command output is generated.

Required Privilege Level

view

List of Sample Output

set cli timestamp

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

set cli timestamp

user@host> set cli timestamp format '%m-%d-%T'