Ospf Lsdb: Displaying the OSPF Link State
Database
Use NCL’s Ospf Lsdb command to format and display the database OSPF
of link state advertisements.
Syntax
ospf lsdb
Example
LS Database:
Area: 0.0.0.0
Type Link ID Adv Rtr Age Len Seq # Metric
LS_STUB 10.0.0.0 10.0.0.0 236 24 0 0
The fields in the table are as follows:
Area lists the area ID of the link state database.
Type is the type of entry in this database, as follows:
LS_ASE Describes a route to a destination network
external to the AS.
Originated by the AS border router.
LS_NET Describes all routers attached to the
network, including the designated router
itself. Originated by the network’s designated router.
LS_RTR Describes state and cost of the router’s links
to the area. Originated by each router in an area.
LS_SUM_ASB Describes a route to an AS boundary router.
Originated by the area border router.
LS_SUM_NET Describes a route to a destination network
belonging to the AS but outside the area.
Originated by the area border router.
LS_STUB Describes a default route for a stub area.
Each area border router originates a default
summary link into the area).
NCL
Commands
16
Using the Network Control Language
Managing the Open Shortest Path First Protocol
16-75