shell
Syntax
shell
Hierarchy Level
[edit system syslog]
Description
Configure the logging of commands executed from the shell.
Additional Information
To log command executed from the shell configure shell logging by including thesystem syslog shell
statement at the [edit] hierarchy.[edit] user@host# set system syslog shell
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.