[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

set cli timestamp

Syntax

set cli timestamp (format timestamp-format | disable)

Release Information

Command introduced before JUNOS Release 7.4.

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:

disable — Remove the timestamp from the CLI.

Required Privilege Level

view

Related Topics

show cli

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'
'04-21-17:39:13'
CLI timestamp set to: '%m-%d-%T'

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]