list_ipsec_policies
Retrieve IPsec policies and their phase 2 state to verify child SAs, identify dynamic policies, and troubleshoot selector mismatches that block tunnel traffic.
Instructions
Lists the IPsec policies, with their phase 2 state.
The Flags legend distinguishes configured policies from the ones a peer
generated at runtime (D dynamic), and ph2-state says whether the
child SA is established. A policy whose selectors do not match the far
end's is the usual cause of a tunnel that comes up and passes nothing.
Notes:
peer_filter is a substring match on the peer name; the address
filters are substring matches on the policy selectors, which are the
encapsulated subnets, not the tunnel endpoints.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_ipsec_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| peer_filter | No | ||
| dst_address_filter | No | ||
| src_address_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |