Global Commands on Security Groups
The Gaia operating system includes a set of global commands that apply to all or specified Security Group Members.
Working with Global Commands
-
Gaia gClish commands apply globally to all Security Group Members, by default.
-
Gaia gClish commands do not apply to Security Group Members that are in the DOWN state in the Security Group.
If you run a "
set
" command while a Security Group Member is in the DOWN state, the command does not update that Security Group Member.The Security Group Member synchronizes its database during startup and applies the changes after reboot.
-
Gaia Clish commands apply only to the specific Security Group Member.
See the R82 Gaia Administration Guide.
Gaia Global Commands
Global operating system commands are standard Linux commands that run on all or specified Security Group Members.
When you run a global command in Gaia gClish, the operating system runs a global script that is the standard Linux command on the Security Group Members.
When you run a command in the Expert mode, it works as a standard Linux command.
To use the global command in the Expert mode, run the global command script version as shown in this table:
Gaia gClish Command |
Global Command in the Expert mode |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes:
|
Syntax
-
In Gaia Clish:
<Gaia gClish Command> [-b <SGM IDs>] <Command Options>]
-
In the Expert mode:
<Global Expert mode Command> [-b <SGM IDs>] <Command Options>]
Parameters
Parameter |
Description |
---|---|
|
Standard command in Gaia gClish as appears in the table above. |
|
Global command in the Expert mode as appears in the table above. |
|
Applies to Security Group Members as specified by the
Note - You can only select Security Group Members from one Site with this option. |
|
Standard command options for the specified command. |
Below are explanations about some of the global commands.

Description
The global ls
command shows the file in the specified directory on all Security Group Members.
Syntax
-
In Gaia Clish:
ls [-b <SGM IDs>] <Command Options>]
-
In the Expert mode:
g_ls [-b <SGM IDs>] <Command Options>]
Example
This example runs the 'g_ls
' command in the Expert mode on Security Group Members 1_1, 1_2, and 1_3.
The example output shows the combined results for these Security Group Members.

Description
The global reboot
command reboots all Security Group Members.
Syntax
-
In Gaia Clish:
reboot [-a]
-
In the Expert mode:
g_reboot [-a]
Parameters
Parameter |
Description |
---|---|
No Parameters |
Reboots all Security Group Members that are in the state " |
|
Reboots all Security Group Members that in the DOWN and the UP states. |

Description
The global top
command:
-
Shows CPU utilization in real time on Security Group Members.
-
Uses the local Security Group Member configuration file (
~/.toprc
) to format the output on the remote Security Group Members.The command copies this file to the remote Security Group Members.
Syntax
-
In Gaia gClish:
top -h
top [local] [-f [-o <Output File>] [-n <Number of Iterations>]] -b <SGM IDs> [<Command Options>]
top [local] [s <Output File>] -b <SGM IDs> [<Command Options>]
-
In the Expert mode:
g_top -h
g_top [local] [-f [-o <Output File>] [-n <Number of Iterations>]] -b <SGM IDs> [<Command Options>]
g_top [local] [s <Output File>] -b <SGM IDs> [<Command Options>]
Parameters
Parameter |
Description |
---|---|
|
Shows the built-in help. |
|
Uses the ' |
|
Exports the output to a file. Default: |
|
Specifies the path and name of the output file. Must use with the " |
|
The command saves the output the specified number of times. Default: 1 Must use with the " |
|
Shows the content of the output file |
|
Parameters of the standard For more information, see the |
Configuring the 'g_top' output
Step |
Instructions |
|
---|---|---|
1 |
Connect to the command line on the Security Group. |
|
2 |
Log in to the Expert mode. | |
3 |
Run:
|
|
4 |
Set the desired view (press h to see the built-in help). |
|
5 |
Press Shift+W to save the ' |
|
6 |
Run:
|

Description
The global arp
command shows the ARP cache table on all Security Group Members.
Syntax
-
In Gaia Clish:
arp [-b <SGM IDs>] <Command Options>]
-
In the Expert mode:
g_arp [-b <SGM IDs>] <Command Options>]
Example - ARP table on all interfaces of all Security Group Members
Check Point Global Commands
These global commands apply to more than one Security Group Member. These global commands let you work with Security Gateway and SecureXL.

Description
Use the "fw dbgfile
" commands in Gaia gClish to debug how the Security Group inspect traffic.
Syntax to collect the debug
|
Syntax to show the collected debug
|
Parameters
Parameter |
Description |
---|---|
|
Collects the Security Gateway debug information. |
|
Shows the collected debug information. |
|
Specifies the full path and the name of the debug output file. |
|
Specifies the debug buffer size. Always set the maximal size 8200. |
|
Specifies Security Gateway debug modules and debug flags in those modules. You can specify more than one debug module. |
|
Specifies the full path and the name of the debug output file to read. |
Examples

|

|
|
Important - For complete debug procedure, see the R82 Quantum Security Gateway Guide > Chapter Kernel Debug on Security Groups. |

Description
The fwaccel
commands control the acceleration for IPv4 traffic.
The fwaccel6
commands control the acceleration for IPv6 traffic.
Syntax
Shell |
Syntax for IPv4 |
Syntax for IPv6 |
---|---|---|
Gaia Clish Gaia gClish |
|
|
Expert mode |
|
|
Parameters and Options
For more information, see the R82 Performance Tuning Administration Guide > Chapter SecureXL > Section SecureXL Commands and Debug - Subsection 'fwaccel' and 'fwaccel6'.