xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
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 | nssa_ext]}
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 | nssa_ext]
−
The
type of link.
Restrictions None.
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.
Usage example:
To display the link state database of OSPF:
DGS-3612G:4#show ospf lsdb
Command: show ospf lsdb
ID Type Router ID ID Number
Total Entries: 5
Area LSDB Advertising Link State Cost Sequence
----------- -------------- ------------------ ------------------ ------- -----------------
0.0.0.0 RTRLink 50.48.75.73 50.48.75.73 * 0x80000002
0.0.0.0 Summary 50.48.75.73 10.0.0.0/8 1 0x80000001
1.0.0.0 RTRLink 50.48.75.73 50.48.75.73 * 0x80000001
1.0.0.0 Summary 50.48.75.73 40.0.0.0/8 1 0x80000001
1.0.0.0 Summary 50.48.75.73 50.0.0.0/8 1 0x80000001
* ASExtLink 50.48.75.73 1.2.0.0/16 20 0x80000001
DGS-3612G:4#
show ospf neighbor
Purpose
Used to display the current OSPF neighbor router table.
Syntax
show ospf neighbor {<ipaddr>}
Description
This command will display the current OSPF neighbor router table.
Parameters
<ipaddr>
−
The IP address of the neighbor router.
Restrictions None.
Usage example
To display the current OSPF neighbor router table:
261