IP Routing Features

Configuring OSPF

Displaying OSPF Virtual Neighbor Information

To display OSPF virtual neighbor information, enter the following command at any CLI level:

HPswitch# show ip ospf virtual-neighbor

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

 

 

 

 

 

 

 

 

Syntax: show ip ospf virtual-neighbor [area <area-id> <ip-address>]

 

 

This display shows the following information.

 

 

 

 

Table 16-10. 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 16-9

 

 

 

on page 16-62.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.

16-64