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?
A . add host name <New HostName> ip-address <ip address>
B . add hostname <New HostName> ip-address <ip address>
C . set host name <New HostName> ip-address <ip address>
D . set hostname <New HostName> ip-address <ip address>

Answer: A

Explanation:

The API command add host name <New HostName> ip-address <ip address> can be used in a script to create 100 new host objects with different IP addresses. This command adds a new host object with the specified name and IP address to the database. The other commands are either not valid or not suitable for creating new host objects.

Reference: Check Point – Management API reference

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments