> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aviatrix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Diagnostic tools

> This section provides the purpose, elements, and actions performed on the Diagnostic tools pages.

This section provides the purpose, elements, and actions performed on the
**Diagnostic tools** pages.

> [tab] Gateway Diagnostics
>
> ## Purpose
>
> The **Gateway Diagnostics** section provides tools to test gateway reachability,
> capture packets, trace paths, check connectivity, view active sessions and
> interface stats, manage services, run built-in diagnostics, audit spoke gateways
> for symmetric routing and AZ affinity issues, and download tracelogs.
>
> ## Elements
>
> ![Gateway Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-gateway-diagnostics.png)
>
> * **Ping**, **Packet Capture**, **Traceroute**, **Tracepath**, and
>   **Connectivity** sub-tabs or tools, each with run controls and results panels
>   for testing reachability and paths.
> * **Active Sessions**, **Interface Stats**, **Services**, **Diagnostics**, and
>   **Tracelog** sub-tabs or tools, each with run/refresh controls and results
>   panels for viewing gateway status and history.
> * **Capability Audit For** group: **Symmetric Routing** and **AZ Affinity**
>   audit tools. Selecting either tool disables the **Gateway Instance** selector,
>   since each tool selects its own gateway or gateway group scope.
>
> ## Actions
>
> > [accordion] Run Ping
> >
> > To test gateway reachability with ping:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Ping** tab.
> > 2. Select **Interface** (default: Use Route Table) and enter **Destination (IP / Host Name)**.
> > 3. Click **Run** to start the ping test. Use **Reset** to clear the form.
> > 4. Review the **Results panel** for reachability and round-trip time.
> >
> > The Results panel shows ping output and time details.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Interface | Selects interface for ping, traceroute, tracepath, or capture. |
> > | Destination (IP / Host Name) | Target IP or hostname for ping, traceroute, tracepath. |
> > | Results | Shows reachability, hop details, path/MTU, or test results. |
> > | Packet table | Time, Interface, Source IP, Destination, Protocol, etc. (Packet Capture). |
> > | Active Sessions | Orig S-IP, Orig D-IP, Proto, State, Reply fields. |
> > | Service Name / Status | Gateway service and running state. |
> > | Check Name / Status | Diagnostic test name and result. |
> > | Log Type / Download | Trace log type and download option. |
>
> > [accordion] Run Packet Capture
> >
> > To capture packets on a gateway interface:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Packet Capture** tab.
> > 2. Set **Interface**, **IP / Host Name**, **Port**, **Duration**, and **Packet Length** as needed. Click **Run**.
> > 3. Use **Download PCAP File** to save captured packets. Review the packet table (Time, Interface, Source IP, Destination, Protocol, and related fields).
> >
> > The packet table shows Time, Interface, Source IP, Destination, Protocol, and
> > other fields.
>
> > [accordion] Run Traceroute
> >
> > To trace the path from the gateway to a target:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Traceroute** tab.
> > 2. Select **Interface** and enter **Destination (IP/Host Name)**. Click **Run**.
> > 3. Review the **Results panel** for hop details (IP, hostname, time). Use **Reset** to clear.
> >
> > The Results panel shows hop-by-hop path details.
>
> > [accordion] Run Tracepath
> >
> > To check path and MTU to a target:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Tracepath** tab.
> > 2. Select **Interface** and enter **Destination (IP/Host Name)**. Click **Run**.
> > 3. Review the **Results panel** for path and MTU details. Use **Reset** to clear.
> >
> > The Results panel shows path and MTU information.
>
> > [accordion] Run Connectivity Test
> >
> > To check reachability for common services:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Connectivity** tab.
> > 2. Enter **Host Name**, **Port**, and select **Protocol** (TCP/UDP). Click **Run**.
> > 3. Review the **Results panel** for DNS, HTTPS, and IP reachability. Use **Reset** to clear.
> >
> > The Results panel shows test results for the target.
>
> > [accordion] View Active Sessions
> >
> > To view live traffic sessions on the gateway:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Active Sessions** tab.
> > 2. Click **Run** to retrieve the latest active session data for the selected gateway.
> >
> > The Active Sessions table displays current traffic sessions (Orig S-IP, Orig
> > D-IP, Proto, State, etc.).
>
> > [accordion] View Interface Stats
> >
> > To view real-time interface counters:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Interface Stats** tab.
> > 2. Review the **Interface table** (packets, errors) and **Graph view** (bandwidth).
> >
> > The page shows interface counters and bandwidth use.
>
> > [accordion] View Gateway Services
> >
> > To view gateway service status:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Services** tab.
> > 2. Review the **Service list**. Use **Restart** for a service if supported.
> >
> > The Service list shows each service and its status.
>
> > [accordion] Run Gateway Diagnostics
> >
> > To run built-in gateway diagnostic checks:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Diagnostics** tab.
> > 2. Optionally toggle **Include Controller** to include Controller-side checks.
> > 3. Click **Run** to start tests, or use its dropdown to **Show Last
> >    Diagnostics Result** or **Submit To Support** instead.
> > 4. Review the output console for findings.
> >
> > The output console shows the diagnostic result text.
>
> > [accordion] Download Tracelog
> >
> > To collect and download gateway logs:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Select the **Tracelog** tab.
> > 2. Review the **Log list** and click **Download** to save the selected log file.
> >
> > The Log list shows available trace log files.
>
> > [accordion] Run Symmetric Routing Audit
> >
> > To audit spoke gateways for symmetric routing issues:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Under **Capability Audit For**, select **Symmetric Routing**.
> > 2. Click **Run**. The tool audits every spoke gateway group with Symmetric
> >    Routing enabled (no gateway selection is required). Use **Cancel** to stop
> >    an in-progress run, or **Reset** to clear the results.
> > 3. Review the summary (**Status**, **Gateways Audited**, **Gateways Passed**,
> >    **Gateways with Issues**) and the **Gateways with Issues** section for
> >    route-table-level findings and remediation guidance.
> >
> > If no spoke gateways have Symmetric Routing enabled, the tool shows an empty
> > state instead of results.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Status | Overall audit status: In Progress, Complete, or Partially Completed. |
> > | Gateways Audited | Number of spoke gateway groups audited. |
> > | Gateways Passed | Number of audited gateway groups with no findings. |
> > | Gateways with Issues | Number of audited gateway groups with findings, each listed with its route tables of concern and remediation guidance. |
>
> > [accordion] Run AZ Affinity Audit
> >
> > To audit a pair of peered gateway groups for AZ affinity issues:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Gateway Diagnostics**.\
> >    Under **Capability Audit For**, select **AZ Affinity**.
> > 2. Select **Gateway Group 1**, then select **Gateway Group 2** from the
> >    gateway groups peered with it (AWS only).
> > 3. Click **Run**. Use **Reset** to clear the selections and results.
> > 4. Review the findings, or the success message if no issues are found.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Gateway Group 1 / Gateway Group 2 | Selects the peered AWS gateway groups to audit. |
> > | Findings | Route table or subnet AZ affinity issues found between the two gateway groups, with remediation guidance. |

