Why does the switch not select a direct route as the optimal route

By default, the switch selects routes in the following order:

Longest mask > route preference > route cost

When a direct route is not selected as the optimal route, check whether the switch has imported an external route with a longer mask than the direct route. If such a route exists, check whether the switch imports the more exact external route. This may be caused by incorrect routing configuration.

Scroll to top