Information Commands

Table 34 OSPF Database information commands

 

 

Command

Usage

 

 

show ip ospf database summary

Displays the network summary (type 3) LSAs with detailed

[advertising-router <router ID>

information of each field of the LSAs.

linkstate-id <A.B.C.D> self]

Command mode: All except User EXEC

 

 

 

show ip ospf database

Displays all the LSAs.

 

Command mode: All except User EXEC

 

 

OSPF route codes information

The following command displays OSPF route information:

show ip ospf routes

Command mode: All except User EXEC

Codes: IA - OSPF inter area,

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2

* - best

IA 10.10.0.0/16 via 200.1.1.2

IA 40.1.1.0/28 via 20.1.1.2

IA 80.1.1.0/24 via 200.1.1.2

IA 100.1.1.0/24 via 20.1.1.2

IA 140.1.1.0/27 via 20.1.1.2

IA 150.1.1.0/28 via 200.1.1.2

E2 172.18.1.1/32 via 30.1.1.2

E2 172.18.1.2/32 via 30.1.1.2

E2 172.18.1.3/32 via 30.1.1.2

E2 172.18.1.4/32 via 30.1.1.2

E2 172.18.1.5/32 via 30.1.1.2

E2 172.18.1.6/32 via 30.1.1.2

E2 172.18.1.7/32 via 30.1.1.2

E2 172.18.1.8/32 via 30.1.1.2

52

Page 52
Image 52
HP 445942-001 Ospf route codes information, Show ip ospf routes, Show ip ospf database summary, Linkstate-id A.B.C.D self