Syntax
show ip ospf neighbor [detail] [ip-address] [vlan vlan-id]
Parameters
detail
ip‐address
vlan vlan‐id
Defaults
If detail is not specified, summary information will be displayed.
If ip‐address is not specified, OSPF neighbors will be displayed for all IP addresses configured for
routing.
If vlan‐id is not specified, OSPF neighbors will be displayed for all VLANs configured for routing.
Mode
Any router mode.
Example
This example shows how to use the show ospf neighbor command:
C2(su)->router#show ip ospf neighbor
ID
182.127.62.1
Table
17‐5 provides an explanation of the command output.
Table 17-5 show ip ospf neighbor Output Details
Output
ID
Pri
State
Dead-Int
Address
Interface
show ip ospf virtual-links
Use this command to display information about the virtual links configured on a router. A virtual
link represents a logical connection between the backbone and a non‐backbone OSPF area.
(Optional) Displays detailed information about the neighbors, including the
area in which they are neighbors, who the designated router/backup
designated router is on the subnet, if applicable, and the decimal equivalent
of the E‐bit value from the hello packet options field.
(Optional) Displays OSPF neighbors for a specific IP address.
(Optional) Displays OSPF neighbors for a specific VLAN. This VLAN must
be configured for IP routing as described in "Pre‐Routing Configuration
Tasks" on page 15‐1.
Pri
State
Dead-Int
1
FULL
40
What It Displays...
Neighbor's router ID of the OSPF neighbor.
Neighbor's priority over this interface.
Neighbor's OSPF communication state.
Interval (in seconds) this router will wait without receiving a Hello packet from a
neighbor before declaring the neighbor is down.
Neighbor's IP address.
Neighbor's interface (VLAN).
Address
Interface
182.127.63.1
vlan1
SecureStack C2 Configuration Guide 17-29
show ip ospf virtual-links