Expert Mode
|
Important:
|
Overview
The default Gaia shell is called clish
.
Gaia Clish The name of the default command line shell in Check Point Gaia operating system. This is a restricted shell (role-based administration controls the number of commands available in the shell). is a restrictive shell (role-based administration controls the number of commands available in the shell).
While the use of Gaia Clish is encouraged for security reasons, Gaia Clish does not give access to low level system functions.
For low-level configuration, use the more permissive Expert mode shell.
In addition, see sk144112 - Dynamic CLI: Enhancing Gaia Clish with new "Expert" mode commands.
Moving Between Shells
-
To go from Gaia Clish to the Expert shell, run in Gaia Clish:
expert
-
To exit from the Expert shell and go back to Gaia Clish, run in the Expert mode:
exit
Notes
-
There is no default password for the Expert mode. You must configure a password for the Expert mode before you can use it.
For instructions to configure the Expert mode password, see System Passwords.
-
If a command is supported in Gaia Clish, it is not supported to run the corresponding command in the Expert mode.
For example, to work with interfaces, Gaia Clish provides the commands "
show interface
" and "set interface
".Therefore, it is not supported to run the "
ifconfig
" command in the Expert mode. -
The Expert mode does not provide more privileges, only more configuration abilities.
-
The Expert mode is not a security feature. Rather, it offers protection against mistakes.
-
Refer to sk181230 to receive audit logs for the Expert mode login on Gaia servers.
Running Gaia Clish Commands from the Expert mode
You can run Gaia Clish commands from the Expert mode.
You can configure and view Gaia OS settings only with Gaia Clish commands. You can automate various tasks for working with Gaia OS settings in the Expert mode.
Syntax on a Security Gateway / Cluster Member / Management Server / Log Server
|
|
Syntax on a Scalable Platform Security Group
|
|
CLI Parameters
Parameter |
Description |
|||
---|---|---|---|---|
|
Shows the built-in help. |
|||
|
Specifies the single Gaia Clish command to run. The maximum length of the Gaia Clish command is 512 characters. |
|||
|
Specifies a full path to a plain-text file with Gaia Clish commands to run in the Batch Mode:
The optional parameter " |
|||
|
Specify to run the Gaia Clish command " |
|||
|
Specifies the output format on the screen:
For more information, see Client Environment Output Format. |
|||
|
Specifies the Debug Level (useful for Check Point R&D):
Note: The debug level can be set in these two ways:
|
Example
[Expert@MyGW:0]# clish -c "show version all"
Product version Check Point Gaia R81.20
OS build 123
OS kernel version 456
OS edition 64-bit
[Expert@MyGW:0]#
|