show ospf interfaces

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

Description

Displays information about one or all OSPF (Open Shortest Path First) interfaces.

Syntax Description

vlan-name Specifies a VLAN (Virtual LAN) name.
area-identifier Specifies an OSPF area.
enabled Displays only OSPF enabled interfaces.

Default

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

Usage Guidelines

Not applicable.

Example

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  10.0.2.2       /24 0.0.0.0         -rifb--      4/A DR        1   
HQ_10_0_5  10.0.5.2       /24 0.0.0.0         -rif---      4/A BDR       1       

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

Total number of interfaces: 2

The following output displays the BFD session state:

Interface(rif1000027): 10.0.2.2/24 Vlan: HQ_10_0_2 OSPF: ENABLED Router: ENABLED   
AreaId: 0.0.0.0  RtId: 10.0.2.2  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: 10.0.2.2  DR IP addr: 10.0.2.2 BDR IP addr: 10.0.2.1   
Num Neighbor State Change to FULL : 1   
BFD Protection: On       

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

History

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.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the ExtremeXOS 22.6 Feature License Requirements document.