- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- API Command via Gaia CLISH to retrieve group objec...
- 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?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API Command via Gaia CLISH to retrieve group object members in Global policy
All:
I can successfully get the members in the SmartConsole Command Line using this:
show group name gGRP-MY-OBJECT-DESTS
However, the group has 477 objects and me trying to copy and paste out of the Checkpoint Command Line just doesn't work. So - on to using an SSH client. I am in the management server and need to be in the Global policy area; however if I'm in the management server itself I don't appear to be in any policy at all and don't know how to switch... Can someone assist?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
from Expert mode you can use mgmt_cli -d Global login -u <user> -p <password> > id.txt
mgmt_cli show group <group> -s id.txt
That should give you all you need, you are on Global level at that moment, from there you can add any command with the-s id.txt
When done and made changes you type:
mgmt_cli publish -s id.txt
mgmt_cli logout -s id.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
from Expert mode you can use mgmt_cli -d Global login -u <user> -p <password> > id.txt
mgmt_cli show group <group> -s id.txt
That should give you all you need, you are on Global level at that moment, from there you can add any command with the-s id.txt
When done and made changes you type:
mgmt_cli publish -s id.txt
mgmt_cli logout -s id.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
