- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: Syntax "mgmt_cli set network" with "nat-settin...
- 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
Syntax "mgmt_cli set network" with "nat-settings"
Hi!
I could not find the correct syntax to configure a network "behind gateway nat". I tried the following without luck:
mgmt_cli set network name "guest-lan" nat-settings hide-behind gateway install-on "Vienna-Branch"
mgmt_cli set network name "guest-lan" nat-settings hide-behind "Vienna-Branch" install-on "Vienna-Branch"
mgmt_cli set network name "guest-lan" nat-settings "hide-behind gateway" install-on "Vienna-Branch"
mgmt_cli set network name "guest-lan" nat-settings "hide-behind Vienna-Branch" install-on "Vienna-Branch"
mgmt_cli set network name "guest-lan" nat-settings "hide-behind gateway Vienna-Branch" install-on "Vienna-Branch"
Has anyone already configured this?
Thanks,
Bernhard
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Luckily i found the correct syntax:
mgmt_cli set network name "guest-lan" nat-settings.auto-rule "true" nat-settings.hide-behind "gateway" nat-settings.install-on "Vienna-Branch"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Luckily i found the correct syntax:
mgmt_cli set network name "guest-lan" nat-settings.auto-rule "true" nat-settings.hide-behind "gateway" nat-settings.install-on "Vienna-Branch"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is from API reference guide -
https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/set-network~v1.1
Look at the "nat-settings" parameter.
As a rule, when you have an object as a parameter, you use the "object.object-field" syntax.
Robert.
