asg_cp2blades

This command is supported only on these:

  • ElasticXL Cluster

  • Maestro Security Group

  • Scalable Chassis Security Group

Note - You can run this command in Gaia gClish or in the Expert mode.

Description

When you connect to a Security Group, you work on one of the Security Group Members.

All Check Point configuration files must be identical on all Security Group Members.

Meaning, if you created or edited a Check Point configuration file, then you must copy to all other Security Group Members.

This command makes this task easier.

Syntax

asg_cp2blades [-b <SGM IDs>] [-s] <Source Path> [<Destination Path>]

Parameters

Parameter

Description

-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)

-r

Copy folders and directories that contain files.

-s

Save a local copy of the old file on each Security Group Member.

The copy is saved in the same directory as the new file.

The old file has the same name with this at the end:

*.bak.<date>.<time>

<Source Path>

Full path and name of the file to copy.

<Destination Path>

Full path of the destination.

If not specified, the command copies the file to the relative source file location.

Examples

[Expert@SG-s01-01:0]# asg_cp2blades /home/admin/note.txt
Operation completed successfully
[Expert@SG-s01-01:0]#
[Expert@SG-s01-01:0]# cat /home/admin/note.txt
-*- 3 blades: 2_01 2_02 2_03 -*-
hello world
[Expert@SG-s01-01:0]#