- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- mgmt cli - How to negate an address object in addi...
- 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
mgmt cli - How to negate an address object in adding an access-rule
Hi Expert,
How to negate an address object in adding an access-rule from mgmt cli ?
I tried to add "!" but this is not working.
mgmt_cli -add access-rule layer "Network" position "top" source "!Intra-web-B" destination "Any" service "Any" action "Accept" --- not work!!
Thanks!
Todd
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add a source-negate true to the command line instead of using an exclamation point.
See: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-access-rule~v1.8%20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Add a source-negate true to the command line instead of using an exclamation point.
See: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-access-rule~v1.8%20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PhoneBoy, the_rock
It works!. Thank you!
mgmt_cli -add access-rule layer "Network" position "top" source-negate true source "Intra-web-B" destination "Any" service "Any" action "Accept"
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good job!!
