Pcornel
Networking · Network & Protocols › OSPF Protocol Reference

OSPF Virtual Link Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=228

Back to the Topic

Answer

A virtual link is a logical connection to area 0 through another area. It repairs a design in which an area has no ABR attached to the backbone, or in which the backbone is split.

Remember

It is configured on both ABRs with area <transit-area> virtual-link <other-router-ID>. The address is a router ID, not an interface address; the area named is the transit area; the transit area cannot be a stub or NSSA. The link is part of area 0 and needs its authentication.

First checks

  • show ip ospf virtual-links — up or down, transit area, adjacency state.
  • show ip ospf neighbor — a neighbour on OSPF_VL0.
  • show ip ospf border-routers — the other ABR reachable in the transit area.
  • show ip ospf | include ID — the router IDs used.

Commands

show ip ospf virtual-links
Displays configured OSPF virtual-link state and parameters.
area <transit-area> virtual-link <remote-router-id>
Configures an OSPF virtual link to a remote ABR through a transit area.

Verify in this order

both ABRs share a normal transit area → each reaches the other's router ID inside it → virtual link configured on both → adjacency Full over the link → remote area receives inter-area routes

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=228

Confirmation

Confirm action

Continue?