Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

shell

Syntax

Hierarchy Level

Description

Configure the logging of commands executed from the shell.

Additional Information

To log command executed from the shell configure shell logging by including the system syslog shell statement at the [edit] hierarchy.By default log entries are written to the messages log file.
Note:

In Junos OS Evolved, audit-sh prompt gets displayed when you enable the feature and perform start shell from CLI environment. In Junos OS, audit-sh doesn’t get displayed.

Note:

In Junos OS Evolved, audit-sh gets displayed in the audit shell prompt when you enable the feature.

Options

A variety of standard syslog options are supported with the shell logging option. See syslog (System) for details.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 23.1R1.