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

Exam 156-215.80 All Questions

View all questions & answers for the 156-215.80 exam

Exam 156-215.80 topic 1 question 302 discussion

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

Please choose correct command syntax 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: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Kavi
Highly Voted 4 years, 10 months ago
Answer D is correct.(I have checked on R80.10) if you enter add host name emailserver1 ip-address 10.50.23.90(option c) it’s not valid because it should be add host name emailserver1 ipv4-address 10.50.23.90 If you enter mgmt add host name emailserver1 ip-address 10.50.23.90 you are getting following output MGMT9205 You are not logged in to management server, in order to log-in you will need to run "mgmt login user [user name]" After logging to the management server you can enter mgmt add host name emailserver1 ip-address 10.50.23.90 (option 4)
upvoted 9 times
...
William_Garcia
Most Recent 9 months, 3 weeks ago
Selected Answer: D
For me answers D is correct, because if you add host using answer C, this sintaxis is "add host name emailserver1 ipv4-address 10.50.23.90" however using D, first you'r logon in SMS from CLI with "mgmt login user" once loggin you'r should type a next sintaxis is "mgmt add host name emailserver1 ip-address 10.50.23.90"
upvoted 1 times
...
Ronak_CCSA
2 years, 9 months ago
I have tried on my lab. I think this all depends on r80.x version you are running. Agreed with Kavi i cannot run the below command on r81.10 so i think answer is D
upvoted 2 times
...
jlucio
2 years, 9 months ago
-SmartConsole Cli : add host name "New Host 1" ip-address "192.0.2.1" --format json -mgmt_cli tool: mgmt_cli add host name "New Host 1" ip-address "192.0.2.1" --format json
upvoted 1 times
...
Acnaris
3 years, 8 months ago
Correct answer is D. All management commands start with the word "mgmt". https://sc1.checkpoint.com/documents/R80/APIs/#gaia_cli%20
upvoted 2 times
...
ccsa_ccse
3 years, 9 months ago
D is correct D is management Gaia CLI ( mgmt add host name ….) C is SmartConsole CLI ( add host name ….)
upvoted 1 times
...
Danzaroonie
3 years, 12 months ago
C is correct I have scripts that add large amount of objects **Adding Hosts** add host name WALTER ip-address 10.219.11.21 comments Sharepoint **Adding Networks** add network name "n..PI.172.31.100.0_27" color "red" subnet 172.31.100.0 subnet-mask 255.255.255.224 comments "Joe blogs"
upvoted 1 times
Aychi
3 years, 12 months ago
Nope D is the correct answer : this is from my SMS : SMS> mgmt login Enter password: SMS> add host name emailserver1 ip-address 10.50.23.90 CLINFR0329 Invalid command:' add host name emailserver1 ip-address 10.50.23.90 '. When i added mgmt : (he took the change :) SMS> mgmt add host name emailserver1 ip-address 10.50.23.90 SMS>
upvoted 2 times
verona347
3 years, 10 months ago
was object emailserver1 seen in SmartConsole? I think not ;)
upvoted 1 times
...
...
...
jm31
4 years, 1 month ago
D is correct syntax! You need to log in to management server, after successful login you can use command below to add new host object. #mgmt add host name emailserver1 ip-address 10.50.23.90 I think mgmt is shortcut key of mgmt_cli
upvoted 1 times
...
nariman93
4 years, 1 month ago
D is correct https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
upvoted 1 times
...
DeepCyber
4 years, 5 months ago
Correct D: It is talking about GAIA Mamagement CLI: https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
upvoted 1 times
...
lohitnadimpalli
4 years, 6 months ago
sure shot option D, Refer the link: https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
upvoted 2 times
temidayo
4 years, 5 months ago
In Gaia's shell, type mgmt login or mgmt login user myname After that you remain in the familiar Gaia shell, but now you can use the management APIs. Example: > mgmt login user <admin name> Enter password: ****** > show interfaces eth0 eth0.3 lo > mgmt add host name myHost12 ip-address 3.3.3.3 > mgmt publish message "OK" number-of-published-changes 1 > The syntax is identical to the commands that you run in the SmartConsole GUI. All management commands start with the word "mgmt".
upvoted 2 times
...
...
C4rlos
4 years, 7 months ago
Please read the last 4 words of the question carefully. - using GAiA management CLI! Not clish! All management commands start with the word "mgmt". https://sc1.checkpoint.com/documents/R80/APIs/#gaia_cli%20 The correct answer is D.
upvoted 3 times
secadmin44
4 years, 7 months ago
1. You are referring to the API documentation. The question is not about API commands. 2. The commands in this documentation are starting with "mgmt_cli" and not only "mgmt ". I can't find any command on this site which only begins with "mgmt "
upvoted 2 times
mauchi
3 years, 9 months ago
well, look again. Under the section "Using the Gaia CLI (clish)" you can clearly see every command starts with mgmt. mgmt_cli is a different tool
upvoted 1 times
...
...
...
agentjoks
4 years, 7 months ago
Final Answer: D C is wrong because it should be ipv4-address not ip-address I just checked both commands
upvoted 1 times
...
jham
4 years, 8 months ago
The correct Answer is C for R80
upvoted 2 times
...
Kaleba
4 years, 8 months ago
D is correct because mgmt add host --version 1.1 is the Gaia CLI syntax
upvoted 3 times
...
beto_joe
4 years, 9 months ago
Look for this exemple; add host name myHost ip-address 192.0.2.100 This will create a new host object with the name myHost and the IP address 192.0.2.100 . The answer is C. https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction~v1.5
upvoted 2 times
...
Abdelilahkammache
4 years, 11 months ago
D is correct. C to be correct shoud be ipv4-address not ip-address
upvoted 3 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 ...