> [tab] Connectivity Diagnostics
>
> ## Purpose
>
> The **Connectivity Diagnostics** section provides tools to view connection logs,
> IPsec Security Association details, IPsec service status, configuration,
> security policy details, run connectivity analysis, and reset connections.
>
> ## Elements
>
> ![Connectivity Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-connectivity-diagnostics.png)
>
> * **Connection** selector: In addition to **Gateway Instance**, selects the
>   connection (site2cloud tunnel) to run tools against.
> * **Logs**, **Security Association Details**, **IPsec Service**,
>   **Configuration**, **Security Policy Details**, **Analysis**, and **Reset
>   Connection** sub-tabs or panels, each with viewer/run controls and results.
>
> ## Actions
>
> > [accordion] View Connection Logs
> >
> > To view connection logs:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Logs** tab.
> > 2. Use **Enable**/**Disable** next to **Verbose Logging** to turn detailed
> >    IPsec logging on or off for the gateway instance (confirm the warning
> >    dialog; this can disrupt tunnels and trigger a failover). Click **Run** to
> >    retrieve the current log.
> > 3. Review the **Log viewer**. Use **Search** to filter by keywords.
> >
> > The log viewer shows log entries and timestamps.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Connection | Selects the connection to run the tool against. |
> > | Verbose Logging | Enables or disables detailed IPsec logging for the gateway instance (Logs). |
> > | Log Entry / Timestamp | Log message and time (Logs). |
> > | Peer IP / SPI / Status | SA peer, SPI, state (Security Association Details). |
> > | Status / Restart | IPsec service state and restart option. |
> > | Tunnel Settings / Local and Remote | IPsec and network settings. |
> > | Source / Destination / Action | Policy rules. |
> > | Issue Type / Recommendation | Analysis result and suggested fix. |
> > | Reset Option / Result | Reset action and status. |
>
> > [accordion] View Security Association Details
> >
> > To view IPsec SA details:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Security Association Details** tab.
> > 2. Review the **SA table** (Peer IP, SPI, Status). Click **Refresh** to reload SA status.
>
> > [accordion] View or Restart IPsec Service
> >
> > To view or restart the IPsec service:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **IPsec Service** tab.
> > 2. Review **Service status**. Use **Restart** if supported.
>
> > [accordion] View Configuration
> >
> > To view IPsec and tunnel settings:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Configuration** tab.
> > 2. Review the **Configuration list** (tunnel parameters, local and remote settings).
>
> > [accordion] View Security Policy Details
> >
> > To view policies applied to the gateway:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Security Policy Details** tab.
> > 2. Review the **Policy table** (Source, Destination, Action).
>
> > [accordion] Run Connectivity Analysis
> >
> > To run automated connectivity analysis:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Analysis** tab.
> > 2. Click **Run**. Review **Results** for issue type and recommendation.
>
> > [accordion] Reset Connection
> >
> > To reset a connection's tunnels:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Connectivity Diagnostics**.\
> >    Select the **Reset Connection** tab.
> > 2. Click **Reset** and confirm the warning dialog (resetting disrupts all
> >    tunnels of the selected connection). Review **Status** for the reset
> >    result.

> [tab] BGP Diagnostics
>
> ## Purpose
>
> The **BGP Diagnostics** section allows you to run BGP commands and view output.
>
> ## Elements
>
> ![BGP Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-bgp-diagnostics.png)
>
> * **BGP Command** tool with command field, **Run** button, and **Output** panel.
>
> ## Actions
>
> > [accordion] Run BGP Command
> >
> > To run a BGP command:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **BGP Diagnostics**.
> > 2. Enter the BGP command in the **Command** field. Click **Run** to execute.
> > 3. Review **Output** for the command result.
> >
> > The Output panel shows the BGP command result.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Command | BGP command to run. |
> > | Output | Command output. |

> [tab] Controller Diagnostics
>
> ## Purpose
>
> The **Controller Diagnostics** section provides tools to ping from the
> Controller, view services, command log, event log, run Controller diagnostics,
> and submit a configuration bundle to Support with recent upload history.
>
> ## Elements
>
> ![Controller Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-controller-diagnostics.png)
>
> * **Ping**, **Services**, **Command Log**, **Event Log**, **Diagnostics**, and
>   **Configuration Bundle** sub-tabs or tools, each with run/view and results
>   panels.
>
> ## Actions
>
> > [accordion] Run Controller Ping
> >
> > To test reachability from the Controller:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Ping** tab.
> > 2. Enter **Host (IP / Host Name)**. Click **Run**.
> > 3. Review **Results** for reachability data.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Host (IP / Host Name) / Results | Ping target and reachability data. |
> > | Service Name / Status | Controller service and state. |
> > | Command / Timestamp | Command text and run time. |
> > | Event Type / Timestamp | Event name and time. |
> > | Check Name / Result | Diagnostic test and outcome. |
> > | Submit to Support | Starts Controller configuration bundle upload to Support (task tracked under **Monitor** > **Notifications** > **Tasks**). |
> > | Timestamp / Log Bundle Name | Recent configuration bundle uploads (**Recent Uploads** table). |
>
> > [accordion] View Controller Services
> >
> > To view Controller service status:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Services** tab.
> > 2. Review the **Service list** (service name, status).
>
> > [accordion] View Command Log
> >
> > To view recent Controller commands:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Command Log** tab.
> > 2. Review the **Command table** (command, timestamp).
>
> > [accordion] View Event Log
> >
> > To view Controller events:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Event Log** tab.
> > 2. Review the **Event table** (event type, timestamp).
>
> > [accordion] Run Controller Diagnostics
> >
> > To run Controller diagnostic checks:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Diagnostics** tab.
> > 2. Click **Run** to start tests, or use its dropdown to **Show Last
> >    Diagnostics Result** or **Submit To Support** instead. Review the output
> >    console for findings.
>
> > [accordion] Submit Configuration Bundle to Support
> >
> > To generate and upload a Controller configuration bundle to Support:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **Controller Diagnostics**.\
> >    Select the **Configuration Bundle** tab.
> > 2. Click **Submit to Support** to start the bundle upload. Track progress under **Monitor** > **Notifications** > **Tasks**.
> > 3. Review **Recent Uploads** for **Timestamp** and **Log Bundle Name** entries after the upload completes.

> [tab] UserVPN Diagnostics
>
> ## Purpose
>
> The **UserVPN Diagnostics** section provides tools to run UserVPN diagnostics,
> view session history, and view ELB status.
>
> ## Elements
>
> ![UserVPN Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-uservpn-diagnostics.png)
>
> * **Diagnostics**, **Session History**, and **ELB Status** sub-tabs or panels,
>   each with run/view controls and results.
>
> ## Actions
>
> > [accordion] Run UserVPN Diagnostics
> >
> > To run UserVPN diagnostic checks:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **UserVPN Diagnostics**.\
> >    Select the **Diagnostics** tab.
> > 2. Optionally enter **User's Name** to scope the check to a specific VPN user. Click **Run** to start checks. Review **Results** (diagnostic test, result).
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | User's Name | Optional VPN user name to scope the diagnostic check to. |
> > | Diagnostic Test / Result | Type of check and outcome. |
> > | User / IP Address / Duration | Session user, IP, and length. |
> > | ELB Name / Status | Load balancer and health state. |
>
> > [accordion] View Session History
> >
> > To view UserVPN session history:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **UserVPN Diagnostics**.\
> >    Select the **Session History** tab.
> > 2. Review the **Session table** (user, IP address, duration).
>
> > [accordion] View ELB Status
> >
> > To view load balancer health for UserVPN:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **UserVPN Diagnostics**.\
> >    Select the **ELB Status** tab.
> > 2. Review the **ELB table** (ELB name, status).

> [tab] FireNet Diagnostics
>
> ## Purpose
>
> The **FireNet Diagnostics** section runs FireNet diagnostic checks and displays
> results.
>
> ## Elements
>
> ![FireNet Diagnostics](https://docs.aviatrix.com/images/reference/ui/diagnostics/diagnostics-firenet-diagnostics.png)
>
> * **Diagnostics** tool with a split **Run** button (**Show Last Diagnostics
>   Result** / **Submit To Support**) and output console.
>
> ## Actions
>
> > [accordion] Run FireNet Diagnostics
> >
> > To run FireNet diagnostic checks:
> >
> > 1. Go to **Diagnostics** > **Diagnostic Tools** > **FireNet Diagnostics**.\
> >    Select a **Gateway Instance** and the **Diagnostics** tab.
> > 2. Click **Run** to start tests, or use its dropdown to **Show Last
> >    Diagnostics Result** or **Submit To Support** instead.
> > 3. Review the output console for findings.
> >
> > The output console shows the diagnostic result text.
> >
> > ### Parameter Details
> >
> > | CoPilot Parameter Name | Description |
> > | - | - |
> > | Diagnostic Test | Type of FireNet check. |
> > | Result | Outcome. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.