11.5.5 Checking LSA
- <Structure of this section>
(1) Checking LSA Count
You can use the show ip ospf database database-summary operation command to check how many LSAs are in the OSPF database.
>show ip ospf database database-summary Date 20XX/07/14 12:00:00 UTC Domain: 1 Local Router ID: 172.16.1.1 Area Router Network Summary Asb- NSSA Area External Opaque- summary Total link 0 4 2 1 2 0 9 2 1 |
(2) Checking LSA advertising info
You can use the show ip ospf database operation command to check information about LSA advertisement and LSA ages for each LSA type.
Common LSA types include router link and network link LSAs. Use the show ip ospf database command to confirm that LSA advertisement is configured as follows on the Switch:
- (a) Advertising of "Router Link"
-
The LSID in the command output is the router ID.
- (b) The address of the interface on which the Switch is a designated router is advertised as "Network Link."
-
The LSID in the command output is the interface address.
- (c) If the Switch is a AS border router, advertise the advertised route as "AS External Link."
-
Figure 11-14: Result of executing show ip ospf database command >show ip ospf database Date 20XX/07/14 12:00:00 UTC Domain: 1 Local Router ID: 10.1.2.8 Area : 1 LS Database: Router Link Router ID LSID ADV Router Age Sequence Link Count 10.1.2.8 10.1.2.8 10.1.2.8 3 80000021 1 10.1.10.11 10.1.10.11 10.1.10.11 2 80000002 1 LS Database: Network Link DR Interface LSID ADV Router Age Sequence 100.1.2.2/24 100.1.2.2 10.1.2.8 3 80000001 LS Database: AS External Link Network Address LSID AS Boundary Router Age Sequence 10.1.1.0/24 10.1.1.0 10.1.2.8 778 80000005