OSPF Network Design Solutions

Previous Table of Contents Next

Example: The following command shows the OSPF neighbors from the router’s perspective in which it was executed.

OSPF_Router# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 76.0.16.4 1 FULL/DROTHER 00:00:39 76.0.16.36 Serial1/0.1 76.0.16.8 1 FULL/DROTHER 00:00:36 76.0.16.40 Serial1/0.1 76.0.16.7 1 FULL/DROTHER 00:00:38 76.0.16.39 Serial1/0.1 76.0.16.9 1 FULL/BDR 00:00:38 76.0.16.41 Serial1/0.1 76.0.16.5 1 FULL/DROTHER 00:00:38 76.0.16.37 Serial1/0.1 76.0.16.2 1 FULL/DROTHER 00:00:38 76.0.16.34 Serial1/0.1 76.0.16.6 1 FULL/DROTHER 00:00:39 76.0.16.38 Serial1/0.1 76.0.16.3 1 FULL/DROTHER 00:00:38 76.0.16.35 Serial1/0.1 76.0.16.4 1 2WAY/DROTHER 00:00:39 76.0.16.68 Serial2/0.1 76.0.16.6 1 2WAY/DROTHER 00:00:39 76.0.16.70 Serial2/0.1 76.0.16.2 1 2WAY/DROTHER 00:00:38 76.0.16.66 Serial2/0.1 76.0.16.3 1 2WAY/DROTHER 00:00:38 76.0.16.67 Serial2/0.1 76.0.16.8 1 FULL/DR 00:00:36 76.0.16.72 Serial2/0.1 76.0.16.5 1 2WAY/DROTHER 00:00:34 76.0.16.69 Serial2/0.1 76.0.16.7 1 2WAY/DROTHER 00:00:36 76.0.16.71 Serial2/0.1 76.0.16.9 1 FULL/BDR 00:00:38 76.0.16.73 Serial2/0.1 76.0.18.5 1 FULL/ - 00:00:35 76.0.18.1 Serial3/0.1 76.88.5.17 1 FULL/ - 00:00:39 76.0.18.9 Serial3/0.2 76.0.18.36 1 FULL/ - 00:00:35 76.0.18.21 Serial3/0.3 76.0.18.37 1 FULL/ - 00:00:38 76.0.18.29 Serial3/0

Table 8-11 describes some fields that are useful in a troubleshooting environment.

Table 8-11 show ip ospf neighbor output definitions
Field Description

Neighbor x.x.x.x Neighbor router ID
interface address x.x.x.x IP address of the interface
Neighbor priority Router priority of neighbor, neighbor state
State OSPF state
Dead timer Expected time before Cisco IOS software will declare neighbor dead

show ip ospf neighbor <ip address> Command

The show ip ospf neighbor <ip address> command provides you with detailed information regarding a specific OSPF neighbor as specified by the IP address.

Example: The following is sample output showing summary information about the neighbor that matches the neighbor ID:

OSPF_Router# show ip ospf neighbor 199.199.199.137 Neighbor 199.199.199.137, interface address 160.89.80.37 In the area 0.0.0.0 via interface Ethernet0 Neighbor priority is 1, State is FULL Options 2 Dead timer due in 0:00:32 Link State retransmission due in 0:00:04 Neighbor 199.199.199.137, interface address 192.31.48.189 In the area 0.0.0.0 via interface Fddi0 Neighbor priority is 5, State is FULL Options 2 Dead timer due in 0:00:32 Link State retransmission due in 0:00:03

Table 8-12 describes some fields that are useful in a troubleshooting environment.

Table 8-12 show ip ospf neighbor <ip address> output
Field Description

Neighbor x.x.x.x Neighbor router ID
interface address x.x.x.x IP address of the interface
In the area Area and interface through which OSPF neighbor is known
Neighbor priority Router priority of neighbor, neighbor state
State OSPF state
Options Hello packet options field contents (E-bit only; possible values are 0 and 2; 2 indicates area is not a stub; 0 indicates area is a stub)
Dead timer Expected time before Cisco IOS software will declare neighbor dead
Link State Retransmission How long until the next LSA transmission occurs

show ip ospf neighbor <int> <ip address> Command

The show ip ospf neighbor <int> <ip address> command provides you with detailed information regarding a specific OSPF neighbor as specified by the interface number and IP address.

Example: If you specify the interface along with the Neighbor ID, the Cisco IOS software displays the neighbors that match the neighbor ID on the interface, as in the following sample display:

OSPF_Router# show ip ospf neighbor e0 199.199.199.137 Neighbor 199.199.199.137, interface address 160.89.80.37 In the area 0.0.0.0 via interface Ethernet0 Neighbor priority is 1, State is FULL Options 2 Dead timer due in 0:00:37 Link State retransmission due in 0:00:04

Table 8-13 describes some fields that are useful in a troubleshooting environment.

Table 8-13 show ip ospf neighbor <int> <ip address> output
Field Description

Neighbor x.x.x.x Neighbor router ID
interface address x.x.x.x IP address of the interface
In the area Area and interface through which OSPF neighbor is known
Neighbor priority Router priority of neighbor, neighbor state
State OSPF state
Options Hello packet options field contents (E-bit only; possible values are 0 and 2; 2 indicates area is not a stub; 0 indicates area is a stub)
Dead timer Expected time before Cisco IOS software will declare neighbor dead

show ip ospf neighbor detail Command

The show ip ospf neighbor detail command provides you with detailed information regarding OSPF neighbors. The actual information output from the command is defined in the example that follows.

Example: The following is sample output from the show ip ospf neighbor detail command:

OSPF_Router# show ip ospf neighbor detail Neighbor 160.89.96.54, interface address 160.89.96.54 In the area 0.0.0.3 via interface Ethernet0 Neighbor priority is 1, State is FULL Options 2 Dead timer due in 0:00:38 Neighbor 160.89.103.52, interface address 160.89.103.52 In the area 0.0.0.0 via interface Serial0 Neighbor priority is 1, State is FULL Options 2 Dead timer due in 0:00:31

Previous Table of Contents Next

Категории