area <AREA-ID> virtual-link

Syntax

area <AREA-ID> virtual-link <ROUTER-ID>

no area <AREA-ID> virtual-link <ROUTER-ID>

Description

Creates an OSPF virtual link with remote ABR (if not created already) and enters the vlink context.

The no form of this command deletes an OSPF virtual link with the specified router ID of the remote ABR. If no <ROUTER-ID> is specified, the no form of the command sets the virtual link to the default settings.

Command context

config-ospf

Parameters

<AREA-ID>
Specifies the area ID is one of the following formats.
  • OSPF area identifier in IPv4 address format. Format: A.B.C.D

  • OSPF area identifier in decimal format. Range: 0-4294967295.

virtual-link <ROUTER-ID>

Configures a virtual link with the specified router ID of the remote ABR.

Authority

Administrators

Examples

Configuring OSPF virtual links:

switch# configure terminal
switch(config)# router ospf 1
switch(config-ospf-1)# area 100 virtual-link 100.0.1.1
switch(config-router-vlink)#

Deleting OSPF virtual links:

switch# configure terminal
switch(config)# router ospf 1
switch(config-ospf-1)# no area 100 virtual-link 100.0.1.1