show ospf

Use the show ospf command to display the system‘s Open Shortest Path First (OSPF) interfaces and configuration.

show ospf interface | neighbors | config | database

Parameters

interface Displays the details of all current OSPF interfaces.
neighbors Displays the OSPF neighbors with which the Wireless Appliance has adjacency.
config Displays the OSPF configuration details.
database Displays the OSPF linkstate database.

Examples

The following example displays the details of all OSPF interfaces:

EWC.extremenetworks.com# show ospf interface
OSPF Interface #0:
    Port Name            :esa0
    OSPF Status          :Enabled
    OSPF authentication  :None
    Link Cost            :10
    Hello Interval       :10
    Dead Interval        :40
    Retransmit Interval  :5
    Transmit Delay       :1

The following example displays the details of all OSPF neighbors:

EWC.extremenetworks.com# show ospf neighbors
Neighbor ID    Router ID      Priority    State      IP Address    Interface
1              192.168.4.3    1           Full/DR    10.209.0.2    esa0:10.209.0.1

The following example displays all OSPF configuration data:

EWC.extremenetworks.com# show ospf config
OSPF Area            :0.0.0.5
OSPF Area Type       :default
OSPF Router ID       :
OSPF Protocol Status :enable

The following example displays OSPF information from a database:

EWC.extremenetworks.com# show ospf database
Router LSA (Type 1):
Link ID         Advertising Router    Age     Sequence No    Checksum    Link Count
10.203.1.2      10.203.1.2            1745    0x800001c3     0xae1f      17
10.206.0.1      10.206.0.1            1525    0x8000009d     0x782e      3
Network LSA (Type 2):
Link ID       Advertising Router    Age     Sequence No    Checksum
10.109.0.2    192.168.4.3           334     0x800000a8     0x781d
10.203.0.2    192.168.4.3           334     0x80000713     0xb73a
Network Summary LSA (Type 3):
Link ID         Advertising Router    Age     Sequence No    Checksum    Route
10.2.0.0        192.168.4.3           76      0x80000080     0xd36a      10.2.0.0/24
10.2.0.0        192.168.4.9           969     0x8000007f     0xb187      10.2.0.0/24
ASBR Summary LSA (Type 4):
Link ID        Advertising Router    Age     Sequence No    Checksum
10.203.1.2     192.168.4.3           1324    0x8000002b     0xd1f4
10.203.1.2     192.168.4.9           970     0x8000002b     0xa31e
AS-External LSA (Type 5):
Link ID           Advertising Router    Age     Sequence No    Checksum    Route
0.0.0.0           192.1.5.115           806     0x80000030     0x160a      0.0.0.0/0
10.22.1.0         192.168.3.2           585     0x800006f1     0x30e9      10.22.1.0/24