- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Export host objects information in SMART CLI
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I dont see syntax to dump it to a file...tried >, >>, just file name, dir with file name, no luck,
