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

[目次][用語][索引][前へ][次へ]


12.3.3 OSPFv3プロトコル(仮想リンク)

<この項の構成>
(1) 設定内容の概要
(2) 構成図と設定条件
(3) コンフィグレーション例

(1) 設定内容の概要

センタと複数の拠点を持つネットワークにおいて,センタ−拠点間の通信経路をOSPFv3プロトコルにより制御します。

(2) 構成図と設定条件

[構成図]

図12-9 構成図

[図データ]

[設定条件]

<本装置Aの環境>
  1. 本装置Aは三つのエリア(バックボーンエリア,エリア1,エリア2)に属します。
  2. 本装置A−本装置B/C間の経路制御はOSPFv3を使用します。
  3. エリア1およびエリア2上にエリア3に対する仮想リンクを形成します。
  4. 本装置A−サーバ間ではOSPFv3パケットを送受信しません。

<本装置B/Cの環境>
  1. 本装置A−本装置B/C間の経路制御はOSPFv3を使用します。
  2. 本装置Bにエリア1およびエリア3に対する仮想リンクを形成します。
  3. 本装置Cにエリア2およびエリア3に対する仮想リンクを形成します。

<本装置Dの環境>
  1. 本装置D−本装置B/C間の経路制御はOSPFv3を使用します。
  2. 本装置D−PC間ではOSPFv3パケットを送受信しません。

(3) コンフィグレーション例

[コマンドによる設定]

<本装置A>
 1    (config)# routerid 10.1.1.1
 2    (config)# ospf6 yes
      [ospf6]
 3    (config)# backbone
      [ospf6 backbone]
 4    (config)# interface Department1
      [ospf6 backbone interface Department1]
 5    (config)# passive
      [ospf6 backbone interface Department1]
 6    (config)# exit
      [ospf6 backbone]
 7    (config)# exit
      [ospf6]
 8    (config)# area 1
      [ospf6 area 1]
 9    (config)# interface PointA0
      [ospf6 area 1 interface PointA0]
10    (config)# exit
      [ospf6 area 1]
11    (config)# interface localhost
      [ospf6 area 1 interface localhost]
12    (config)# exit
      [ospf6 area 1]
13    (config)# exit
      [ospf6]
14    (config)# backbone
      [ospf6 backbone]
15    (config)# virtuallink neighborid 10.1.1.2 transitarea 1
      [ospf6 backbone virtuallink neighborid 10.1.1.2 transitarea 1]
16    (config)# exit
      [ospf6 backbone]
17    (config)# exit
      [ospf6]
18    (config)# area 2
      [ospf6 area 2]
19    (config)# interface PointA1
      [ospf6 area 2 interface PointA1]
20    (config)# exit
      [ospf6 area 2]
21    (config)# exit
      [ospf6]
22    (config)# backbone
      [ospf6 backbone]
23    (config)# virtuallink neighborid 10.1.1.3 transitarea 2
      [ospf6 backbone virtuallink neighborid 10.1.1.3 transitarea 2]
24    (config)# exit
      [ospf6 backbone]
25    (config)# exit
      [ospf6]
26    (config)# exit

表12-27 本装置Aのコンフィグレーション解説

解説番号 解説
1 自装置のルータIDを定義します。
2〜7 OSPFv3プロトコルを動作させるとともに,バックボーンエリアおよびエリア内のインタフェースを定義します。passive指定は当該インタフェースでOSPFv3パケットを送受信しないことを意味します。
8〜13 エリア1およびエリア内のインタフェースを定義します。
14〜17 エリア3に対する通過エリア1の仮想リンクを定義します。
18〜21 エリア2およびエリア内のインタフェースを定義します。
22〜26 エリア3に対する通過エリア2の仮想リンクを定義します。

<本装置B>
 1    (config)# routerid 10.1.1.2
 2    (config)# ospf6 yes
      [ospf6]
 3    (config)# area 1
      [ospf6 area 1]
 4    (config)# interface PointB0
      [ospf6 area 1 interface PointB0]
 5    (config)# exit
      [ospf6 area 1]
 6    (config)# interface localhost
      [ospf6 area 1 interface localhost]
 7    (config)# exit
      [ospf6 area 1]
 8    (config)# exit
      [ospf6]
 9    (config)# backbone
      [ospf6 backbone]
10    (config)# virtuallink neighborid 10.1.1.1 transitarea 1
      [ospf6 backbone virtuallink neighborid 10.1.1.1 transitarea 1]
11    (config)# exit
      [ospf6 backbone]
12    (config)# exit
      [ospf6]
13    (config)# area 3
      [ospf6 area 3]
14    (config)# interface OfficeB0
      [ospf6 area 3 interface OfficeB0]
15    (config)# priority 1
      [ospf6 area 3 interface OfficeB0]
16    (config)# exit
      [ospf6 area 3]
17    (config)# exit
      [ospf6]
18    (config)# backbone
      [ospf6 backbone]
