[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.

Sample Output


user@host> set cli timestamp format '%m-%d-%T'
'04-21-17:39:13'
CLI timestamp set to: '%m-%d-%T'

Options

format timestamp-format—Set the data and time format for the timestamp. The timestamp format you specify can include the following placeholders in any order:

Enclose the format in single quotation marks ( ). Do not use spaces. Use a hyphen ( - ) or similar character to separate placeholders.

disable—Remove the timestamp from the CLI.

Usage Guidelines

See Setting the CLI Timestamp.

Required Privilege Level

view


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