Configure an OSPF virtual link

If you cannot set up a physical link from the switch to the OSPF backbone area, you can add a virtual link to connect to the backbone area through a common (non-backbone) area. You can configure a virtual link between any area border routers that have physical interfaces to the common area.

To configure an OSPF virtual link:

  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 > Virtual Link Configuration.

    The OSPF Virtual Link Configuration page displays.

  3. In the Area ID field, enter an OSPF area ID.

    An area ID is a 32-bit integer in dotted-decimal format that identifies the area to which a switch interface connects.

  4. In the Neighbor Router ID field, enter the neighbor portion of a virtual link specification.
  5. In the Hello Interval field, enter the OSPF hello interval for the interface.
    This interval must be the same for all routers and switches in the network. The interval ranges from 1 to 65,535 seconds. The default is 10 seconds.
  6. In the Dead Interval field, enter the number of seconds that the interface waits for a neighbor’s hello packets before determining that the neighbor is down.

    This interval must be the same for all routers and switches in the network. This interval must be a multiple of the hello interval. The interval ranges from 1 to 65,535. The default is 40 seconds. (The default hello interval is 10 seconds.)

  7. In the Iftransit Delay Interval field, enter the estimated number of seconds required to transmit a link state update packet over the interface.

    The interval range from 1 to 3600 seconds (1 hour). The default is 1 second.

  8. In the Retransmit Interval field, enter the number of seconds between link-state advertisements for adjacencies, that is, for neighboring devices that form an OSPF adjacency with the interface.
    The interval is also used when retransmitting database descriptions and link-state request packets. The value for the interval ranges from 1 to 3600 seconds (1 hour). The default is 5 seconds.
  9. From the Authentication Type menu, select if communication over the interface is authenticated and encrypted:
    • None: The interface does not use authentication and encryption. This is the default settings.

    • Simple: The interface prompts you to enter an authentication key. This key is included (non-encrypted) in the OSPF header of all packets sent on the network. All routers and switches on the network must be configured with the same key.

    • Encrypt: The interface prompts you to enter an authentication key and an authentication ID. Encryption uses the MD5 Message-Digest algorithm. All routers and switches on the network must be configured with the same key and ID.

  10. In the Authentication Key field, enter the OSPF authentication key for the interface.

    If you select Simple from the Authentication Type menu, you can set a key with maximum of 8 octets. If you select Encrypt from the Authentication Type menu, you can set a key with maximum of 16 octets.

  11. In the Authentication ID field, enter the ID that must be used for authentication on the interface.

    If you select Encrypt from the Authentication Type menu, you must set an ID, which is a number between 0 and 255.

  12. Click the Add button.

    Your settings are saved.

  13. 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

Neighbor State

The state of the OSPF neighbor interface:

Down: This is the initial interface state. The interface is not usable for OSPF, and the interface settings are at their initial values. All interface timers are disabled, and no adjacencies are associated with the interface.

Loopback: The interface is looped back either in hardware or software. The interface is unavailable for regular data traffic. You can get information about the interface by sending ICMP pings to the interface or through a bit error test because IP packets can still be addressed to an interface in a loopback state. An interface in a loopback state is advertised in LSAs as single host route for which the destination is the IP interface address.

Waiting: The neighboring device is monitoring received hello packets to detect the identity of the backup designated router for the network. The neighboring device cannot elect a backup designated router or a designated router until it transitions out of the waiting state. This prevents unnecessary changes of the backup designated router.

Designated Router: The neighboring device is the designated router on the attached network. Adjacencies are established to all other routers and switches that in the network. The neighboring device must also originate a network LSA for the network node. The network LSA contains links to all switches and routers (including the designated router) in the network.

Backup Designated Router: The neighboring device is the backup designated router on the attached network. The neighboring device is promoted to designated router if the current designated router fails. The neighboring device establishes adjacencies to all other routers attached to the network. The backup designated router performs slightly different functions during the LSA flooding, as compared to the designated router.

Other Designated Router: The interface is connected to a broadcast on which other routers are the designated router and backup designated router. The neighboring device attempts to form adjacencies to both the designated router and the backup designated router.

State

The state of the OSPF switch interface:

Down: This is the initial interface state. The interface is not usable for OSPF, and the interface settings are at their initial values. All interface timers are disabled, and no adjacencies are associated with the interface.

Loopback: The interface is looped back either in hardware or software. The interface is unavailable for regular data traffic. You can get information about the interface by sending ICMP pings to the interface or through a bit error test because IP packets can still be addressed to an interface in a loopback state. An interface in a loopback state is advertised in LSAs as single host route for which the destination is the IP interface address.

Waiting: The switch is monitoring received hello packets to detect the identity of the backup designated router for the network. The switch cannot elect a backup designated router or a designated router until it transitions out of the waiting state. This prevents unnecessary changes of the backup designated router.

Designated Router: The switch is the designated router on the attached network. Adjacencies are established to all other routers and switches that in the network. The switch must also originate a network LSA for the network node. The network LSA contains links to all switches and routers (including the designated router) in the network.

Backup Designated Router: The switch is the backup designated router on the attached network. The switch is promoted to designated router if the current designated router fails. The switch establishes adjacencies to all other routers attached to the network. The backup designated router performs slightly different functions during the LSA flooding, as compared to the designated router.

Other Designated Router: The interface is connected to a broadcast on which other routers are the designated router and backup designated router. The switch attempts to form adjacencies to both the designated router and the backup designated router.

Metric The metric value that is used by the virtual link to compute the shortest paths.