User Defined (Extended) Commands
|
Important - On Scalable Platforms (ElasticXL, Maestro, and Chassis), you must run the applicable commands in Gaia gClish of the applicable Security Group. |
Description
Manage user defined (extended) commands in Gaia Clish.
Extended commands include:
-
Built in extended commands.
These are mostly intended to configure and troubleshoot Gaia and Check Point products.
-
User defined commands.
You can do role-based administration (RBA) with extended commands:
-
Assign extended commands to roles.
-
Assign the roles to users or user groups.

-
To show all extended commands:
show extended commands
-
To show the path and description of a specified extended command:
show command <Command>
-
To add an extended command:
add command <Command> path <Path> description "<Text>"
-
To delete an extended command:
delete command <Command>

Parameter |
Description |
---|---|
|
Name of the extended command |
|
Path of the extended command |
"<Text>" |
Description of the extended command (must enclose in double quotes) |
See List of Available Extended Commands in Roles.

To add the free command to the systemDiagnosis role and assign that role to the user john:
Step |
Instructions |
|
---|---|---|
1 |
To add the free command:
|
|
2 |
Save the configuration:
|
|
3 |
Log out of Gaia. |
|
4 |
Log in to Gaia again. |
|
5 |
To add the free command to the systemDiagnosis role:
|
|
6 |
To assign the systemDiagnosis role to the user john:
|
|
7 |
Save the configuration:
|