Viewing OSPF virtual link information
Syntax:
show ip ospf virtual-link [[area area-id] | [ip-address]]
ip-address
Displays detailed information for a particular virtual neighbor.
area-id
Only virtual neighbors belonging to that area are shown.
Output for the show ip ospf virtual-link command
If virtual links are configured on a routing switch, you can display OSPF virtual link information by entering
show ip ospf virtual-link
at any CLI level.
switch# show ip ospf virtual-link OSPF Virtual Interface Status Transit AreaID Neighbor Router Authentication Interface State --------------- --------------- --------------- --------------- 10.3.16.0 10.0.8.33 none P2P 10.3.16.0 10.0.8.36 none P2P
This display shows the following information.
Field |
Description |
---|---|
Transit Area ID |
Area ID of transit area for the virtual link. |
Neighbor Router |
Router ID of the virtual neighbor. |
Authentication |
none or simple (same as for normal interface.) |
Interface State |
The state of the virtual link to the virtual neighbor. The possible values are:
|
Notice from the syntax statement that
ip-address
can be specified to display detailed information for a particular virtual neighbor. If an
area-id
is specified, only virtual neighbors belonging to that area are shown.
Example
To get OSPF virtual link information for IP address 10.0.8.33, enter
show ip ospf virtual-link 10.0.8.33
. A display similar to the following is shown.
Output for the show ip ospf virtual-link ip-addr command
switch# show ip ospf virtual-link 10.0.8.33 OSPF Virtual Interface Status for interface 10.0.8.33 Transit AreaID : 10.3.16.0 Neighbor Router : 10.0.8.33 Authentication : none Chain : Interface State : P2P Transit Delay : 1 Events : 1 Rtr Interval : 5 Dead Interval : 40 Hello Interval : 10
In this display, these fields show the same type of information as described for the general OSPF virtual link display: Transit Area ID, Neighbor Router, Authentication, and Interface State. This display shows the following additional information:
Field |
Description |
---|---|
Events |
The number of times the virtual link interface state has changed. |
Transit delay |
The configured transit delay for the virtual link. |
Rtr Interval |
The configured retransmit interval for the virtual link. |
Hello Interval |
The configured hello interval for the virtual link. |
Dead Interval |
The configured router dead interval for the virtual link. |