4-19
Default Level
1: Monitor level
Parameters
process-id
: OSPF process ID, in the range 1 to 65535.
brief
: Displays brief LSDB information.
asbr
: Displays Type-4 LSA (ASBR Summary LSA) information in the LSDB.
ase
: Displays Type-5 LSA (AS External LSA) information in the LSDB.
network
: Displays Type-2 LSA (Network LSA) information in the LSDB.
nssa
: Displays Type-7 LSA (NSSA External LSA) information in the LSDB.
opaque-area
: Displays Type-10 LSA (Opaque-area LSA) information in the LSDB.
opaque-as
: Displays Type-11 LSA (Opaque-AS LSA) information in the LSDB.
opaque-link
: Displays Type-9 LSA (Opaque-link LSA) information in the LSDB.
router
: Displays Type-1 LSA (Router LSA) information in the LSDB.
summary
: Displays Type-3 LSA (Network Summary LSA) information in the LSDB.
link-state-id
: Link state ID, in the IP address format.
originate-router
advertising-router-id
: Displays information about LSAs originated by the specified
router.
self-originate
: Displays information about self-originated LSAs.
Description
Use the
display ospf lsdb
command to display LSDB information.
If no OSPF process is specified, LSDB information of all OSPF processes is displayed.
Examples
# Display OSPF LSDB information.
<Sysname> display ospf lsdb
OSPF Process 1 with Router ID 192.168.0.1
Link State Database
Area: 0.0.0.0
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 192.168.0.2 192.168.0.2 474 36 80000004 0
Router 192.168.0.1 192.168.0.1 21 36 80000009 0
Network 192.168.0.1 192.168.0.1 321 32 80000003 0
Sum-Net 192.168.1.0 192.168.0.1 321 28 80000002 1
Sum-Net 192.168.2.0 192.168.0.2 474 28 80000002 1
Area: 0.0.0.1
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 192.168.0.1 192.168.0.1 21 36 80000005 0
Sum-Net 192.168.2.0 192.168.0.1 321 28 80000002 2
Sum-Net 192.168.0.0 192.168.0.1 321 28 80000002 1