show ospf interfaces

show ospf interfaces {vlan vlan-name | area area-identifier | enabled}


Displays information about one or all OSPF interfaces.

Syntax Description

vlan-name Specifies a This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, 5520 series switches. name.
area-identifier Specifies an OSPF area.
enabled Displays only OSPF enabled interfaces.


If no argument is specified, all OSPF interfaces are displayed.

Usage Guidelines

Not applicable.


The following command displays information about one or all OSPF interfaces on the VLAN accounting:

show ospf interfaces vlan accounting

The following output displays BFD protection configuration information:

# show ospf interfaces       

VLAN      IP Address         AREA ID        Flags      Cost State   Neighbors   
HQ_10_0_2       /24         -rifb--      4/A R        1   
HQ_10_0_5       /24         -rif---      4/A BR       1       

Flags:  b – BFD protection configured, f - Interface Forwarding Enabled, 
        i - Interface OSPF Enabled, n - Multinetted VLAN, 
        p - Passive Interface, r - Router OSPF Enable,   
Cost:   A - Automatic Cost, C - Configured Cost.       

Total number of interfaces: 2

The following output displays the BFD session state:

Interface(rif1000027): Vlan: HQ_10_0_2 OSPF: ENABLED Router: ENABLED   
AreaId:  RtId:  Link Type: broadcast(auto)  Passive: No   
Cost: 4/A  Priority: 10 Transit Delay: 1   DAD State:Valid   
Hello Interval: 10s  Rtr Dead Time: 40s Retransmit Interval: 5s   
Wait Timer: 40s   
Authentication: NONE   
State: DR   Number of events: 1   
DR RtId:  DR IP addr: BDR IP addr:   
Num Neighbor State Change to FULL : 1   
BFD Protection: On       

    RtrId: IpAddr:  Pri: 5  Type: Auto      
    State: FULL Dr:  BDR:  Dead Time: 00:00:00:03      
    Options (0x42): Opaque LSA: Yes      
    BFD Session State: Active


This command was first available in ExtremeXOS 10.1.

The enabled option was added in ExtremeXOS 12.2.

BFD display output was added in 15.3.2.

The D (duplicate address detected on VLAN) and T (tentative address) flags were removed in ExtremeXOS 30.1.

Platform Availability

This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.