20-46 show ip ospf process-id neighbor int-name int-number

 <  Free Open Study  >  

20-46 show ip ospf process-id neighbor int- name int-number

Syntax Description:

  • neighbor-id ” OSPF router ID.

  • int-name ” Interface name.

  • int-number ” Interface number.

Purpose: To display information regarding OSPF-enabled interfaces. An OSPF process ID can be used if more than one OSPF process is active using the form show ip ospf process-id neighbor. The output of this command can be filtered, using regular expressions, by one of the following forms:

  show ip ospf neighbor   begin   regular-expression   show ip ospf neighbor   exclude   regular-expression   show ip ospf neighbor   include   regular-expression  

Initial Cisco IOS Software Release: 10.0

Example 1: Displaying Information for All OSPF Neighbors

The following is a representative output from the show ip ospf neighbor EXEC command.

 r2#  show ip ospf neighbor  Neighbor ID     Pri   State           Dead Time   Address         Interface 4.4.4.4           1   FULL/DR         00:00:35    172.16.2.2      Ethernet0/0 3.3.3.3           1   FULL/  -        00:00:38    10.1.1.6        Serial0/1 1.1.1.1           1   FULL/  -        00:00:38    10.1.1.1        Serial0/0 

A regular expression can be used to display information about a specific neighbor.

 r2#  show ip ospf neighbor   include 4.4.4.4  4.4.4.4           1   FULL/DR         00:00:35    172.16.2.2      Ethernet0/0 

Example 2: Displaying Detailed Information for a Specific OSPF Neighbor

 r2#  show ip ospf neighbor detail 1.1.1.1   Neighbor 1.1.1.1, interface address 10.1.1.1   In the area 1 via interface Serial0/0   Neighbor priority is 1, State is FULL, 12 state changes   DR is 0.0.0.0 BDR is 0.0.0.0   Options is 0x2  Dead timer due in 00:00:38     Neighbor is up for 4d02h     Index 1/1, retransmission queue length 0, number of retransmission 1     First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)     Last retransmission scan length is 1, maximum is 1     Last retransmission scan time is 0 msec, maximum is 0 msec 

Table 20-6 provides an explanation for the significant lines in the preceding output.

Table 20-6. Significant Output from show ip ospf neighbor detail
Line Content Description
 Neighbor 1.1.1.1, interface address  10.1.1.1 
Neighbor's router ID and address on this network.
In the area 1 via interface Serial0/0 The neighbor is in Area 1 and reachable via interface Serial0/0.
 Neighbor priority is 1, State is  FULL, 12 state changes 
The neighbor's OSPF priority, the state of the neighbor relationship, and number of state changes for the neighbor relationship.
DR is 0.0.0.0 BDR is 0.0.0.0 This is a serial link, so there is no DR or BDR.
Options is 0x2 0x00 indicates that the area is a stub area. 0x2 indicates that the area is not a stub area.
 <  Free Open Study  >  


Cisco[r] OSPF Command and Configuration Handbook
Cisco OSPF Command and Configuration Handbook (paperback)
ISBN: 1587055406
EAN: 2147483647
Year: 2002
Pages: 236

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net