Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
kingchen
Explorer

Export host objects information in SMART CLI

Is there any way to export the all host objects as a CSV file from checkpoint firewall management server.Please share the command for the same.

 

Include name,comments,comments.....d

Regards

0 Kudos
3 Replies
the_rock
Legend
Legend

There is easy way from smart console. Open object explorer and you can export them from there. As far as CLI only, I believe below method may work, but will need to try in the lab.

Andy

https://sc1.checkpoint.com/documents/latest/APIs/#cli/export~v1.9%20

0 Kudos
Tal_Paz-Fridman
Employee
Employee

Also, try using the following Management API command and redirect it to a file:

https://sc1.checkpoint.com/documents/latest/APIs/#cli/show-hosts~v1.9%20

 

0 Kudos
the_rock
Legend
Legend

I dont see syntax to dump it to a file...tried >, >>, just file name, dir with file name, no luck,

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events