shell
Syntax
shell
Hierarchy Level
[edit system ]
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
In Junos OS Evolved, audit-sh gets displayed
in
the audit shell
prompt
when you enable the feature and perform start shell from CLI
environment. In Junos OS, audit-sh doesn’t get displayed.
Options
A variety of standard syslog options are supported with the shell
logging option. See
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.
Statement introduced in Junos OS Release 23.4R1.