Specify route preferences

You can configure the default preference for each protocol, for example, 60 for static routes or 120 for RIP. These values are arbitrary values in the range from 1 to 255 and are independent of route metrics. Most routing protocols use a route metric to determine the shortest path known to the protocol, independent of any other protocol.

The best route to a destination is chosen by selecting the route with the lowest preference value. If multiple routes exist to a destination, the preference values are used to determine the preferred route. If there is still a tie, the route with the best route metric is chosen. To prevent problems with mismatched metrics such as protocols that are not directly comparable, you must configure different preference values for each of the protocols.

To specify route preferences

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Routing > Routing Table > Advanced > Route Preferences.

    The Route Preferences page displays.

  3. In the Static field, specify the static route preference on the switch.

    The default value is 1. The range is from 1 to 255.

  4. In the RIP field, specify the RIP route preference on the switch.

    The default value is 120. The range is from 1 to 255.

  5. In the OSPF Intra field, specify the OSPF intra route preference on the switch.

    The default value is 110. The range is from 1 to 255.

  6. In the OSPF Inter field, specify the OSPF inter route preference on the switch.

    The default value is 110. The range is from 1 to 255.

  7. In the OSPF External field, specify the OSPF external route preference on the switch.

    The default value is 110. The range is from 1 to 255.

  8. Click the Apply button.

    Your settings are saved.

    The Local field displays the local route preference value.

  9. To save the settings to the running configuration, click the Save icon.