show ip ospf virtual-links

Syntax

show ip ospf [<INSTANCE-TAG>] virtual-links [brief] 
     [all-vrfs | vrf <VRF-NAME>] [vsx-peer]

Description

Displays the current state and parameters of the OSPF virtual links.

Command context

Operator (>) or Manager (#)

Parameters

<INSTANCE-TAG>

Enter an OSPF Process ID to display information on the OSPF virtual links for the particular OSPF process. Range: 1-63.

brief

Select to display brief overview information for the OSPF virtual links.

all-vrfs

Select to display OSPF virtual links information for all VRFs.

vrf <VRF-NAME>

Specify the name of a VRF. Default: default.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing OSPF virtual links information:

switch# show ip ospf virtual-links
Virtual link to router 40.40.40.40 is up
-----------------------------------------

Process ID 21 VRF default, Transit area 0.0.0.1
Transit delay 1 sec
Timer Intervals: hello 10, dead 40, retransmit 5
No authentication
Number of Link LSAs: 0, checksum sum 0
4 state changes

Showing brief overview information for OSPF virtual links:

switch# show ip ospf virtual-links brief
OSPF Process ID 1 VRF default
==============================

Total Number of Virtual Links: 1

Remote Router   Transit Area    Status
--------------------------------------
2.1.1.2         0.0.0.1         down