Viewing OSPF interface information

Syntax:

show ip ospf interface [vlan vlan-id|ip-addr]

ip-address

Displays the OSPF interface information for the specified IP address.

vlan-id

Displays the OSPF interface information for the specified IP address.

The table below shows the information displayed for the OSPF interface.

CLI display of OSPF interface information

Field

Content

IP Address

The local IP address for this interface.

Status

enabled or disabled—Whether OSPF is currently enabled on this interface.

Area ID

The ID of the area that this interface is in.

State

The current state of the interface. The value will be one of the following:
DOWN

The underlying VLAN is down.

WAIT
RCC

The underlying VLAN is up, but we are waiting to hear hellos from other routers on this interface before we run designated router election.

Pt-to-Pt

When network interface is point-to-point, DR, BDR and Priority fields are ‘n/a’ and State and Type should be ‘point-to-point’.

.DR

This switch is the designated router for this interface.

BDR

This switch is the backup designated router for this interface.

DROTHER

This router is not the designated router or backup designated router for this interface.

Auth-type

none

or simple — Will be none if no authentication key is configured, simple if an authentication key is configured. All routers running OSPF on the same link must be using the same authentication type and key.

Chain

The name of the key chain configured for the specified interface. (See the Access Security Guide for your switch.)

Cost

The OSPF's metric for this interface.

Pri

This routing switch's priority on this interface for use in the designated router election algorithm.

Passive

Whether the interface sends link-state advertisements (LSAs) to all other routers in the same Autonomous System (AS.)

Example

Output for show ip ospf interface

switch# show ip ospf interface

OSPF Interface Status

 IP Address      Status   Area ID        State   Auth-type Cost   Pri Passive
 --------------- -------- -------------- ------- --------- ------ --- -------
 10.3.18.36      enabled  10.3.16.0      DOWN    none      1      1   no
 10.3.53.36      enabled  10.3.48.0      BDR     none      1      1   no

OSPF interface configuration

                                  Admin             Authen          
  IP Address      Area ID         Status   Type     Type   Cost  Pri
  --------------- --------------- -------- -------- ------ ----- ---
  172.16.30.186   backbone        enabled  Pt-to-Pt none   100   n/a