ExamGecko
Question list
Search
Search

Question 11 - 156-315.81 discussion

Report
Export

Using mgmt_cli, what is the correct syntax to import a host object called Server_1 from the CLI?

A.
mgmt_cli add-host ''Server_1'' ip_address ''10.15.123.10'' --format txt
Answers
A.
mgmt_cli add-host ''Server_1'' ip_address ''10.15.123.10'' --format txt
B.
mgmt_cli add host name ''Server_1'' ip-address ''10.15.123.10'' --format json
Answers
B.
mgmt_cli add host name ''Server_1'' ip-address ''10.15.123.10'' --format json
C.
mgmt_cli add object-host ''Server_1'' ip-address ''10.15.123.10'' --format json
Answers
C.
mgmt_cli add object-host ''Server_1'' ip-address ''10.15.123.10'' --format json
D.
mgmt._cli add object ''Server-1'' ip-address ''10.15.123.10'' --format json
Answers
D.
mgmt._cli add object ''Server-1'' ip-address ''10.15.123.10'' --format json
Suggested answer: B

Explanation:

The correct syntax to import a host object using mgmt_cli ismgmt_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

asked 16/09/2024
Saran Lertrat
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first