例:IS-ISフラッドグループの設定
要件
この例では、以下のハードウェアとソフトウェアのコンポーネントを使用しています。
4 台の MX シリーズ ルーター。
Junos OS リリース 16.2 または将来のリリース。
開始する前に、以下を行います。
ルーターにIS-ISルーティングプロトコルを設定します。
特定のエリア ID を持つ IS-IS インターフェイスを設定し、要件に従ってフラッドの動作を変更します。
概要
Junos OSリリース16.2以降、IS-ISはフラッドグループをサポートしています。
トポロジ
このトポロジーでは、ルーターR2にフラッドグループが設定されています。
![Topology](/documentation/us/en/software/junos/is-is/images/g043541.png)
構成
CLI クイックコンフィギュレーション
この例を迅速に設定するには、以下のコマンドをコピーしてテキスト ファイルに貼り付け、改行を削除し、ネットワーク設定に合わせて必要な詳細を変更してから、 階層レベルの CLI にコマンドを [edit]
コピー アンド ペーストします。
R1
set interfaces ge-0/0/0 description "Connected To R2" set interfaces ge-0/0/0 unit 0 family inet address 81.1.3.3/24 set interfaces ge-0/0/0 unit 0 family iso set interfaces lo0 unit 0 family inet address 81.3.3.3/32 set interfaces lo0 unit 0 family iso address 49.0001.0810.0300.3003.00 set protocols isis interface all set protocols isis interface fxp0.0 disable
R2
set interfaces ge-0/0/1 description "Connected To R3" set interfaces ge-0/0/1 unit 0 family inet address 30.1.1.1/32 set interfaces ge-0/0/1 unit 0 family iso set interfaces ge-0/0/2 description "Connected To R3" set interfaces ge-0/0/2 unit 0 family inet address 40.1.1.1/32 set interfaces ge-0/0/2 unit 0 family iso set interfaces ge-0/0/8 description "Connected To R1" set interfaces ge-0/0/8 unit 0 family inet address 81.1.3.1/24 set interfaces ge-0/0/8 unit 0 family iso set interfaces lo0 unit 0 family inet address 81.1.1.1/32 set interfaces lo0 unit 0 family iso address 49.0001.0810.0100.1001.00 set protocols isis interface all set protocols isis interface fxp0.0 disable
R3
set interfaces ge-0/0/1 description "Connected To R2" set interfaces ge-0/0/1 unit 0 family inet address 30.1.1.2/32 set interfaces ge-0/0/1 unit 0 family iso set interfaces ge-0/0/2 description "Connected To R2" set interfaces ge-0/0/2 unit 0 family inet address 40.1.1.2/32 set interfaces ge-0/0/2 unit 0 family iso set interfaces ge-0/0/8 description "Connected To R4" set interfaces ge-0/0/8 unit 0 family inet address 81.2.4.2/24 set interfaces ge-0/0/8 unit 0 family iso set interfaces lo0 unit 0 family inet address 81.2.2.2/32 set interfaces lo0 unit 0 family iso address 49.0002.0810.0200.2002.00 set protocols isis interface all set protocols isis interface fxp0.0 disable
R4
set interfaces ge-0/0/0 description "Connected To R3" set interfaces ge-0/0/0 unit 0 family inet address 81.2.4.4/24 set interfaces ge-0/0/0 unit 0 family iso set interfaces lo0 unit 0 family inet address 81.4.4.4/32 set interfaces lo0 unit 0 family iso address 49.0002.0810.0400.4004.00 set protocols isis interface all set protocols isis interface fxp0.0 disable
1. commit
各設定の後。
2. R2 で フラッドグループ を設定する前の出力は次のとおりです。R1、R2、R3、および R4 の LSP(リンクステート パケット)が表示されます。
運用モードから、ルーターR1で コマンドを show isis database
実行します。
user@R1> show isis database
user@R1# run show isis database
IS-IS level 1 link-state database:
LSP ID Sequence Checksum Lifetime Attributes
R2.00-00 0x3 0xea11 1175 L1 L2
R1.00-00 0x5 0x34f8 1197 L1 L2
R1.02-00 0x2 0 0 L1 L2
3 LSPs
IS-IS level 2 link-state database:
LSP ID Sequence Checksum Lifetime Attributes
R2.00-00 0x1b 0x2ccc 1175 L1 L2
R3.00-00 0x21 0xb15e 865 L1 L2
R3.02-00 0xb 0xdac3 839 L1 L2
R3.03-00 0xc 0xd1ca 865 L1 L2
R3.04-00 0x8 0x33ff 618 L1 L2
R1.00-00 0xb 0x2cfa 1197 L1 L2
R1.02-00 0x8 0 0 L1 L2
R4.00-00 0xc 0x40c3 621 L1 L2
手順
手順
次の例では、設定階層内のさまざまなレベルに移動する必要があります。CLIのナビゲーションについては、 Junos OS CLIユーザーガイドの設定モードでのCLIエディターの使用を参照してください。
フラッドグループ機能チェック:
ルーターR1およびR2でプロトコルIS-ISを無効化
[edit protocols] user@R1# deactivate protocols isis user@R1# commit
[edit protocols] user@R2# deactivate protocols isis user@R2# commit
ルーターR2のインターフェイスでフラッドグループを設定します。
set protocol isis interface interface flood-group
flood-group-area-ID[edit protocols] user@R2# set protocols isis interface ge-0/0/8.0 flood-group 49.0001 user@R2# commit
ルーターR1とR2でプロトコルIS-ISをアクティブ化し、隣接関係が立ち上がるまで待ちます。
[edit protocols] user@R1# activate protocols isis user@R1# commit
[edit protocols] user@R2# activate protocols isis user@R2# commit
検証
IS-IS データベースの検証
目的
IS-ISデータベースを検証します。
アクション
R2 で フラッドグループ を設定した後の出力を次に示します。 show isis database
ルーターR1では、ルーターR1とルーターR2からのLSPのみが表示されます。フラッドグループは、非自発LSPにのみ適用されます。
運用モードから、ルーターR1で コマンドを show isis database
実行します。
user@R1> show isis database
user@R1# run show isis database
IS-IS level 1 link-state database:
LSP ID Sequence Checksum Lifetime Attributes
R2.00-00 0x2 0x43b9 1123 L1 L2
R1.00-00 0x2 0x8e60 1125 L1 L2
R1.02-00 0x1 0x88e9 1125 L1 L2
3 LSPs
IS-IS level 2 link-state database:
LSP ID Sequence Checksum Lifetime Attributes
R2.00-00 0x1a 0x7485 1148 L1 L2
R1.00-00 0x9 0xddaf 1150 L1 L2
R1.02-00 0x1 0x88e9 1150 L1 L2
3 LSPs