コンフィグレーションガイド
- <この項の構成>
- (1) 設定内容の概要
- (2) 構成図と設定条件
- (3) コンフィグレーション例
(1) 設定内容の概要
複数のOSPF隣接ルータが存在するネットワークで,BFD監視をします。
(2) 構成図と設定条件
- [構成図]
図9-17 構成図
- [設定条件]
- <本装置Aの環境>
- 各ルータ間の経路制御はOSPFを使用します。
- BFD監視によって,各ルータ間の障害を検出します。
- <本装置B/Cの環境>
- 各ルータ間の経路制御はOSPFを使用します。
- BFD監視によって,各ルータ間の障害を検出します。
- 本装置B/C−PC間ではOSPFパケットを送受信しません。PC上のデフォルトルートを使用します。
(PC上でOSPFプロトコルを動作させないとします)
(3) コンフィグレーション例
- [コマンドによる設定]
- <本装置A>
1 (config)# routerid 10.1.1.1 2 (config)# ospf domain 1 yes [ospf domain 1] 3 (config)# backbone [ospf domain 1 backbone] 4 (config)# interface 10.2.1.1 [ospf domain 1 backbone interface 10.2.1.1] 5 (config)# bfd [ospf domain 1 backbone interface 10.2.1.1 bfd] 6 (config)# exit [ospf domain 1 backbone interface 10.2.1.1] 7 (config)# exit [ospf domain 1 backbone] 8 (config)# interface 10.3.1.1 [ospf domain 1 backbone interface 10.3.1.1] 9 (config)# bfd [ospf domain 1 backbone interface 10.3.1.1 bfd] 10 (config)# exit [ospf domain 1 backbone interface 10.3.1.1] 11 (config)# exit [ospf domain 1 backbone] 12 (config)# exit表9-59 本装置Aのコンフィグレーション解説
解説番号 解説 1 自装置のルータIDを定義します。 2,3 バックボーンエリアを定義します。 4〜7 エリア内のインタフェース10.2.1.1を定義します。また,BFD監視することを定義します。 8〜12 エリア内のインタフェース10.3.1.1を定義します。また,BFD監視することを定義します。
- <本装置B>
1 (config)# routerid 10.2.1.2 2 (config)# ospf domain 1 yes [ospf domain 1] 3 (config)# backbone [ospf domain 1 backbone] 4 (config)# interface 10.2.1.2 [ospf domain 1 backbone interface 10.2.1.2] 5 (config)# bfd [ospf domain 1 backbone interface 10.2.1.2 bfd] 6 (config)# exit [ospf domain 1 backbone interface 10.2.1.2] 7 (config)# exit [ospf domain 1 backbone] 8 (config)# interface 10.2.2.1 [ospf domain 1 backbone interface 10.2.2.1] 9 (config)# passive [ospf domain 1 backbone interface 10.2.2.1] 10 (config)# exit [ospf domain 1 backbone] 11 (config)# interface 10.3.1.2 [ospf domain 1 backbone interface 10.3.1.2] 12 (config)# bfd [ospf domain 1 backbone interface 10.3.1.2 bfd] 13 (config)# exit [ospf domain 1 backbone interface 10.3.1.2] 14 (config)# exit [ospf domain 1 backbone] 15 (config)# exit表9-60 本装置Bのコンフィグレーション解説
解説番号 解説 1 自装置のルータIDを定義します。 2,3 バックボーンエリアを定義します。 4〜7 エリア内のインタフェース10.2.1.2を定義します。また,BFD監視することを定義します。 8〜10 バックボーンエリア内のインタフェース10.2.2.1を定義します。passive指定は該当インタフェースでOSPFパケットを送受信しないことを意味します。 11〜15 エリア内のインタフェース10.3.1.2を定義します。また,BFD監視することを定義します。
- <本装置C>
1 (config)# routerid 10.3.1.3 2 (config)# ospf domain 1 yes [ospf domain 1] 3 (config)# backbone [ospf domain 1 backbone] 4 (config)# interface 10.3.1.3 [ospf domain 1 backbone interface 10.3.1.3] 5 (config)# bfd [ospf domain 1 backbone interface 10.3.1.3 bfd] 6 (config)# exit [ospf domain 1 backbone interface 10.3.1.3] 7 (config)# exit [ospf domain 1 backbone] 8 (config)# interface 10.3.2.1 [ospf domain 1 backbone interface 10.3.2.1] 9 (config)# passive [ospf domain 1 backbone interface 10.3.2.1] 10 (config)# exit [ospf domain 1 backbone] 11 (config)# interface 10.2.1.3 [ospf domain 1 backbone interface 10.2.1.3] 12 (config)# bfd [ospf domain 1 backbone interface 10.2.1.3 bfd] 13 (config)# exit [ospf domain 1 backbone interface 10.2.1.3] 14 (config)# exit [ospf domain 1 backbone] 15 (config)# exit表9-61 本装置Cのコンフィグレーション解説
解説番号 解説 1 自装置のルータIDを定義します。 2,3 バックボーンエリアを定義します。 4〜7 エリア内のインタフェース10.3.1.3を定義します。また,BFD監視することを定義します。 8〜10 バックボーンエリア内のインタフェース10.3.2.1を定義します。passive指定は該当インタフェースでOSPFパケットを送受信しないことを意味します。 11〜15 エリア内のインタフェース10.2.1.3を定義します。また,BFD監視することを定義します。
- [コンフィグレーションの表示]
- <本装置A>
routerid 10.1.1.1 ! ospf domain 1 yes backbone interface 10.2.1.1 bfd interface 10.3.1.1 bfd
- <本装置B>
routerid 10.2.1.2 ! ospf domain 1 yes backbone interface 10.2.1.2 bfd interface 10.2.2.1 passive interface 10.3.1.2 bfd
- <本装置C>
routerid 10.3.1.3 ! ospf domain 1 yes backbone interface 10.2.1.3 bfd interface 10.3.1.3 bfd interface 10.3.2.1 passive
Copyright (c)2005, 2011, ALAXALA Networks Corporation. All rights reserved.