コンフィグレーションガイド Vol.3
- <この項の構成>
- (1) LSA数
- (2) LSAの広告情報
(1) LSA数
OSPFv3で保持しているLSAの数は,show ipv6 ospf database database-summaryコマンドで確認します。
図19-11 show ipv6 ospf database database-summaryコマンドの実行結果
>show ipv6 ospf database database-summary Date 20XX/03/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の広告情報
show ipv6 ospf databaseコマンドではLSAの一覧を表示して,LSAの種別ごとにLSIDやAgeを確認できます。各LSAは,広告元ルータID(Advertising Router)とLSIDによって区別できます。
本装置が次に示すLSAを広告していることを確認してください。
- Router-LSAを広告していること
表示されるLSIDはLSAの識別子です。本装置が広告元のRouter-LSAでは,常に0になります。
- 本装置が指定ルータとなっているインタフェースが存在する場合,Network-LSAを広告していること
表示されるLSIDはインタフェースID(Link-LSAのLSIDと同じ値)です。
- 各インタフェースにLink-LSAを広告していること
表示されるLSIDはインタフェースIDです。
- 本装置がAS境界ルータである場合,広告対象の経路をAS-external-LSAとして広告していること
広告している経路の宛先を確認する場合,show ipv6 ospf database externalコマンドで詳細情報を表示してください。
図19-12 show ipv6 ospf databaseコマンドの実行結果
>show ipv6 ospf database Date 20XX/03/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 192.168.217.123 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: Eth1/3 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: Eth1/4 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 52show ipv6 ospf database externalコマンドでは,AS外経路の宛先Prefix,メトリックなどを確認できます。
図19-13 show ipv6 ospf database externalコマンドの実行結果
> show ipv6 ospf database external Date 20XX/03/14 12:00:00 UTC Domain: 1 Local Router ID: 172.16.251.141 LS Database: AS-external-LSA Advertising Router: 172.16.251.141 LSID: 00000000, Age: 6, Length: 44 Sequence: 80000001, Checksum: 5373 Prefix: 2001:db8:4:1::1/128 Prefix Options: <LocalAddress> Type: 2, Metric: 20, Tag: ----
All Rights Reserved, Copyright(C), 2012, 2019, ALAXALA Networks, Corp.