Using mgmt_cli, what is the correct syntax to import a host object called Server_1 from the CLI?
- mgmt_cli add-host "Server_1" ip_address "10.15.123.10" --format txt
- mgmt_cli add host name "Server_1" ip-address "10.15.123.10" --format json
- mgmt_cli add object-host "Server_1" ip-address "10.15.123.10" --format json
- mgmt._cli add object "Server-1" ip-address "10.15.123.10" --format json
Answer(s): B
Explanation:
The correct syntax to import a host object using mgmt_cli is mgmt_cli add host name <name> ip- address <ip-address> --format <format>1. The name and ip-address parameters are mandatory, while the format parameter is optional and can be either json or txt. The other options are incorrect because they either use wrong parameters, wrong hyphens, or wrong object types.
Reference:
1:
Check Point Resource Library2
Reveal Solution Next Question