Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS XE

Show OSPF virtual links

show ip ospf virtual-links

Displays configured OSPF virtual-link state and parameters.

Execution context

Privileged EXEC

Use when

An area is not attached to area 0 directly and depends on a virtual link.

Then verify

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

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegePrivileged EXEC
Execution contextPrivileged EXEC
State impactRead-only
Safe during productionUnknown
CategoryOSPF
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family
PlatformCisco IOS XE
PrerequisitePrivileged EXEC
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Virtual Link to router, is up/down, Transit area, via interface, Cost, Hello, Dead, Adjacency State

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

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.

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.

Depth when you need it

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

virtual link down because the transit area is a stub; router ID typed wrong; authentication mismatch on area 0

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 state
Command Output Deep Dive

Variants · 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.

Known-good · 1Broken · 1Transitional · 1Observed · 1
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
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 40
Expected state

Configured virtual links show the intended transit area/peer router ID and an operational state compatible with Area 0 continuity.

Interpretation

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.

Evidence boundary

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.
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.

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.
Expected state

healthy/terminal

Interpretation

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.

Evidence boundary

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.
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.

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.
Expected state

in-progress

Interpretation

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.

Evidence boundary

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.
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.

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.
Expected state

failed/degraded

Interpretation

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.

Evidence boundary

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.
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.

Confirmation

Confirm action

Continue?