IP Routing Features

Configuring OSPF

An example of the show ip ospf link-state advertise is the following:

OSPF Link State Database for Area 0.0.0.0

Advertisements

------------------------------------------------------------------------

000202010a0008200a00082080000281a7b60054000000050a030e00ffffff0003000001...

000202010a0008210a00082180000006a5c90024010000010a0008230a03112104000002 000102010a0008230a00082380000015755d006c010000070a030600ffffff0003000001...

000202020a0302250a0008258000000702440024ffffff000a0008250a0008230a000820

000202030a0310000a00082180000008c043001cffffff0000000002

000102030a0310000a00082380000009a859001cffffff0000000001

000002030a0310000a00082480000009ac53001cffffff0000000002

000202040a0008240a000821800000032abb001c000000000000000b

000102040a0008240a00082380000004c12a001c0000000000000002 OSPF Link State Database for Area 10.3.16.0

Advertisements

------------------------------------------------------------------------

000202010a0008210a0008218000027fd33d0054050000050a031900ffffff0003000001...

000102010a0008220a00082280000284dc500060000000060a031500ffffff0003000001...

000102020a0311220a0008228000027bf9080020ffffff000a0008220a000821

Displaying OSPF Neighbor Information

To display OSPF neighbor information, enter the following command at any CLI level:

HPswitch(ospf)# show ip ospf neighbor

OSPF Neighbor Information

 

 

 

 

Router ID

Pri

IP Address

NbIfState State

Rxmt QLen Events

---------------

---

---------------

---------

--------

---------

----------

10.0.8.34

1

10.3.18.34

DR

FULL

0

6

10.3.53.38

1

10.3.53.38

DR

FULL

0

6

Syntax: show ip ospf neighbor [IP-ADDR]

The IP-ADDR can be specified to retrieve detailed information for the specific neighbor only. This is the IP address of the neighbor, not the Router ID.

16-61