Privileged EXEC
Show OSPF virtual links
show ip ospf virtual-links
Displays configured OSPF virtual-link state and parameters.
An area is not attached to area 0 directly and depends on a virtual link.
If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.
Privilege Privileged EXECState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Virtual Link to router, is up/down, Transit area, via interface, Cost, Hello, Dead, Adjacency StateImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Supports the state directly exposed by show ip ospf virtual-links for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.
Command guidance
Execution context
Privileged EXEC
Use when
An area is not attached to area 0 directly and depends on a virtual link.
Important fields
Virtual Link to router, is up/down, Transit area, via interface, Cost, Hello, Dead, Adjacency State
Common problems
Operational impact
Read-only.
Technical context
The virtual link is configured with the far end router ID, not an interface address, and the transit area cannot be a stub area.
Aliases
ospf virtual link stateVariants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Bounded illustrative output patternObserved · Cisco IOS / IOS XE
Virtual Link OSPF_VL0 to router 10.0.0.2 is up
Transit area 1, via interface GigabitEthernet2
Hello 10, Dead 40Configured virtual links show the intended transit area/peer router ID and an operational state compatible with Area 0 continuity.
Illustrative structural pattern, not verbatim vendor output. An up virtual link does not prove all backbone/inter-area prefixes are present or selected. Next: Verify transit-area reachability and the peer router ID/LSDB when the virtual link is down.
Supports the state directly exposed by show ip ospf virtual-links for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.
Known-good state patternKnown-good · Cisco IOS XE
State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent.healthy/terminal
show ip ospf virtual-links — Known-good. State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent. Why: this command exposes OSPF virtual-link state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by show ip ospf virtual-links for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.
Transitional state patternTransitional · Cisco IOS XE
State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples.in-progress
show ip ospf virtual-links — Transitional. State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples. Why: this command exposes OSPF virtual-link state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by show ip ospf virtual-links for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.
Broken state patternBroken · Cisco IOS XE
State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause.failed/degraded
show ip ospf virtual-links — Broken. State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause. Why: this command exposes OSPF virtual-link state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear. Then repeat the original workload/request and verify the return path.
Supports the state directly exposed by show ip ospf virtual-links for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.If the virtual link is down, check that the transit area is not a stub area, that both ends use each other's router ID, and that each end has an intra-area route to the other through the transit area (show ip route <remote-router-id>). Then check show ip ospf neighbor for the virtual-link adjacency and confirm the area 0 routes appear.