nerdexam
Check_Point

156-315.80 · 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

(63 responses)
  • A
    5% (3)
  • B
    70% (44)
  • C
    16% (10)
  • D
    10% (6)

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#API syntax#host object#management automation

Community Discussion

No community discussion yet for this question.

Full 156-315.80 Practice