Please choose correct command syntax to add an `emailserver1` host with IP address 10.50.23.90 using GAiA management CLI?
Please choose correct command syntax to add an `emailserver1` host with IP address 10.50.23.90 using GAiA management CLI?
The correct command syntax to add an `emailserver1` host with IP address 10.50.23.90 using GAiA management CLI is: mgmt add host name emailserver1 ip-address 10.50.23.90. All management commands in GAiA begin with the word 'mgmt', which is a prefix indicating that the command is meant to be run from the management CLI environment after logging in.
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)
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.
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 "
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
D is correct because mgmt add host --version 1.1 is the Gaia CLI syntax
D is correct. C to be correct shoud be ipv4-address not ip-address
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
Correct answer is D. All management commands start with the word "mgmt". https://sc1.checkpoint.com/documents/R80/APIs/#gaia_cli%20
sure shot option D, Refer the link: https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
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".
The correct Answer is C for R80
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
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"
-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
D is correct D is management Gaia CLI ( mgmt add host name ….) C is SmartConsole CLI ( add host name ….)
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"
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>
was object emailserver1 seen in SmartConsole? I think not ;)
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
D is correct https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
Correct D: It is talking about GAIA Mamagement CLI: https://sc1.checkpoint.com/documents/R80/APIs/index.html#gaia_cli%20
Final Answer: D C is wrong because it should be ipv4-address not ip-address I just checked both commands