例:CLNS の IS-IS の設定
この例では、ルーティング インスタンスを作成し、すべてのインターフェイスで IS-IS プロトコルを有効にする方法を示しています。
必要条件
開始する前に、ネットワークインターフェイスを設定します。 セキュリティデバイス向けインターフェイスユーザーガイドを参照してください。
概要
このトピックの設定手順では、aaa と呼ばれるルーティング インスタンスを作成し、すべてのインターフェイスで IS-IS を有効にする方法を説明します。BGP エクスポート ポリシー名(dist-bgp)、ファミリー(ISO)、およびプロトコル(BP)を定義して、エクスポート ポリシーを IS-IS に適用する方法を説明します。
構成
プロシージャ
CLIクイック構成
この例を迅速に設定するには、以下のコマンドをコピーして、テキスト ファイルに貼り付け、改行を削除し、ネットワーク設定に一致させる必要がある詳細情報を変更し、コマンドを [edit] 階層レベルで CLI にコピー アンド ペーストして、設定モードから commit を入力します。
set routing-instances aaaa protocols isis clns-routing set routing-instances aaaa protocols isis interface all set routing-instances aaaa protocols isis no-ipv4-routing no-ipv6-routing set policy-options policy-statement dist-bgp from family iso protocol bgp set policy-options policy-statement dist-bgp then accept set routing-instances aaaa protocols isis export dist-bgp
手順
次の例では、設定階層のいくつかのレベルに移動する必要があります。その方法の詳細については、 設定モードでのCLIエディターの使用を参照してください。
CLNS 用に IS-IS を設定するには、次の手順に従います。
ルーティング インスタンスを設定します。
[edit] user@host# edit routing-instances aaaa
CLNS ルーティングを有効にします。
[edit routing-instances aaaa] user@host# set protocols isis clns-routing
すべてのインターフェイスで IS-IS を有効にします。
[edit routing-instances aaaa] user@host# set protocols isis interface all
(オプション)IPv4 および IPv6 ルーティングを無効にして、純粋な CLNS ネットワークを設定します。
[edit routing-instances aaaa] user@host# set protocols isis no-ipv4-routing no-ipv6-routing
BGPエクスポートポリシー名、ファミリー、プロトコルを定義します。
[edit policy-options] user@host# set policy-statement dist-bgp from family iso protocol bgp
エクスポート・ポリシーのアクションを定義します。
[edit policy-options] user@host# set policy-statement dist-bgp then accept
IS-IS にエクスポート ポリシーを適用します。
[edit routing-instances aaaa] user@host# set protocols isis export dist-bgp
業績
設定モードから、 show routing-instances コマンドを入力して設定を確認します。出力結果に意図した設定内容が表示されない場合は、この例の設定手順を繰り返して設定を修正します。
[edit]
user@host# show routing-instances
aaaa {
protocols {
isis {
export dist-bgp;
no-ipv4-routing;
no-ipv6-routing;
clns-routing;
interface all;
}
デバイスの設定が完了したら、設定モードから commit を入力します。
検証
設定が正常に機能していることを確認します。
CLNSのルーティングインスタンスの検証
目的
ポリシー オプションがルーティング インスタンスで有効になっていることを確認します。
アクション
動作モードから、 show routing-instances コマンドを入力します。