Configure the global OSPF settings

You can configure the OSPF settings that apply globally to the OSPF processes on the switch.

To configure the global OSPF settings:

  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 OSPF Configuration section.
  4. In the Router ID field, enter the 32-bit number in dotted-decimal format that uniquely identifies the router within the autonomous system (AS).

    To change the router ID, you must first disable OSPF. After you set a new router ID, you must reenable OSPF for the change to take effect. The default value is 0.0.0.0, although this is not a valid router ID.

  5. Select an Admin Mode radio button:
    • Enable: OSPF is enabled for the switch. This is the default setting.

    • Disable: OSPF is disabled for the switch.

    Before OSPF can become operational, you must enable the administrative mode for IPv4 routing on the switch (see Manage the global IPv4 routing settings).

  6. From the RFC 1583 Compatibility menu, select how the switch automatically sets preference rules for link-state advertisements (LSAs) if multiple AS-external-LSAs advertise the same destination:
    • Enable: The preference rules prevent routing loops when AS-external-LSAs for the same destination originate from different areas. All routers or switches in the OSPF domain must be configured the same way. Enable is the default setting.

      For more information, see section 16.4.1 of the OSPF-2 standard (RFC 2328): https://datatracker.ietf.org/doc/html/rfc2328

    • Disable: If all OSPF routers are capable of operating according to the standard described in RFC 2328, disable RFC 1583 Compatibility.

  7. From the Opaque LSA Status menu, select how the switch treats opaque LSAs:
    • Enable: The switch stores opaque LSAs. An opaque LSA is used for flooding user-defined information within an OSPF router domain.

    • Disable: The switch does not store opaque LSAs.

  8. In the Exit Overflow Interval field, set how many seconds OSPF must wait before leaving an overflow state.

    When the number of nondefault external LSAs exceeds a limit, the switch enters an overflow state in which OSPF cannot originate nondefault external LSAs. (For more information, see RFC 1765.)

    If the number of seconds is 0 (the default setting), OSPF does not leave the overflow state until you disable and reenable OSPF. The maximum possible value is 2,147,483,647 seconds.

  9. In the SPF Delay Time field, set how many seconds OSPF must wait before starting a new Shortest Path First (SPF) calculation.
    The SPF delay time is the number of seconds from when OSPF receives a topology change to the start of the next SPF calculation. The delay can be from 0 to 65535 seconds. The default is 5 seconds. A value of 0 means that there is no delay: the SPF calculation is started as soon as a topology change occurs.
  10. In the SPF Hold Time field, set how many seconds OSPF must wait before between two consecutive SPF calculations.
    The SPF hold time is the minimum time in seconds between two consecutive SPF calculations. The hold time can be from 0 to 65,535 seconds. The default is 10 seconds. A value of 0 means that there is no delay: two SPF calculations can be done, one immediately after the other.
  11. In the External LSDB Limit field, set the limit of the external link-state database (LSDB) for OSPF.

    When the number of nondefault AS-external-LSAs in a router’s link state database reaches the external LSDB’s limit, the router enters the overflow state. The router cannot hold more none-default AS-external-LSAs than the maximum number that the external LSDB can hold. The external LSDB’s limit must be set identically in all routers that are attached to the OSPF backbone or any regular OSPF area. The limit can be from –1 to 2147483647. The default setting is –1, which indicates that there is no limit.

  12. In the Default Metric field, set the default for the metric of redistributed routes.

    The range is 1 from 16777214. The default is 0.

  13. In the Maximum Paths field, set the number of paths that OSPF can report for a destination.

    The range is from 1 to 16. The default is 4.

  14. In the AutoCost Reference Bandwidth field, set the bandwidth that controls how OSPF calculates link cost.

    Set the reference bandwidth in megabits per second. Unless a link cost is configured, the link cost is computed by dividing the reference bandwidth by the interface bandwidth. The range is from 1 to 4294967. The default is 100.

  15. From the Default Passive Setting menu, select how the global passive mode setting for all OSPF interfaces is configured:
    • Enable: Enabling the passive mode globally overwrites any passive mode setting at the interface level. OSPF does not form adjacencies on passive interfaces, but does advertise attached networks as stub networks.

    • Disable: The default is Disabled.

  16. Click the Apply button.

    Your settings are saved.

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

The following table describes the view-only fields on the page.

Field

Description

ASBR Mode

The router is an autonomous system boundary router (ASBR) if it is configured to redistribute routes from another protocol, or if it is configured to originate an external LSA advertising the default route.

ABR Status

The router is an area border router (ABR) if it has active non-virtual interfaces in two or more OSPF areas.

External LSA Count

The number of external (LS type 5) link state advertisements (LSAs) in the link state database.

External LSA Checksum

The sum of the LS checksums of the external LSAs that are contained in the link state database. You can use this sum to determine if there was a change in the link state database of a switch or router, and to compare the link state databases of two devices. This value is in hexadecimal.

AS_OPAQUE LSA Count

The number of opaque LSAs with domain-wide flooding scope.

AS_OPAQUE LSA Checksum

The sum of the LS checksums of the opaque LSAs with a domain-wide flooding scope. You can use this sum to determine if there was a change in the link state database of a switch or router, and to compare the link state databases of two devices.

New LSAs Originated

The number of LSAs originated by the switch.

In any OSPF area, a router (or in this situation, a switch) originates several LSAs. Each router originates a router-LSA. If the router is also the designated router for any of the area’s networks, it originates network LSAs for those networks.

LSAs Received

The number of received LSAs for new instantiations. This number does not include new instantiations of self-originated LSAs.