> Markdown version of https://tuna.am/en/docs/cli/mesh/debug/trace/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna mesh debug trace

Simulate whether ACL/policy allows a packet from \<src> to \<dst>.

ACL policy simulation. Resolves src/dst (IP or hostname) and asks Control Plane to evaluate team rules without sending real traffic. Use 'self' as src to test from this device.

Usage

```bash
tuna mesh debug trace <src> <dst> [flags]

```

| Flag                 | Description                                       |
| -------------------- | ------------------------------------------------- |
| `--dport int`        | Destination port (0 = any; ignored for icmp/any). |
| `--json`             | Output in JSON format.                            |
| `-p, --proto string` | Protocol: tcp, udp, icmp or any. Default: `tcp`.  |

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.

## History

|        |                |
| ------ | -------------- |
| 0.35.0 | Command added. |
