156-215.80 · Question #321
Please choose correct command syntax to add an "emailserver1" host with IP address 10.50.23.90 using GAiA management CLI?
The correct answer is D. mgmt add host name emailserver1 ip-address 10.50.23.90. This question tests knowledge of the correct GAiA management CLI syntax for adding a host object with a specific name and IP address.
Question
Please choose correct command syntax to add an "emailserver1" host with IP address 10.50.23.90 using GAiA management CLI?
Options
- Ahost name myHost12 ip-address 10.50.23.90
- Bmgmt add host name ip-address 10.50.23.90
- Cadd host name emailserver1 ip-address 10.50.23.90
- Dmgmt add host name emailserver1 ip-address 10.50.23.90
How the community answered
(46 responses)- A7% (3)
- B2% (1)
- C4% (2)
- D87% (40)
Why each option
This question tests knowledge of the correct GAiA management CLI syntax for adding a host object with a specific name and IP address.
This command is missing the required 'mgmt' prefix and uses the wrong host name 'myHost12' instead of 'emailserver1'.
This command is missing the required hostname value - 'name' is a keyword that must be followed by the actual name string 'emailserver1'.
This command omits the required 'mgmt' prefix, making it invalid for the GAiA management CLI context.
The correct syntax for the GAiA management CLI (mgmt_cli) requires the 'mgmt' prefix to invoke the management plane, followed by the 'add host' action, then the 'name' keyword with the value 'emailserver1', and finally 'ip-address' with the value 10.50.23.90. Omitting the 'mgmt' prefix or the hostname value produces an invalid or incomplete command.
Concept tested: GAiA management CLI host object creation syntax
Source: https://sc1.checkpoint.com/documents/latest/APIs/index.html
Topics
Community Discussion
No community discussion yet for this question.