Enable BFD for OSPF on an IPv4 VLAN Interface

About this task

BFD provides a failure-detection mechanism between two systems. Use the following procedure to enable OSPF BFD on an IPv4 VLAN interface.

Note

Note

Enabling BFD at the application level does not establish a BFD session. To establish a BFD session, you must enable BFD globally and at the interface level.

Procedure

  1. In the navigation pane, expand Configuration > VLAN.
  2. Select VLANs.
  3. Select the Basic tab.
  4. Select the VLAN on which you want to enable BFD for OSPF.
  5. Select IP.
  6. Select OSPF.
  7. Select BfdEnable.

OSPF Field Descriptions

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

Name

Description

Enable

Enables or disables OSPF routing on the specified VLAN. The default is false.

HelloInterval

Specifies the length of time, in seconds, between the transmission of hello packets. This value must be the same for all routers attached to a common network. The default is 10 seconds.

After you change the hello interval values, you must save the configuration file, and then restart the switch. After the switch restarts, it restores the values and checks for consistency.

RtrDeadInterval

Specifies the interval used by adjacent routers to determine if the router was removed from the network. This interval must be identical on all routers on the subnet and a minimum of four times the hello interval. To avoid interoperability issues, the RtrDeadInterval value for the OSPF interface needs to match with the RtrDeadInterval value for the OSPF virtual interface. The default is 40 seconds.

DesigRtrPriority

Specifies the priority of this VLAN in multiaccess networks to use in the designated router election algorithm. The value 0 indicates the router is not eligible to become the designated router on this particular network. If a tie occurs, routers use their router ID as a tie breaker. The default is 1.

Metric

Specifies the metric for this TOS on this VLAN. The value of the TOS metric is (10^9 / interface speed). The default is 1.

  • FFFF—No route exists for this TOS.

  • IPCP links—Defaults to 0.

  • 0—Use the interface speed as the metric value when the state of the interface is up.

AuthType

Specifies the type of authentication required for the interface.

  • none—Specifies that no authentication required.

  • simple password—Specifies that all OSPF updates received by the interface must contain the authentication key specified in the interface AuthKey parameter.

  • MD5 authentication—Specifies that all OSPF updates received by the interface must contain the MD5 key.

  • sha1—Specifies secure hash algorithm 1 (SHA-1), which is a cryptographic hash function that produces a 160-bit hash value, usually given in a hexadecimal number, 40 digits long. You can only access and enable the SHA-1 authentication type after you enable enhanced secure mode.

  • sha-2—Specifies SHA-2, which offers the hash function SHA-256.

    Note:

    sha-2, an update of SHA-1, can offer six hash functions that include SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA 512/256, with hash values that are 224, 256, 384, or 512 bits. However, the current release supports only SHA-256.

AuthKey

Specifies the key (up to eight characters) when you specify simple password authentication in the VLAN AuthType variable.

AreaId

Specifies the OSPF area name in dotted-decimal format.

The area name is not related to an IP address. You can use a suitable value for the OSPF area name (for example, 1.1.1.1 or 200.200.200.200).

AdvertiseWhenDown

Advertises the network even if the port is down. If true, OSPF advertises the network on this VLAN as up, even if the port is down. The default is false.

After you configure a port without a link and enable AdvertiseWhenDown, it does not advertise the route until the port is active. Then, OSPF advertises the route even when the link is down. To disable advertising based on link states, disable AdvertiseWhenDown.

IfType

Specifies the type of OSPF interface (broadcast, NBMA, or passive).

Before you change an OSPF interface type, you must first disable the interface. If the interface is an NBMA interface, you must also delete all configured neighbors.

PollInterval

Specifies the length of time, in seconds, between hello packets sent to an inactive OSPF router. Neighbors must use the same poll interval.

IfMtuIgnore

Specifies whether the VLAN ignores the MTU configuration. To allow the switch to accept OSPF DD packets with a different MTU size, enable MtuIgnore. The interface drops incoming OSPF DD packets if their MTU is greater than 1500 bytes.

BfdEnable

Enables Bidirectional Forwarding Detection (BFD) for OSPF.