27.5.5 Checking LSA
- <Structure of this section>
(1) LSA
You can use the show ipv6 ospf database database-summary operation command to check how many LSAs are in the OSPFv3 database.
>show ipv6 ospf database database-summary Date 20XX/07/14 12:00:00 UTC Domain: 1 Local Router ID: 172.16.251.141 Area: 0 [Linklocal scope] Link : 1 Opaque-Link : 1 Grace : 0 ------------------------ Total 2 [Area scope] Router : 2 Network : 0 Inter-Area-Prefix: 0 Inter-Area-Router: 1 Intra-Area-Prefix: 1 ------------------------ Total 4 [AS scope] External: 1 > |
(2) LSA advertising info
You can use the show ipv6 ospf database command to display a list of LSAs. You can also check the LSID and ages for each LSA type. Each LSA can be identified by its advertising router ID (Advertising Router) and LSID.
Confirm that LSA is configured as follows on the Switch:
-
The switch advertises Router-LSA.
LSID in the command output indicates the LSA ID, which is set to 0 for Router-LSA advertised by the Switch.
-
If there is an interface on which the Switch is a designated router, the Switch advertises Network-LSA.
LSID in the command output indicates the interface ID that has the same value as the LSID indicated for Link-LSA.
-
Link-LSA is advertised to each interface.
LSID in the command output indicates the interface ID.
-
If the Switch is an AS border router, it advertises its routes as AS External Link LSAs.
If you want to check the destination of advertised routes, use the show ipv6 ospf database external command to display detailed information.
Figure 27-12: Result of executing show ipv6 ospf database command >show ipv6 ospf database Date 20XX/07/14 12:00:00 UTC Domain: 1 Local Router ID: 172.16.251.141 Area: 0 LS Database: Router-LSA Advertising Router LSID Age Sequence Checksum Length 10.0.1.3 00000000 221 8000000b 0dad 40 172.16.251.141 00000000 275 80000002 6d7a 24 LS Database: Network-LSA Advertising Router LSID Age Sequence Checksum Length 10.0.1.3 00000000 221 8000000b 0dad 40 172.16.251.141 00000002 226 80000002 94f6 32 LS Database: Inter-Area-Prefix-LSA Advertising Router LSID Age Sequence Checksum Length 10.0.1.3 00000001 210 80000002 7d89 32 255.255.255.255 00000001 210 80000003 7d89 32 LS Database: Inter-Area-Router-LSA Advertising Router LSID Age Sequence Checksum Length 172.16.251.141 0301000a 262 80000002 4e74 32 172.16.251.143 0301000a 262 80000002 4e74 32 LS Database: Link-LSA Interface: VLAN0003 Advertising Router LSID Age Sequence Checksum Length 10.0.1.3 00000001 336 80000001 87f0 44 172.16.251.141 00000001 399 80000002 7e8d 44 Interface: VLAN0004 Advertising Router LSID Age Sequence Checksum Length 172.16.251.141 00000002 399 80000002 7e8d 44 LS Database: Intra-Area-Prefix-LSA Advertising Router LSID Age Sequence Checksum Length 172.16.251.141 00000001 275 80000002 0d9a 52 AS: LS Database: AS-external-LSA Advertising Router LSID Age Sequence Checksum Length 172.16.251.141 00000001 275 80000002 0d9a 52
You can use the show ipv6 ospf database external command to check information such as the destination prefix and metric of the external AS routes.
> show ipv6 ospf database external Date 20XX/07/14 12:00:00 UTC Domain: 1 Local Router ID: 100.1.1.1 LS Database: AS-external-LSA Advertising Router: 100.1.1.1 LSID: 00000000, Age: 6, Length: 44 Sequence: 80000001, Checksum: 5373 Prefix: 3ffe:4:1::1/128 Prefix Options: <LocalAddress> Type: 2, Metric: 20, Tag: ---- |