19    (config)# virtuallink neighborid 10.1.1.3 transitarea 3
      [ospf6 backbone virtuallink neighborid 10.1.1.3 transitarea 3]
20    (config)# exit
      [ospf6 backbone]
21    (config)# exit
      [ospf6]
22    (config)# exit

表12-28 本装置Bのコンフィグレーション解説

解説番号 解説
1 自装置のルータIDを定義します。
2〜8 OSPFv3プロトコルを動作させるとともに,エリア1およびエリア内のインタフェースPointB0, localhostを定義します。
9〜12 エリア3に対する通過エリア1の仮想リンクを定義します。
13〜17 エリア3およびエリア内のインタフェースOfficeB0を定義します。
18〜22 エリア1に対する通過エリア3の仮想リンクを定義します。

<本装置C>
 1    (config)# routerid 10.1.1.3
 2    (config)# ospf6 yes
      [ospf6]
 3    (config)# area 2
      [ospf6 area 2]
 4    (config)# interface PointC0
      [ospf6 area 2 interface PointC0]
 5    (config)# exit
      [ospf6 area 2]
 6    (config)# exit
      [ospf6]
 7    (config)# backbone
      [ospf6 backbone]
 8    (config)# virtuallink neighborid 10.1.1.1 transitarea 2
      [ospf6 backbone virtuallink neighborid 10.1.1.1 transitarea 2]
 9    (config)# exit
      [ospf6 backbone]
10    (config)# exit
      [ospf6]
11    (config)# area 3
      [ospf6 area 3]
12    (config)# interface OfficeC0
      [ospf6 area 3 interface OfficeC0]
13    (config)# priority 1
      [ospf6 area 3 interface OfficeC0]
14    (config)# exit
      [ospf6 area 3]
15    (config)# exit
      [ospf6]
16    (config)# backbone
      [ospf6 backbone]
17    (config)# virtuallink neighborid 10.1.1.2 transitarea 3
      [ospf6 backbone virtuallink neighborid 10.1.1.2 transitarea 3]
18    (config)# exit
      [ospf6 backbone]
19    (config)# exit
      [ospf6]
20    (config)# exit

表12-29 本装置Cのコンフィグレーション解説

解説番号 解説
1 自装置のルータIDを定義します。
2〜6 OSPFv3プロトコルを動作させるとともに,エリア2およびエリア内のインタフェースPointC0を定義します。
7〜10 エリア3に対する通過エリア2の仮想リンクを定義します。
11〜15 エリア3およびエリア内のインタフェースOfficeC0を定義します。
16〜20 エリア2に対する通過エリア3の仮想リンクを定義します。

<本装置D>
 1    (config)# routerid 10.1.1.4
 2    (config)# ospf6 yes
      [ospf6]
 3    (config)# area 3
      [ospf6 area 3]
 4    (config)# interface OfficeD0
      [ospf6 area 3 interface OfficeD0]
 5    (config)# priority 1
      [ospf6 area 3 interface OfficeD0]
 6    (config)# exit
      [ospf6 area 3]
 7    (config)# interface Department4
      [ospf6 area 3 interface Department4]
 8    (config)# passive
      [ospf6 area 3 interface Department4]
 9    (config)# exit
      [ospf6 area 3]
10    (config)# exit
      [ospf6]
11    (config)# exit

表12-30 本装置Dのコンフィグレーション解説

解説番号 解説
1 自装置のルータIDを定義します。
2〜6 OSPFv3プロトコルを動作させるとともに,エリア3およびエリア内のインタフェースOfficeD0を定義します。
7〜11 エリア3内のインタフェースDepartment4を定義します。passive指定は当該インタフェースでOSPFv3パケットを送受信しないことを意味します。

[コンフィグレーションの表示]

<本装置A>
routerid 10.1.1.1
!
ospf6 yes
  backbone
    interface Department1
      passive
    virtuallink neighborid 10.1.1.2 transitarea 1
    virtuallink neighborid 10.1.1.3 transitarea 2
  area 1
    interface localhost
    interface PointA0
  area 2
    interface PointA1

<本装置B>
routerid 10.1.1.2
!
ospf6 yes
  backbone
    virtuallink neighborid 10.1.1.1 transitarea 1
    virtuallink neighborid 10.1.1.3 transitarea 3
  area 1
    interface localhost
    interface PointB0
  area 3
    interface OfficeB0
      priority 1

<本装置C>
routerid 10.1.1.3
!
ospf6 yes
  backbone
    virtuallink neighborid 10.1.1.1 transitarea 2
    virtuallink neighborid 10.1.1.2 transitarea 3
  area 2
    interface PointC0
  area 3
    interface OfficeC0
      priority 1

<本装置D>
routerid 10.1.1.4
!
ospf6 yes
  area 3
    interface Department4
      passive
    interface OfficeD0
      priority 1

[目次][前へ][次へ]


[他社商品名称に関する表示]

Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.