# Remove static routes

New networks are automatically added to routing when you change the properties of an interface. However, the Networks are not automatically removed, so you must check the routing configuration for obsolete entries and remove them manually.

##

Automatically added elements corresponding to a previous configuration are not automatically removed when the IP address of an interface is changed. Instead, the elements that belong to the old configuration are shown as invalid, and you must remove the obsolete elements manually.

You cannot remove elements that are added automatically based on the IP addresses of the interfaces while they are still in use. Use Access rules to control access to or from these addresses.

All additions and deletions in the routing configuration are automatically reflected in the antispoofing configuration. Manual definitions in the antispoofing configuration are preserved regardless of routing changes.

When you remove an element from the routing view, the element is not deleted from the SMC.

For more details about the product and how to configure features, click Help or press F1.

## Steps

1. Right-click an NGFW Engine, then select Edit <element type>.
2. Browse to Routing.
3. Right-click the element, then select Remove.
4. Click Save and Refresh to transfer the changed configuration.

## Engine Editor > Routing

Use this branch to view and change the routing configuration of the NGFW Engine.

Option | Definition
--- | ---
Filter | Allows you to view only the elements that match what you enter in the Filter field.
Refresh View | Updates the view.
Expand All | Expands all levels of the routing tree.
Collapse All | Collapses all levels of the routing tree.
Display Mode | Changes how the routing configuration is displayed. Tree View — Displays the routing configuration as a tree of interfaces, Router elements, NetLink elements, and destination networks. Table View — Displays the routing configuration as a table of destination networks, routing gateways, interfaces, and NetLink elements.
Default Route | Allows you to view and create default routes that are used when there is no more specific route defined. Note: If the Automatic Default Route setting is selected in the properties of the interface, default routes are created automatically for interfaces with dynamic IP addresses on single NGFW Engines. Gateway — The IP address of the gateway device. You can also double-click the field and select a gateway device for the route. Add — Adds the default route to the routing configuration. Show Default Route — Highlights the default route in the Tree View or the Table View.
Add Route | Allows you to add routes to specific destination networks. Destination — The destination IP address or network. Gateway — The IP address of the gateway device. You can also double-click the field and select a gateway device for the route. Add — Adds the route to the routing configuration.
Query Route | Allows you to search for routes. Source — The source IP address. Destination — The destination IP address. Query — Highlights the route in the Tree View or the Table View.