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.

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.