PrepAway - Latest Free Exam Questions & Answers

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

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

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

D. mgmt_cli add object -Server_ 1- ip-address -10.15.123.10- – format json

Example:

mgmt_cli add host name -New Host 1- ip-address -192.0.2.1- –format json

-ยข —format json- is optional. By default the output is presented in plain text.

Reference: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20


Leave a Reply