IP Routing Features
Configuring OSPF
This display shows the configured restrict entries.
Displaying OSPF Virtual Neighbor Information
To display OSPF virtual neighbor information, enter show ip ospf virtual-
neighbor at any CLI level.
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
Figure 11-21.Example of Output for Show IP OSPF Virtual-Neighbor
Syntax: show ip ospf virtual-neighbor [area < area-id > | < ip-address >]
This display shows the following information.
Table 11-13. 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. See the State parameter definition in table 11-12 on page 11-63. Note that
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 you can get OSPF virtual neighbor
information for a specific area or a specific IP address.
11-65