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

Background
  • 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

arp

g_arp

g_allc arp

cat

g_cat

cp

g_cp

dmesg

g_dmesg

ethtool

g_ethtool

ifconfig

asg_ifconfig

ls

g_ls

md5sum

g_md5sum

mv

g_mv

netstat

g_netstat

reboot

g_reboot

tail

g_tail

tcpdump

g_tcpdump

top

g_top

Notes:

  • The parameters and options for the standard Linux command are available for the global command.

  • You can use one or more flags.

  • Do not use these two flags together in the same command:

    • The "-l" flag - to execute the command only on the local Security Group Member

    • The "-r" flag - to execute the command only on the remote Security Group Member

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

<Gaia gClish Command>

Standard command in Gaia gClish as appears in the table above.

<Global Expert mode Command>

Global command in the Expert mode as appears in the table above.

-b <SGM IDs>

Applies to Security Group Members as specified by the <SGM IDs>.

<SGM IDs> can be:

  • No <SGM IDs> specified, or all

    Applies to all Security Group Members and all Sites

  • One Security Group Member (for example, 1_1)

  • A comma-separated list of Security Group Members (for example, 1_1,1_4)

  • A range of Security Group Members (for example, 1_1-1_4)

  • One Site (chassis1, or chassis2)

  • The Active Site (chassis_active)

Note - You can only select Security Group Members from one Site with this option.

<Command Options>

Standard command options for the specified command.

Below are explanations about some of the global commands.

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.