Viewing OSPF virtual neighbor information
If virtual links are configured on the routing switch, you can display OSPF virtual neighbor information.
Syntax:
show ip ospf virtual-neighbor [[area
area-id
] | [
ip-address
]]
Output for the show ip ospf virtual-neighbor command
OSPF Virtual Interface Neighbor Information
Router ID Area ID State IP Address Events
--------------- --------------- -------- --------------- --------
10.0.8.33 10.3.16.0 FULL 10.3.17.33 5
10.0.8.36 10.3.16.0 FULL 10.3.18.36 5
This display shows the following information.
Table 25: CLI display of OSPF virtual neighbor information
Field
Description
Router ID
The router ID of this virtual neighbor (configured.)
Area ID
The area ID of the transit area for the virtual link to this neighbor (configured.)
State
The state of the adjacency with this virtual neighbor. The possible values are the
same as the OSPF neighbor states. Virtual neighbors should never stay in the
2WAY state.
IP Address
IP address of the virtual neighbor that the routing switch is using to communicate to
that virtual neighbor.
Events
The number of times the virtual neighbor's state has changed.
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.
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.
Chapter 11 Open Shortest Path First Protocol (OSPF)
241