nerdexam
Check_Point

156-915.80 · Question #71

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. Reference: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add- host~v1.1%20

SmartConsole and Management Enhancements

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
    4% (2)
  • B
    72% (34)
  • C
    9% (4)
  • D
    15% (7)

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. Reference: https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add- host~v1.1%20

Topics

#mgmt_cli#host objects#CLI syntax#management API

Community Discussion

No community discussion yet for this question.

Full 156-915.80 Practice