show ip ospf virtual-links

To display parameters and the current state of Open Shortest Path First (OSPF) virtual links, use the show ip ospf virtual-links command.

show ip ospf [ instance-tag ] virtual-links [ brief ] [ vrf vrf-name ]

Syntax Description

instance-tag
(Optional) Instance tag. The name can be a maximum of 20 alphanumeric characters.
brief
(Optional) Displays a summary of the configured virtual links.
vrf vrf-name
(Optional) Name of the OSPF VRF. The vrf-name argument can be specified as an arbitrary string of 32 alphanumeric characters. The strings default, management, and all are reserved vrf-names .

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

Use the show ip ospf virtual-links command to display information about configured virtual links.

This command requires the LAN Base Services license.

Examples

This example shows how to display information about virtual links:

switch# show ip ospf virtual-links
Virtual link VL1 to router 10.1.2.3 is down
Transit area 0.0.0.10, via interface (null), remote addr 0.0.0.0
IP address 0.0.0.0, Process ID 201 VRF default, area 0.0.0.0
State DOWN, Network type P2P, cost 65535
Index 2, Transmit delay 2 sec
0 Neighbors, flooding to 0, adjacent with 0
Timer intervals: Hello 25, Dead 50, Wait 50, Retransmit 50
Message-digest authentication, using key id 21
Number of opaque link LSAs: 0, checksum sum 0
Adjacency Information
 
switch#
 

The table below describes the significant fields shown in the display.

Field Descriptions of the show ip ospf virtual-links Command
Field
Description
Virtual Link
OSPF neighbor and whether the link to that neighbor is up or down.
VRF
Virtual routing and forwarding (VRF) for this OSPF instance.
Transit area...
Transit area through which the virtual link is formed.
via interface...
Interface through which the virtual link is formed.
cost
Cost of reaching the OSPF neighbor through the virtual link.
Transmit delay
Transmit delay (in seconds) on the virtual link.
Timer intervals...
Various timer intervals configured for the link.
Hello
Time when the next hello is expected from the neighbor.

This example shows how to display information about virtual links in brief format:

switch# show ip ospf virtual-links brief
OSPF Process ID 201 VRF default
Total number of vlinks: 1
Remote Router ID Transit Area Cost Status
10.1.2.3 1 0.0.0.10 65535 down
 
switch#
 

Related Commands

Command
Description
show running-config ospf
Displays the OSPF running configuration.