Configure the OSPF default route advertisement

Whether or not a default route exists in the routing table, you can set up a default route for OSPF advertisements, including a metric value and a type of metric.

To configure the OSPF default route advertisement:

  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 > OSPF > Advanced > OSPF Configuration.

    The OSPF Configuration page displays. The page shows different sections.

  3. Go to the Default Route Advertise Configuration section.
  4. Select a Default Information Originate radio button:
    • Enable: OSPF originates a default route for external LSA advertising. This route is in the format X.X.X.X/X.X.X.X.

    • Disable: OSPF does not originate a default route for external LSA advertising. This is the default settings.

  5. Select an Always radio button:
    • True: OSPF originates a default route regardless of whether a default route exists.

    • False: OSPF originates a default route only if a default route is already in the switch’s routing table.

  6. In the Metric field, set the metric value of the default route.

    The value ranges from 0 to 16777214. The default is 0.

  7. Select a Metric Type field radio button:
    • External Type 1: This metric is computed by adding the internal OSPF cost to the external redistributed cost.

    • External Type 2: This metric is computed by using only the external redistributed cost. This is the default.

  8. Click the Apply button.

    Your settings are saved.

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