Displaying OSPFv2 Results

To view the OSPFv2 interface details and authentication settings, use the show ip ospf interface command. This command is optional and allows you to verify the OSPFv2 details.
  1. Enter the show ip ospf interface command to display general OSPFv2 information.
    device# show ip ospf interface ve 500
    ve 500  admin up, oper up, ospf enabled, state up
         IP Address 50.1.1.2, Area 1
         Database Filter: Not Configured
         State DR, Pri 1, Cost 1, Options 2, Type broadcast Events 3
         Timers(sec): Transmit 1, Retrans 5, Hello 10, Dead 40
         DR:  Router ID 71.50.71.50       Interface Address 50.1.1.2
         BDR: Router ID 0.0.0.0           Interface Address 0.0.0.0
                         Packets Received        Packets Sent
         Hello                        127                 125
         Database                       3                   3
         LSA Req                        1                   0
         LSA Upd                        8                   2
         LSA Ack                        1                   5
         Packet Errors: Ospf Auth Key 4, 
         Neighbor Count = 0, Adjacent Neighbor Count= 0
         In-Use Authentication: hmac-sha-256, Key: ********, Key-Id:    1