list_ipsec_tunnels
Lists IPsec VPN tunnel status, remote gateways, phase-2 selectors, and traffic counters for a FortiGate device, including connected dial-up client counts.
Instructions
List IPsec VPN tunnels with status, remote gateway, phase-2 selectors and traffic counters.
Dial-up tunnels show the number of connected clients instead of a gateway.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional)
Returns:
One block per tunnel: state (UP/PARTIAL/DOWN/dialup), gateway, bytes in/out, phase-2 entries
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |