show ospf lsdb
Purpose Used to display the OSPF Link State Database (LSDB).
Syntax show ospf lsdb {area_id <area_id> | advertise_router
<ipaddr> | type [rtrlink | netlink | summary | assummary | asextlink]}
Description This command will display the current OSPF Link State Database (LSDB).
Parameters area_id <area_id> – A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the
OSPF area in the OSPF domain.
advertise_router <ipaddr> – The router ID of the advertising router.
type [rtrlink | netlink | summary | assummary | asextlink] – The type of link.
Restrictions None.
Example usage:
To display OSPF area aggregation settings:
AT-9724TS:4# show ospf aggregation
Command: show ospf aggregation
OSPF Area Aggregation Settings
Area ID A g g r e g a t e d L S D B A d v e r t i s e
Network Address T y p e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 0 . 1 . 1 . 1 1 0 . 0 . 0 . 0 / 8 S u m m a r y E n a b l e d
1 0 . 1 . 1 . 1 2 0 . 2 . 0 . 0 / 1 6 S u m m a r y E n a b l e d
Total Entries: 2
A T - 9 7 2 4 T S : 4 #
Note: When this command displays a “*” (a star symbol) in the OSPF LSDB table for the area_id or the Cost, this is interpreted as “no area ID”
for external LSAs, and as “no cost given” for the advertised link.
Example usage:
To display the link state database of OSPF:
AT-9724TS:4# show ospf lsdb
Command: show ospf lsdb
A r e a L S D B A d v e r t i s i n g Link State C o s t S e q u e n c e
I D T y p e Router ID I D N u m b e r
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 . 0 . 0 . 0 R T R L i n k 5 0 . 4 8 . 7 5 . 7 3 5 0 . 4 8 . 7 5 . 7 3 * 0 x 8 0 0 0 0 0 0 2
0 . 0 . 0 . 0 S u m m a r y 5 0 . 4 8 . 7 5 . 7 3 1 0 . 0 . 0 . 0 / 8 1 0 x 8 0 0 0 0 0 0 1
1 . 0 . 0 . 0 R T R L i n k 5 0 . 4 8 . 7 5 . 7 3 5 0 . 4 8 . 7 5 . 7 3 * 0 x 8 0 0 0 0 0 0 1
1 . 0 . 0 . 0 S u m m a r y 5 0 . 4 8 . 7 5 . 7 3 4 0 . 0 . 0 . 0 / 8 1 0 x 8 0 0 0 0 0 0 1
1 . 0 . 0 . 0 S u m m a r y 5 0 . 4 8 . 7 5 . 7 3 5 0 . 0 . 0 . 0 / 8 1 0 x 8 0 0 0 0 0 0 1
* A S E x t L i n k 5 0 . 4 8 . 7 5 . 7 3 1 . 2 . 0 . 0 / 1 6 2 0 0 x 8 0 0 0 0 0 0 1
Total Entries: 5
A T - 9 7 2 4 T S : 4 #
259
Allied Telesyn AT-9724TS High-Density Layer 3 Stackable Gigabit Ethernet Switch • Command Line Interface Reference Manual