< Free Open Study > |
20-34 show ip ospf process-id interface int- name int-numberSyntax Description:
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 InterfaceThe 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
Example 2: Displaying OSPF Timer Information for an OSPF-enabled InterfaceThe 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 > |