Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 156-315.80 All Questions

View all questions & answers for the 156-315.80 exam

Exam 156-315.80 topic 1 question 196 discussion

Actual exam question from Checkpoint's 156-315.80
Question #: 196
Topic #: 1
[All 156-315.80 Questions]

Please choose correct command to add an `emailserver1` host with IP address 10.50.23.90 using GAiA management CLI?

  • A. host name myHost12 ip-address 10.50.23.90
  • B. mgmt: add host name ip-address 10.50.23.90
  • C. add host name emailserver1 ip-address 10.50.23.90
  • D. mgmt: add host name emailserver1 ip-address 10.50.23.90
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Karrol
Highly Voted 3 years, 12 months ago
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
upvoted 7 times
...
Alonb
Most Recent 1 year, 9 months ago
Well, even thogh D is possible, the ":" after the word "mgmt" is wrong.
upvoted 2 times
...
JNyquist
2 years, 2 months ago
Selected Answer: D
Yep, D is correct!
upvoted 1 times
...
[Removed]
2 years, 9 months ago
Correct Answer : C . No need to add mgmt in command
upvoted 1 times
babochnik
2 years, 4 months ago
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"
upvoted 1 times
...
Hernan_Mella
2 years, 3 months ago
C is correct just for Smartconsole CLI, not Gaia CLI
upvoted 1 times
...
...
dguskov
3 years, 2 months ago
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
upvoted 3 times
babochnik
2 years, 4 months ago
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
upvoted 1 times
...
...
certcert1
3 years, 2 months ago
Tested in R80.40 Mgmt server D is correct but no colon following "mgmt" cmd
upvoted 1 times
...
truthteller
4 years, 5 months ago
I disagree, C should be the correct answer since you are already con mgmt cli, you don´t need to add the prefix mgmt:
upvoted 2 times
rahav
4 years, 4 months ago
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"
upvoted 4 times
DocHoliday
4 years, 2 months ago
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
...
...
bobby14
4 years, 3 months ago
I'm agree with you. No need mgmt in the command
upvoted 1 times
...
...
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.

SaveCancel
Loading ...