The Firewall Administrator is required to create 100 new host objects with different IP addresses. What API command can he use in the script to achieve the requirement?
The Firewall Administrator is required to create 100 new host objects with different IP addresses. What API command can he use in the script to achieve the requirement?
The correct command to create new host objects with different IP addresses in Check Point's management API is to use the mgmt_cli tool. The syntax involves specifying the management server, the API command 'add host', and the relevant parameters for the hostname and IP address. The provided command in option A fits this format: 'mgmt_cli -m <mgmt ip> add host name <new hostname> ip-address <ip address>'. This ensures proper communication with the Check Point management server to add the new hosts.
I think its A. It cant be C as there is no space between host and name.
I would say A. Example syntax from the documentation: mgmt_cli add host name "New Host 1" ip-address "192.0.2.1" https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20 Not sure what the -m parameter does though.
I think correct answer is C
Sorry correct answer is A