update_device_ipsec_phase2_interface
Updates selected fields on a managed device's IPsec phase2-interface tunnel, such as subnets, proposal, DH group, PFS, and key life, changing only the values you provide.
Instructions
Update fields on a device-DB IPsec phase2-interface. Only provided fields change.
Args: device: Managed device name name: Phase2-interface (tunnel) name to update phase1name: New parent phase1-interface name src_subnet: New local proxy ID subnet, CIDR or "address netmask" form dst_subnet: New remote proxy ID subnet, same accepted forms proposal: Replacement phase2 proposal list dhgrp: Replacement phase2 DH group list pfs: New Perfect Forward Secrecy setting replay: New replay detection setting keepalive: New keep-alive setting auto_negotiate: New IPsec SA auto-negotiation setting keylifeseconds: New phase2 key life in seconds (120-172800) comments: New free-text comment vdom: VDOM the tunnel lives in (default "root")
Returns: Update result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pfs | No | ||
| name | Yes | ||
| vdom | No | root | |
| dhgrp | No | ||
| device | Yes | ||
| replay | No | ||
| comments | No | ||
| proposal | No | ||
| keepalive | No | ||
| dst_subnet | No | ||
| phase1name | No | ||
| src_subnet | No | ||
| auto_negotiate | No | ||
| keylifeseconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||