nerdexam
Check_Point

156-315.81 · Question #82

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

The correct answer is B. mgmt_cli add host name "Server_1" ip-address "10.15.123.10" --format json. mgmt_cli add host name "New Host 1" ip-address "192.0.2.1" --format json ?;--format jso"; is optional. By default the output is presented in plain text. https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20

Automation and Orchestration

Question

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

Options

  • Amgmt_cli add-host "Server_1" ip_address "10.15.123.10" --format txt
  • Bmgmt_cli add host name "Server_1" ip-address "10.15.123.10" --format json
  • Cmgmt_cli add object-host "Server_1" ip-address "10.15.123.10" --format json
  • Dmgmt._cli add object "Server-1" ip-address "10.15.123.10" --format json

How the community answered

(47 responses)
  • A
    13% (6)
  • B
    77% (36)
  • C
    4% (2)
  • D
    6% (3)

Explanation

mgmt_cli add host name "New Host 1" ip-address "192.0.2.1" --format json ?;--format jso"; is optional. By default the output is presented in plain text. https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-host~v1.1%20

Topics

#mgmt_cli#automation#host object#CLI syntax

Community Discussion

No community discussion yet for this question.

Full 156-315.81 Practice