show ip ospf interface

Last Updated : Nov 06, 2012 |

Displays OSPF-related interface information. If no interface name is specified, information for all interfaces is displayed.

Syntax

show ip ospf interface [interface_name]

Parameters

Parameter

Description

Possible Values

Default Value

interface_name

The OSPF interface name

string

Note:

If using spaces, enclose the entire string in quotation marks (for example, New York).

User level

read-only

Context

general

Example

To display OSPF information for all interfaces:

Gxxx-001(super)# show ip ospf interface
sh ip ospf interface
Showing 1 OSPF Interfaces
Vlan 1.0 is up
Internet Address 1.1.1.1, Mask 255.255.255.0  , Area 0.0.0.0
AS Router ID 1.1.1.1, COST 1
Transmit Delay 1, State DR,  Priority 1
DRId 1.1.1.1, IpAddress 1.1.1.1
BDRId is 0.0.0.0, IpAddress 0.0.0.0
Timer Intervals Configured:
Hello 10
Dead 40
Retransmit 5
Neighbor count 0