g_all, g_allc, g_alls

This command is supported only on these:

  • ElasticXL Cluster

  • Maestro Security Group

  • Scalable Chassis Security Group

Note - You must run this command in the Expert mode.

Description

Runs the specified command on all Security Group Members and shows the requested output.

Syntax

{g_all | g_allc | g_alls}

      [-a] [-b <SGM IDs>] [--vs <VS ID>] [-l] [-r] <Expert mode Command>

Parameters

Parameter

Description

g_all

Runs the specified command on each Security Group Member in the "UP" state.

Shows the complete output from each Security Group Member in the "UP" state.

The output is divided into sections for each Security Group Member.

g_allc

Collects the outputs from all Security Group Members (in the "UP" state) and:

  • If the outputs are identical, shows only one output.

  • If the outputs are different, shows only the different outputs.

g_alls

Shows the complete output from each Security Group Member in the "UP" state.

The output shows the Security Group Member ID in the beginning of each line (this makes it easier to parse the output).

This streaming output is suitable for commands that expect non-finite output, such as "tcpdump" of "tail -f".

No Parameters

Shows the outputs for all Security Group Members in the "UP" state.

-a

Includes the Security Group Members that are in the "DOWN" state.

-b <SGM IDs>

Specifies the Security Group Members, for which to run this command.

By default, applies to Security Group Members.

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)

--vs <VS ID>

Specifies the IDs of the Traditional VSX Virtual Systems.

Applies to the Traditional Virtual Systems as specified by the <VS IDs>.

<VS IDs> can be:

  • No <VS IDs> specified (default) - Applies to the context of the current Virtual System

  • One Virtual System

  • A comma-separated list of Virtual Systems (for example, 1,2,4,5)

  • A range of Virtual Systems (for example, 3-5)

  • all - Shows all Virtual Systems

This parameter is only applicable in a VSX environment.

-l

Shows the output only from the current Security Group Member, to which you are currently connected.

-r

Shows the output from Security Group Members, except the one to which you are currently connected.

<Expert mode Command>

Any Expert mode command (for example, netstat).

Examples