20-34 show ip ospf process-id interface int-name int-number

 <  Free Open Study  >  

20-34 show ip ospf process-id interface int- name int-number

Syntax Description:

  • process-id ” The OSPF process ID. The range of values is 1 to 4,294,967,295.

  • 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 interface. The output of this command can be filtered, using regular expressions, by one of the following forms:

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

Initial Cisco IOS Software Release: 10.0

Example 1: Displaying Information for an OSPF-Enabled Interface

The following is a representative output from the show ip ospf interface EXEC command. This command can be used to verify that an interface is enabled for OSPF, verify that the interface is in the proper OSPF area, and inspect the OSPF parameters that have been configured such as priority, Hello interval, and dead interval.

 r4#  show ip ospf 1 interface ethernet 1/0   Ethernet1/0 is up, line protocol is up   Internet Address 172.16.2.2/24, Area 0   Process ID 1, Router ID 4.4.4.4, Network Type BROADCAST, Cost: 10   Transmit Delay is 1 sec, State DR, Priority 1  Designated Router (ID) 4.4.4.4, Interface address 172.16.2.2  Backup Designated router (ID) 2.2.2.2, Interface address 172.16.2.1   Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5  Hello due in 00:00:08   Index 2/2, flood queue length 0   Next 0x0(0)/0x0(0)   Last flood scan length is 3, maximum is 3   Last flood scan time is 0 msec, maximum is 0 msec  Neighbor Count is 1, Adjacent neighbor count is 1   Adjacent with neighbor 2.2.2.2  (Backup Designated Router)  Suppress hello for 0 neighbor(s) 

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

Table 20-5. Significant Output from show ip ospf interface
Line Content Description
Ethernet1/0 is up, line protocol is up Link and protocol status.
Internet Address 172.16.2.2/24, Area 0 Interface IP address, prefix length, and assigned OSPF area.
 Process ID 1, Router ID 4.4.4.4,  Network Type BROADCAST, Cost: 10 
OSPF process ID and local OSPF router ID.

OSPF network type and link cost.

 Transmit Delay is 1 sec, State DR,  Priority 1 
This router is the DR for the Ethernet network and has an OSPF priority of 1.
 Backup Designated router (ID) 2.2.2.2,  Interface address 172.16.2.1 
Router ID and IP address of the BDR for this network.
 Timer intervals configured, Hello 10,  Dead 40, Wait 40, Retransmit 5 
OSPF timer values for this interface.
 Neighbor Count is 1, Adjacent neighbor  count is 1     Adjacent with neighbor 2.2.2.2  (Backup Designated Router) 
There is one neighbor on this interface and that neighbor is the BDR.

Example 2: Displaying OSPF Timer Information for an OSPF-enabled Interface

The following example demonstrates how to use a regular expression to limit the amount of information displayed by the show ip ospf interface command. A regular expression will be used to display only information regarding the OSPF timer values for a specific OSPF interface.

 r4#  show ip ospf interface ethernet 1/0   include Timer  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 
 <  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