D is correct.
Even after logging in as a management user, all management commands still start with mgmt.
https://sc1.checkpoint.com/documents/R80/APIs/#gaia_cli%20
first you need to log in mgmt, try to test in your lab
without mgmt It is used for adding one host record to /etc/hosts add host name "New Host 1" ip-address "192.0.2.1"
I see no about API here. So I think correct is "C".
CHKP-MGMT-01> add host name XXXX ipv4-address 1.1.1.1
ipv4: the IPv4 address to be associated with a static hostname
Range: Dotted-quad ([0-255].[0-255].[0-255].[0-255]).
Default: No Default.
CHKP-MGMT-01>
But, if we use GAIA CLI by API, yes, we need prefix "mgmt":
https://sc1.checkpoint.com/documents/R80/APIs/#gaia_cli%20
It is used for adding one host record to /etc/hosts add host name "New Host 1" ip-address "192.0.2.1"
before use
add host name "New Host 1" ip-address "192.0.2.1"
you need to login in mgmt
https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.6.1%20
D is correct.
https://sc1.checkpoint.com/documents/latest/APIs/index.html#clish/add-host~v1.6%20
Look at Gaia CLI section and see add host syntax- you need to add mgmt- the full command is:
mgmt add host name "New Host 1" ip-address "192.0.2.1"
The link says so but trying this doesn't work. From Gaia I still need to use mgmt_cli. Tested on R80.30
upvoted 1 times
...
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Karrol
Highly Voted 2 years, 8 months agoAlonb
Most Recent 5 months agoJNyquist
11 months ago[Removed]
1 year, 5 months agoHernan_Mella
11 months agobabochnik
1 year agodguskov
1 year, 10 months agobabochnik
1 year agocertcert1
1 year, 11 months agotruthteller
3 years, 1 month agobobby14
2 years, 11 months agorahav
3 years agoDocHoliday
2 years, 11 months ago