set cli timestamp
Syntax
set cli timestamp (format timestamp-format | disable)
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-format
Set 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
- disable
Remove the timestamp from the CLI.
Required Privilege Level
view
Related Topics
List of Sample Output
set cli timestampOutput 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''04-21-17:39:13' CLI timestamp set to: '%m-%d-%T'
