例:エリア間フラッディングを制御するためのマルチレベル IS-IS トポロジーの設定
この例では、マルチレベルの IS-IS トポロジーを構成する方法を示します。
必要条件
この例を設定する前に、デバイス初期化以外の特別な設定を行う必要はありません。
概要
OSPFと同様に、IS-ISプロトコルは、エリア間フラッディングを制御するレベルで、ルーティングドメインを複数のエリアに分割することをサポートしています。レベル2(バックボーン)リンク状態PDUは通常レベル1エリアにフラッディングされないため、複数のレベルを使用することでプロトコルの拡張性が向上します。
IS-ISレベル2エリアはOSPFバックボーンエリア(0)に類似していますが、レベル1エリアはOSPFの完全スタブエリアとよく似ています。デフォルトルートは通常、レベル間ルートとAS外部ルートの両方に到達するために使用されます。
OSPF とは異なり、IS-IS エリア境界はルーター間で発生するため、特定のルーティング デバイスは常に特定のエリア内に完全に含まれます。レベル 1 隣接関係は共通のエリア番号を共有するルーター間で形成でき、レベル 2 隣接関係はエリア番号を共有するルーター間で形成できます。
図 1 は、この例で使用されているトポロジーを示しています。
CLI クイック構成は、図 1 のすべてのデバイスの設定を示しています。セクション#configuration69__isis-multi-level-step-by-stepでは、デバイスR5の手順について説明します。
この例には次の特徴があります。
-
デバイスR5は、レベル1/レベル2ルーターとして機能し、デバイスR6とデバイスR7を含むレベル2バックボーンエリア49.0001とレベル1エリア49.0002を相互接続します。
-
システム ID は、デバイスの IPv4 lo0 アドレスに基づきます。
-
個々のインターフェイスが失われても、IS-ISの動作が完全に中断されるわけではありません。
-
すべてのルーターのIPv4 lo0アドレスは、IS-ISを介して到達可能です。
-
デバイスR3とデバイスS1の間のリンクは、エリア内ルートとしてエリア49.0001に表示されます。このインターフェイスでは、IS-IS隣接関係を確立できません。これは、デバイスR3のデバイスS1へのインターフェイスで
passiveステートメントを設定することで実現されます。 -
レベル 2 デバイスのループバック アドレスは、レベル 1 のエリアには表示されません。
-
各デバイス ペアリングには 1 つの隣接関係しかありません。
位相幾何学
構成
プロシージャ
CLIクイック構成
この例をすばやく設定するには、次のコマンドをコピーしてテキストファイルに貼り付け、改行を削除して、ネットワーク構成に合わせて必要な詳細を変更し、 [edit] 階層レベルのCLIにコマンドをコピー&ペーストしてください。
デバイスR3
set interfaces fe-1/2/0 unit 0 description to-R4
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.17/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.21/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.41/30
set interfaces fe-1/2/2 unit 0 description to-S1
set interfaces lo0 unit 0 family inet address 192.168.0.3/32
set interfaces lo0 unit 0 family iso address 49.0001.1921.6800.0003.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface lo0.0 level 1 disable
set protocols isis interface fe-1/2/2.0 passive
デバイス R4
set interfaces fe-1/2/0 unit 0 description to-R3
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.18/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.25/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.4/32
set interfaces lo0 unit 0 family iso address 49.0001.0192.0168.0004.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface lo0.0 level 1 disable
デバイス R5
set interfaces fe-1/2/0 unit 0 description to-R3
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.22/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R4
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.26/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces fe-1/2/2 unit 0 description to-R6
set interfaces fe-1/2/2 unit 0 family inet address 10.0.0.29/30
set interfaces fe-1/2/2 unit 0 family iso
set interfaces fe-1/2/3 unit 0 description to-R7
set interfaces fe-1/2/3 unit 0 family inet address 10.0.0.38/30
set interfaces fe-1/2/3 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.5/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0005.00
set protocols isis interface fe-1/2/0.0 level 1 disable
set protocols isis interface fe-1/2/1.0 level 1 disable
set protocols isis interface fe-1/2/2.0 level 2 disable
set protocols isis interface fe-1/2/3.0 level 2 disable
set protocols isis interface lo0.0 level 1 disable
デバイス R6
set interfaces fe-1/2/0 unit 0 description to-R5
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.30/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R7
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.33/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.6/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0006.00
set protocols isis interface fe-1/2/0.0 level 2 disable
set protocols isis interface fe-1/2/1.0 level 2 disable
set protocols isis interface lo0.0 level 2 disable
デバイス R7
set interfaces fe-1/2/0 unit 0 description to-R6
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.34/30
set interfaces fe-1/2/0 unit 0 family iso
set interfaces fe-1/2/1 unit 0 description to-R5
set interfaces fe-1/2/1 unit 0 family inet address 10.0.0.37/30
set interfaces fe-1/2/1 unit 0 family iso
set interfaces lo0 unit 0 family inet address 192.168.0.7/32
set interfaces lo0 unit 0 family iso address 49.0002.0192.0168.0007.00
set protocols isis interface fe-1/2/0.0 level 2 disable
set protocols isis interface fe-1/2/1.0 level 2 disable
set protocols isis interface lo0.0 level 2 disable
デバイスS1
set interfaces fe-1/2/0 unit 0 family inet address 10.0.0.42/30
set interfaces fe-1/2/0 unit 0 description to-R3
手順
次の例では、設定階層のいくつかのレベルに移動する必要があります。CLIのナビゲーションについては、CLIユーザー・ガイド の コンフィギュレーション・モードでのCLIエディタの使用を参照してください。
マルチレベルIS-ISを設定するには:
-
ネットワークインターフェイスを設定します。
各インターフェイスに ISO アドレス ファミリーを含めることで、インターフェイスで IS-IS を有効にします。
[edit interfaces] user@R5# set fe-1/2/0 unit 0 description to-R3 user@R5# set fe-1/2/0 unit 0 family inet address 10.0.0.22/30 user@R5# set fe-1/2/0 unit 0 family iso user@R5# set fe-1/2/1 unit 0 description to-R4 user@R5# set fe-1/2/1 unit 0 family inet address 10.0.0.26/30 user@R5# set fe-1/2/1 unit 0 family iso user@R5# set fe-1/2/2 unit 0 description to-R6 user@R5# set fe-1/2/2 unit 0 family inet address 10.0.0.29/30 user@R5# set fe-1/2/2 unit 0 family iso user@R5# set fe-1/2/3 unit 0 description to-R7 user@R5# set fe-1/2/3 unit 0 family inet address 10.0.0.38/30 user@R5# set fe-1/2/3 unit 0 family iso -
2つのループバックインターフェイスアドレスを設定します。
1 つは IPv4 用です。
もう 1 つは IS-IS エリア 49.0002 用で、デバイス R5 がエリア 49.0002 の他のレベル 1 デバイスと隣接関係を形成できるようにするためのものです。デバイスR5のNETは、レベル1エリア49.0002に属するものとして自身を識別しますが、そのループバックインターフェイスはレベル1インターフェイスとして設定されていません。これを行うと、デバイスR5のループバックへのルートがレベル1エリアに挿入されます。
[edit interfaces lo0 unit 0] user@R5# set family inet address 192.168.0.5/32 user@R5# set family iso address 49.0002.0192.0168.0005.00 -
インターフェイスごとにIS-ISレベルを指定します。
デバイスR5は、各リンク上の同じレベルで他のルーティングデバイスに隣接します。
デフォルトでは、IS-ISは、ISOプロトコルファミリーが有効になっているすべてのインターフェイス上のIS-ISエリアに対して(
[edit interfaces interface-name unit logical-unit-number]階層レベルで)有効になっています。インターフェイス上の任意の特定のレベルでIS-ISを無効にするには、disableステートメントを含めます。デバイスR5のループバックインターフェイスは、レベル2のみを実行するように設定されています。lo0.0でレベル1動作が有効になっている場合、デバイスR5はレベル1リンク状態PDUにループバックアドレスを含めますが、レベル2デバイスのループバックアドレスがレベル1エリアに表示されてはならないこの例では正しくありません。
OSPF とは異なり、ルーターの lo0 インターフェイスはルーターの NET の送信元であり、IS-IS インターフェイスとして設定する必要があるため、
[edit protocols isis]階層レベルで明示的にリストする必要があります。IS-IS では、lo0 インターフェイスはデフォルトでパッシブ モードで動作します。仮想インターフェイスで隣接関係が形成されないため、これは理想的です。[edit protocols isis] user@R5# set interface fe-1/2/0.0 level 1 disable user@R5# set interface fe-1/2/1.0 level 1 disable user@R5# set interface fe-1/2/2.0 level 2 disable user@R5# set interface fe-1/2/3.0 level 2 disable user@R5# set interface lo0.0 level 1 disable
業績
設定モードから、 show interfaces コマンドと show protocols コマンドを入力して設定を確認します。出力結果に意図した設定内容が表示されない場合は、この例の手順を繰り返して設定を修正します。
user@R5# show interfaces
fe-1/2/0 {
unit 0{
description to-R3;
family inet {
address 10.0.0.22/30;
}
family iso;
}
}
fe-1/2/1 {
unit 0 {
description to-R4;
family inet {
address 10.0.0.26/30;
}
family iso;
}
}
fe-1/2/2 {
unit 0 {
description to-R6;
family inet {
address 10.0.0.29/30;
}
family iso;
}
}
fe-1/2/3 {
unit 0 {
description to-R7;
family inet {
address 10.0.0.38/30;
}
family iso;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.5/32;
}
family iso {
address 49.0002.0192.0168.0005.00;
}
}
}
user@R5# show protocols
isis {
interface fe-1/2/0.0 {
level 1 disable;
}
interface fe-1/2/1.0 {
level 1 disable;
}
interface fe-1/2/2.0 {
level 2 disable;
}
interface fe-1/2/3.0 {
level 2 disable;
}
interface lo0.0 {
level 1 disable;
}
}
デバイスの設定が完了したら、設定モードから commit を入力します。
検証
設定が正常に機能していることを確認します。
インターフェイスとエリアの関連付けの確認
目的
インターフェイスとエリアの関連付けが想定どおりに設定されていることを確認します。
アクション
動作モードから、 show isis interface コマンドを入力します。
user@R5> show isis interface IS-IS interface database: Interface L CirID Level 1 DR Level 2 DR L1/L2 Metric lo0.0 3 0x1 Disabled Passive 0/0 fe-1/2/0.0 2 0x3 Disabled R5.03 10/10 fe-1/2/1.0 2 0x2 Disabled R5.02 10/10 fe-1/2/2.0 1 0x1 R6.02 Disabled 10/10 fe-1/2/3.0 1 0x4 R5.04 Disabled 10/10
意味
出力は、デバイスR5のインターフェイスがISOファミリーで正しく設定され、インターフェイスが正しいレベルに配置されていることを示しています。
また、デバイスR5が、ブロードキャスト可能なIS-ISインターフェイス上の指定中間システム(DIS)として自身を選択していることもわかります。
IS-IS隣接関係の検証
目的
デバイスR5とそのIS-ISネイバーの間に予想される隣接関係が形成されていることを確認します。
アクション
動作モードから、 show isis adjacency detail コマンドを入力します。
user@R5> show isis adjacency detail R3 Interface: fe-1/2/0.0, Level: 2, State: Up, Expires in 25 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:31 ago Circuit type: 2, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.03, IP addresses: 10.0.0.21 R4 Interface: fe-1/2/1.0, Level: 2, State: Up, Expires in 24 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:36 ago Circuit type: 2, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.02, IP addresses: 10.0.0.25 R6 Interface: fe-1/2/2.0, Level: 1, State: Up, Expires in 6 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:20:24 ago Circuit type: 1, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bd Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R6.02, IP addresses: 10.0.0.30 R7 Interface: fe-1/2/3.0, Level: 1, State: Up, Expires in 21 secs Priority: 64, Up/Down transitions: 1, Last transition: 03:19:29 ago Circuit type: 1, Speaks: IP, IPv6, MAC address: 0:5:85:8f:c8:bc Topologies: Unicast Restart capable: Yes, Adjacency advertisement: Advertise LAN id: R5.04, IP addresses: 10.0.0.37
意味
これらの結果から、デバイスR5に2つのレベル2隣接関係と2つのレベル1隣接関係があることが確認されました。
IS-IS データベースの調査
目的
デバイスR5は、レベル1/レベル2(L1/L2)で接続されたルーターであるため、エリア49.0002に関連するレベル1リンクステートデータベースを調べ、バックボーンルーターからのループバックアドレスがレベル1エリアにアドバタイズされていないことを確認します。
アクション
動作モードから、 show isis database detail コマンドを入力します。
user@R5> show isis database detail IS-IS level 1 link-state database: R5.00-00 Sequence: 0x19, Checksum: 0x7488, Lifetime: 727 secs IS neighbor: R5.04 Metric: 10 IS neighbor: R6.02 Metric: 10 IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up R5.04-00 Sequence: 0x14, Checksum: 0x2668, Lifetime: 821 secs IS neighbor: R5.00 Metric: 0 IS neighbor: R7.00 Metric: 0 R6.00-00 Sequence: 0x17, Checksum: 0xa65, Lifetime: 774 secs IS neighbor: R6.02 Metric: 10 IS neighbor: R7.02 Metric: 10 IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.32/30 Metric: 10 Internal Up IP prefix: 192.168.0.6/32 Metric: 0 Internal Up R6.02-00 Sequence: 0x13, Checksum: 0xd1c0, Lifetime: 908 secs IS neighbor: R5.00 Metric: 0 IS neighbor: R6.00 Metric: 0 R7.00-00 Sequence: 0x17, Checksum: 0xe39, Lifetime: 775 secs IS neighbor: R5.04 Metric: 10 IS neighbor: R7.02 Metric: 10 IP prefix: 10.0.0.32/30 Metric: 10 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up IP prefix: 192.168.0.7/32 Metric: 0 Internal Up R7.02-00 Sequence: 0x13, Checksum: 0x404d, Lifetime: 966 secs IS neighbor: R6.00 Metric: 0 IS neighbor: R7.00 Metric: 0 IS-IS level 2 link-state database: R3.00-00 Sequence: 0x17, Checksum: 0x5f84, Lifetime: 1085 secs IS neighbor: R4.02 Metric: 10 IS neighbor: R5.03 Metric: 10 IP prefix: 10.0.0.16/30 Metric: 10 Internal Up IP prefix: 10.0.0.20/30 Metric: 10 Internal Up IP prefix: 10.0.0.40/30 Metric: 10 Internal Up IP prefix: 192.168.0.3/32 Metric: 0 Internal Up R4.00-00 Sequence: 0x17, Checksum: 0xab3a, Lifetime: 949 secs IS neighbor: R4.02 Metric: 10 IS neighbor: R5.02 Metric: 10 IP prefix: 10.0.0.16/30 Metric: 10 Internal Up IP prefix: 10.0.0.24/30 Metric: 10 Internal Up IP prefix: 192.168.0.4/32 Metric: 0 Internal Up R4.02-00 Sequence: 0x14, Checksum: 0xf2a8, Lifetime: 1022 secs IS neighbor: R3.00 Metric: 0 IS neighbor: R4.00 Metric: 0 R5.00-00 Sequence: 0x1f, Checksum: 0x20d7, Lifetime: 821 secs IS neighbor: R5.02 Metric: 10 IS neighbor: R5.03 Metric: 10 IP prefix: 10.0.0.20/30 Metric: 10 Internal Up IP prefix: 10.0.0.24/30 Metric: 10 Internal Up IP prefix: 10.0.0.28/30 Metric: 10 Internal Up IP prefix: 10.0.0.32/30 Metric: 20 Internal Up IP prefix: 10.0.0.36/30 Metric: 10 Internal Up IP prefix: 192.168.0.5/32 Metric: 0 Internal Up IP prefix: 192.168.0.6/32 Metric: 10 Internal Up IP prefix: 192.168.0.7/32 Metric: 10 Internal Up R5.02-00 Sequence: 0x14, Checksum: 0x6135, Lifetime: 977 secs IS neighbor: R4.00 Metric: 0 IS neighbor: R5.00 Metric: 0 R5.03-00 Sequence: 0x14, Checksum: 0x1483, Lifetime: 1091 secs IS neighbor: R3.00 Metric: 0 IS neighbor: R5.00 Metric: 0
意味
この表示は、デバイス R5 のループバック インターフェイスがレベル 2 のみを実行するように正しく設定されていることを示します。lo0.0でレベル1動作が有効になっている場合、デバイスR5はレベル1リンク状態PDUにループバックアドレスを含めます。
また、デバイスR5に、隣接するネイバーから受信したレベル2のリンク状態PDUがあることもわかります。
OSPF 完全スタブ エリアと同様に、デフォルトでは、バックボーン(レベル 2)や外部プレフィックスがレベル 1 エリアにリークされることはありません。ただし、デバイスR5のレベル2リンク状態PDUに見られるように、レベル1プレフィックスはIS-ISバックボーンにリークされます。