Print Download PDF Send Feedback

Previous

Next

Advanced Routing Options - Auto Restore of Interface Routes

An interface route may be automatically deleted in error from the router kernel when it becomes reachable from another interface. The command show route in Clish shows the route, but the Expert mode command ip route does not show the route. A scenario where this can happen is when the same route is learned via OSPF and BGP.

You can avoid losing the interface routes by enabling the Automatic Restoration of Interface Routes option. By default, this option is Off.

Note: If the interface route was deleted and the option was not enabled, bring the interface DOWN and then bring it UP again using Clish, the Portal or, in Expert mode, using ifconfig.

Configuring Auto Restore of Interface Routes - Gaia Portal

  1. In the Gaia Portal, go to the Advanced Routing > Routing Options page.
  2. In the Advanced Router Options area, select Auto Restore of Iface Routes.
  3. Click Apply at the top of the page.

Configuring Auto Restore of Interface Routes - Gaia Clish

To turn on Auto Restore of Interface Routes:

  1. Run: set router-options auto-restore-iface-routes on
  2. Run: save config

To turn off Auto Restore of Interface Routes:

  1. Run: set router-options auto-restore-iface-routes off
  2. Run: save config

To show the state of the Auto Restore of Interface Routes option:

Run: show router-options