area virtual-link router-id

Syntax

area [area-id ] virtual-link [router-id]

no area [area-id ] virtual-link [router-id]

Description

In the ospf3 context, used on a pair of ABRs at opposite ends of a virtual link in the same area to configure the virtual link connection.

The no form removes the virtual link.

Options

area-id

This must be the same for both ABRs in the link and is the area number of the virtual link transit area in either decimal or 32-bit dotted decimal format.

If area-id is not already configured on the routing switch, this command creates it.

router-id

On an ABR directly connected to the backbone area, this value must be the router ID of an ABR (in the same area) needing a virtual link to the backbone area as a substitute for a direct physical connection.

On the ABR that needs the virtual link to the backbone area, this value must be the router ID of the ABR (in the same area) having a direct physical connection to the backbone area.

Configuring a virtual link

The following figure shows an OSPFv3 ABR, routing switch "A" that lacks a direct connection to the backbone area (area 0). To provide backbone access to routing switch "A," you can add a virtual link between routing switch "A" and routing switch "C," using area 1 as a transit area.
To configure the virtual link, define it on the routers that are at each end of the link. No configuration for the virtual link is required on the other routers on the path through the transit area (such as routing switch "B" in this example).
Figure 24: Defining OSPFv3 virtual links within a network

To configure the virtual link on routing switch "A," enter the following command specifying the area 1 interface on routing switch "C":

Switch(ospf3)# area 1 virtual-link 209.157.22.1

To configure the virtual link on routing switch "C," enter the following command specifying the area 1 interface on routing switch "A."

Switch(ospf3)# area 1 virtual-link 10.0.0.1