update_device_ipsec_phase1_interface
Update selected fields on a managed device's IPsec phase1 interface, such as remote gateway, IKE version, PSK, proposals, DPD, and key life without changing unspecified settings.
Instructions
Update fields on a device-DB IPsec phase1-interface. Only provided fields change.
Args: device: Managed device name name: Phase1-interface (remote gateway) name to update interface: New local outgoing interface type: New remote gateway type: "static", "dynamic" or "ddns" remote_gw: New remote gateway IPv4 address psksecret: New pre-shared key, 6-128 characters ike_version: New IKE protocol version, "1" or "2" mode: New IKEv1 ID protection mode: "main" or "aggressive" peertype: New peer ID acceptance mode proposal: Replacement phase1 proposal list dhgrp: Replacement phase1 DH group list nattraversal: New NAT traversal setting dpd: New Dead Peer Detection mode keylife: New phase1 key life in seconds comments: New free-text comment vdom: VDOM the gateway lives in (default "root")
Returns: Update result with any echoed credential stripped
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpd | No | ||
| mode | No | ||
| name | Yes | ||
| type | No | ||
| vdom | No | root | |
| dhgrp | No | ||
| device | Yes | ||
| keylife | No | ||
| comments | No | ||
| peertype | No | ||
| proposal | No | ||
| interface | No | ||
| psksecret | No | ||
| remote_gw | No | ||
| ike_version | No | ||
| nattraversal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||