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

# sk114674 - Static routes are not removed from the Virtual System after removing them from the Topology of a Virtual System object

| Property | Value |
|----------|-------|
| Solution ID | sk114674 |
| Date Created | 2016-11-28 |
| Last Modified | 2024-04-16 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * After removing static routes from the Topology of a Virtual System object and pushing the VSX Configuration:

  * Output of the Clish command "`show routes`" in the context of Virtual System still shows the deleted static routes

  * Output of the Expert commands "`route -rn`" and "`netstat -rn`" on the VSX Gateway still shows the deleted static routes

  * Output of the Expert command "`dbget -rv routed:instance:<VSID>:static`" on the VSX Gateway still shows the deleted static routes in the Gaia Database configured for this Virtual System

* Kernel Traces in the context of Virtual System:

  `
  HostName:VSID> set trace global all on`  
  `
  HostName:VSID> set trace kernel all on`  
  `
  HostName:VSID> set tracefile size 10`  
  `
  HostName:VSID> save config
  `

  show the following in the `/var/log/routed.log` file when removing static routes from the Topology and pushing the VSX Configuration:

  *Date Time*` parse: routed1.conf:`*N*` Next hop for static route X.X.X/Y can not be an address assigned to a local interface at 'end-of-statement'`  
  `
  ... ...`  
  `
  `*Date Time*` parse_parse: 1 parse error
  `

## Cause

The next hop IP address configured in the problematic static route belongs to one of the local interfaces on the Virtual System.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
