console(config-rtr)#redistribute static metric 105
metric-type 1
console(config-rtr)#exit
Configuring a Virtual Link for OSPF and OSPFv3
In this example, Area 0 connects directly to Area 1. A virtual link is defined
that traverses Area 1 and connects to Area 2. This example assumes other
OSPF settings, such as area and interface configuration, have already been
configured.
Figure 35-37 illustrates the relevant components in this example OSPF
configuration.
Figure 35-37. OSPF Configuration—Virtual Link
Switch B is an ABR that directly connects Area 0 to Area 1. Note that in the
previous example, Switch B connected to a stub area and an NSSA. Virtual
links cannot be created across stub areas or NSSAs.
Configuring OSPF and OSPFv3
1015