コンフィグレーションガイド Vol.3


25.5.5 LSAの確認

〈この項の構成〉

(1) LSA数

OSPFv3で保持しているLSAの数の確認は,運用コマンドshow ipv6 ospf database database-summaryで行います。

図25‒11 show ipv6 ospf database database-summaryコマンドの実行結果
>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の広告情報

show ipv6 ospf databaseコマンドでは,LSAの一覧を表示します。LSAの種別ごとにLSIDやAgeを確認できます。各LSAは,広告元ルータID(Advertising Router)とLSIDによって区別できます。

本装置が,以下のLSAを広告していることを確認してください。

  1. Router-LSAを広告していること。

    表示されるLSIDは,LSAの識別子です。本装置が広告元のRouter-LSAでは,常に0になります。

  2. 本装置が指定ルータとなっているインタフェースが存在する場合,Network-LSAを広告していること。

    表示されるLSIDは,インタフェースID(Link-LSAのLSIDと同じ値)です。

  3. 各インタフェースに,Link-LSAを広告していること。

    表示されるLSIDは,インタフェースIDです。

  4. 本装置がAS境界ルータである場合,広告対象の経路を,AS-external-LSAとして広告していること。

    なお,広告している経路の宛先を確認する場合,show ipv6 ospf database externalコマンドによって,詳細な情報を表示してください。

    図25‒12 show ipv6 ospf databaseコマンドの実行結果
    >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

show ipv6 ospf database externalコマンドでは,AS外経路の宛先Prefix,メトリックなどを確認できます。

図25‒13 show ipv6 ospf database externalコマンドの実行結果
> 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: ----