Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
ANANTADSULE
Contributor
Jump to solution

Import or create multiple network objects in QS 1550 locally managed appliance

Dear All,

Is there any option to Import or create multiple network objects/hosts in QS 1550 locally managed appliance using cli or script.

 

Thanks & Regards

0 Kudos
1 Solution

Accepted Solutions
G_W_Albrecht
Legend Legend
Legend

Proceed as follows:

Create a file and put it on the SMB device to perform the commands from Expert shell using

clish -i -f <File> -v

See https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/Running-Gaia-Clish-Commands-...

If you plan to connect to Infinity SMP portal, you get CLI by scripting from the Cloud:

https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/Quantum-Spark-Management/Cont...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist

View solution in original post

(1)
10 Replies
Chris_Atkinson
Employee Employee
Employee

This previous discussion might be helpful 

https://community.checkpoint.com/t5/SMB-Gateways-Spark/API-support-for-SMB-appliances/td-p/214231

CCSM R77/R80/ELITE
0 Kudos
ANANTADSULE
Contributor

Dear Chiris,

I don't understand that why Checkpoint smb appliances are complicated in some basic features like highlighted here.

There shoud be an option like export assets to csv available in asset menu.

Refer screenshot 

 
 

 

 

0 Kudos
Chris_Atkinson
Employee Employee
Employee

Is the concern that you cannot see the "Action" menu unless you change the view format?

CCSM R77/R80/ELITE
0 Kudos
ANANTADSULE
Contributor

I want to create multiple host/network objects.Using cli is difficult to create multiple host/network objects at once.

Also not familiar about API option.

just for reference i shared the screenshot of export assets option available in asset menu.

Same kind of feature must be available for import host/network objects using csv which is available in other OEM like Fortinet,Sophos.

0 Kudos
ANANTADSULE
Contributor

Can create one host only at a time.

0 Kudos
Chris_Atkinson
Employee Employee
Employee

Plenty of automation / orchestrations tools or even basic text manipulation tools eg notepad++ would make light work of this.

CCSM R77/R80/ELITE
0 Kudos
G_W_Albrecht
Legend Legend
Legend

Proceed as follows:

Create a file and put it on the SMB device to perform the commands from Expert shell using

clish -i -f <File> -v

See https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/Running-Gaia-Clish-Commands-...

If you plan to connect to Infinity SMP portal, you get CLI by scripting from the Cloud:

https://sc1.checkpoint.com/documents/Infinity_Portal/WebAdminGuides/EN/Quantum-Spark-Management/Cont...

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
(1)
ANANTADSULE
Contributor

Thank you so much.

You have solved my biggest problem,because i'm managing 10 appliances using SMP portal and due to this feature i can easily create multiple common objects/hosts using CLI scripting from the Cloud like single script or multiple scripts for different tasks not only for single appliance but as many as available in the SMP plan. 

Created CLI Script for adding host using below command
add host name MyHost ipv4-address 192.168.x.x
add host name MyHost1 ipv4-address 192.168.x.x

Created CLI Script for adding host to group using below command
set group MyGroup add member MyHost
set group MyGroup add member MyHost1

I'm writing this response to help others for the same concern.

 

 

 

0 Kudos
PhoneBoy
Admin
Admin

Yes, you can create objects via the CLI.
Refer to the Quantum Spark CLI Guide: https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Default.htm 

(1)

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events