Configure OSPF Globally

Configure OSPF parameters, such as automatic virtual links and OSPF metrics, so you can control OSPF behavior on the system.

Before you begin

  • Change the VRF instance as required to configure OSPF on a specific VRF instance. The VRF must have an RP trigger of OSPF. Not all parameters are configurable on non-default VRFs.

  • Assign an IP address to the switch.

Procedure

  1. In the navigation pane, expand Configuration > IP.
  2. Select OSPF.
  3. Select the General tab.
  4. Specify the OSPF router ID.
  5. In AdminStart, select enabled.
  6. Optional: If required, configure the metrics that OSPF uses for different link speeds.

    The lower the metric, the more likely that OSPF chooses the link to route an OSPF packet.

  7. Optional: To enable the switch to use OSPF SNMP traps, select the TrapEnable check box.
  8. Optional: To enable the automatic creation of virtual links, select the AutoVirtLinkEnable check box.
  9. Optional: Configure the OSPF holddown timer as required.
  10. Select Apply.

General Field Descriptions

Use the data in the following table to use the General tab.

Name

Description

RouterId

Specifies the OSPF router ID. This variable has the same format as an IP address but distinguishes this router from other routers in the OSPF domain.

AdminStat

Shows the administrative status of OSPF for the router. Enabled denotes that the OSPF process is active on at least one interface; disabled disables it for all interfaces. The default is disabled.

VersionNumber

Specifies the OSPF version.

AreaBdrRtrStatus

Denotes if this router is an area border router (ABR).

AreaBdrRtrStatus value must be true to create a virtual router interface.

ASBdrRtrStatus

Specifies ASBR status. If you select the ASBdrRtrStatus check box, the router is an autonomous system boundary router (ASBR).

ExternLsaCount

Shows the number of external (LS type 5) link-state advertisements in the link-state database.

ExternLsaCksumSum

Shows the 32-bit unsigned sum of the link-state checksums of the external link-state advertisements in the link-state database. This sum determines if a change occurred in a router link-state database and compares the link-state databases of two routers.

OriginateNewLsas

Shows the number of new link-state advertisements originated from this router. This number increments each time the router originates a new link-state advertisement (LSA).

RxNewLsas

Shows the number of received link-state advertisements that are new instances. This number does not include new instances of self-originated link-state advertisements.

Rfc1583Compatability

Controls the preference rules used when the router chooses among multiple autonomous system external (ASE) LSAs which advertise the same destination. If enabled, the preference rule is the same as that specified by RFC 1583. If disabled, the preference rule is as described in RFC 2328, which can prevent routing loops when ASE LSAs for the same destination originate from different areas. The default is disable.

OpaqueLsaSupport

Specifies support for Opaque LSA types.

10MbpsPortDefaultMetric

Indicates the default cost applied to 10 Mbps interfaces (ports). The default is 100.

100MbpsPortDefaultMetric

Indicates the default cost applied to 100 Mbps interfaces (ports). The default is 10.

1000MbpsPortDefaultMetric

Indicates the default cost applied to 1 Gbps interfaces (ports). The default is 1.

10000MbpsPortDefaultMetric

Indicates the default cost applied to 10 Gbps interfaces (ports). The default is 1.

25000MbpsPortDefaultMetric

Indicates the default cost applied to 25 Gbps interfaces (channelized 100 Gbps ports). The default is 1.

40000MbpsPortDefaultMetric

Indicates the default cost applied to 40 Gbps interfaces (ports). The default is 1.

100000MbpsPortDefaultMetric

Indicates the default cost applied to 100 Gbps interfaces (ports). The default is 1.

VlanDefaultMetric

Configures the VLAN interfaces default metric. The default is 10.

TrapEnable

Indicates whether to enable traps for OSPF. The default is false.

AutoVirtLinkEnable

Enables or disables the automatic creation of virtual links. The default is false.

SpfHoldDownTime

Specifies the OSPF holddown timer (3–60 seconds). The default is 10 seconds.

The holddown timer delays a metric change due to a routing table update by x seconds. If you configure the timer to 0, OSPF accepts a new metric change immediately.

OspfAction

Initiates a new Shortest Path First (SPF) run to update the routing table. The default is none.

LastSpfRun

Indicates the time since the last SPF calculation made by OSPF.

HelperModeDisable

Disables the helper mode. It is enabled by default.