update_ipsec_phase2
Modify existing IPsec Phase 2 tunnel settings by ID, including mode, networks, lifetime, and protocol, with immediate application option.
Instructions
Update an existing IPsec Phase 2 (Child SA / tunnel) entry by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Tunnel mode (tunnel, transport, vti) | |
| descr | No | Description | |
| ikeid | No | Parent Phase 1 IKE ID | |
| lifetime | No | SA lifetime in seconds | |
| protocol | No | IPsec protocol (esp, ah) | |
| phase2_id | Yes | Phase 2 entry ID (from search_ipsec_phase2s) | |
| localid_type | No | Local network type (address, network, lan, none) | |
| remoteid_type | No | Remote network type (address, network, none) | |
| localid_address | No | Local network address | |
| localid_netbits | No | Local network prefix length | |
| remoteid_address | No | Remote network address | |
| remoteid_netbits | No | Remote network prefix length | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||