> Source: [sk1000020](https://support.checkpoint.com/results/sk/sk1000020)

# sk1000020 - How to debug BGP and RouteD daemon on Gaia Embedded Appliances

| Property | Value |
|----------|-------|
| Solution ID | sk1000020 |
| Date Created | 2026-08-21 |
| Last Modified | 2026-09-09 |
| Technical Level | General |
| Products | Spark Firewall (Locally Managed) |
| Versions | R82.00.X, R81.10.X |
| OS | Gaia Embedded |

## Solution

Use BGP and RouteD traces to collect diagnostic data for these issues:

* BGP sessions do not establish.

* BGP sessions intermittently go down.

* BGP or RouteD issues that configuration changes do not resolve.

**Important**

* Perform this procedure on the affected Security Gateway.

* If the issue occurs in a cluster, collect data from the affected member. Collect data from multiple members if TAC requests it.

* Leave tracing enabled only until the issue occurs or is reproduced.

**Procedure**

1. **Enable BGP tracing**

   Run these Gaia Clish commands on the affected Security Gateway:
   * `set tracefile size 10`

   * `set tracefile maxnum 20`

   * `set trace kernel all on`

   * `set trace bgp all on`

2. **Reproduce the issue**
   **with BGP while tracing is enabled.**

3. **Run these commands and collect the outputs:**

4. **Note** - Replace "*`PEER_IP_ADDRESS`"* with the IP address of the affected BGP peer.
   * `show router-configuration bgp`

   * `show bgp summary`

   * `show bgp errors`

   * `show bgp groups`

   * `show bgp memory`

   * `show bgp paths`

   * `show bgp peers`

   * `show bgp peers detailed`

   * `show bgp peers established`

   * `show bgp peer PEER_IP_ADDRESS adj-rib-out`

   * `show bgp peer PEER_IP_ADDRESS detailed`

   * `show bgp peer PEER_IP_ADDRESS adj-rib-in`

   * `show bgp routemap`

   * `show route all bgp`

   * `show route bgp`

   * `show route bgp aspath`

   * show route bgp communities

   * `show route bgp detailed`

   * `show route bgp metrics`

   * `show route bgp suppressed`

   * `show route inactive bgp`

5. **Collect CPInfo using one of these methods**:

   **Gaia Portal**
   1. Open **Device** view \> **Tools** page.

   2. Click **Generate CPInfo**.

   3. Click**Download CPInfo**.

   **Gaia Clish**

   Run this Clish command:

   `cpinfo -p -z -o /storage/cpinfo1.cpinfo`

   Retrieve the generated file from the gateway with WinSCP or another SCP client.
6. **Run these Gaia Clish commands on the Security Gateway to disable the BGP traces:**

   * `set trace kernel all off`

   * `set trace bgp all off`

7. **Send these files to Check Point TAC:**

   * */var/log/routed.log*

   * */var/log/routed_messages*

   * */var/log/messages*

   * *$CPDIR/log/cpwd.el\**

8. Also provide:
   * The CPInfo file.

   * All command outputs collected in Step 3.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
