例:ポイントツーマルチポイント LSP を使用した NG-VPLS
この例では、ポイントツーマルチポイント LSP を使用して次世代 VPLS(NG_VPLS)を設定する方法を示します。トポロジーを 図 1 と 図 2 に示します。この例は、次のセクションで構成されています。
必要条件
表 1 は、この例で使用するハードウェアと必要なソフトウェアをリストしています。
機器 | コンポーネントソフトウェア | |
---|---|---|
MXシリーズ5Gユニバーサルルーティングプラットフォーム x 6 |
DPC-4 10GE-X、DPC-40 1GE-X |
Junos OS リリース 9.3R4 以降 |
1 つの T Series コア ルーター |
FPC3、10GE-Xenpak |
Junos OS リリース 9.3R4 以降 |
EX4200イーサネットスイッチ x 8 |
EX4200 仮想スイッチ |
Junos OS リリース 9.3R4 以降 |
1台のM7iマルチサービスエッジルーター |
ギガビット イーサネット インターフェイス |
Junos OS リリース 9.3R4 以降 |
概要とトポロジー
NG-VPLSの例の論理トポロジーを 図1に示します。

この例のルーターは、以下で事前設定されています。
OSPF エリア 0 は、トラフィック制御を有効にしたすべての PE ルーターと P ルーターで設定されています。
すべてのコアに面するインターフェイスは、
mpls
プロトコルアドレスファミリーで設定されています。RSVPおよびMPLSプロトコルは、すべてのコアに面するインターフェイスに対して有効です。
すべてのMXシリーズルーターのネットワークサービスモードがイーサネットに設定されています。ネットワークサービスモードは、
network-services
ステートメントを含め、ethernet
オプションを指定することで設定されます。すべてのPEルーターは、自律システム
65000
用に設定されています。
NG-VPLSの例の物理トポロジーを 図2に示します。トポロジーは、コアの冗長リンクで接続された6台のMXシリーズルーターで構成されています。4台のMXシリーズルーターはPEルーターとして機能し、2台はコアルーターです。

次のトポロジの詳細に注意してください。
ルートリフレクタは、BPG-VPLSのすべてのPEルーターにファミリー
l2-vpn
ルートを反映するようにトポロジーで設定されます。GOLD VPLSルーティング インスタンスは、各PEルーターに2つのサイトで構成されています。
1 つの GOLD サイトは CE ルーターに接続され、もう 1 つは各 PE ルーターのテスト機器に直接接続されています。
no-tunnel-services
ステートメントは、VPLSトンネルサービスにLSIインターフェイスを使用できるようにするために、GOLD VPLSインスタンスに含まれています。ルーターCE1とルーターCE2は、CEルーターとして動作するEXシリーズ・バーチャルシャーシ・スイッチです。
ルーターCE3は、CEルーターとして動作するM7iルーターです。
2 つのマルチキャスト ソースが設定されています。1つはルーターCE1(サイト1)に接続され、もう1つはルーターPE2(サイト4)に接続され、さまざまなシナリオをシミュレートします。
ルーターCE1は、ランデブーポイント(RP)として設定されています。
ユニキャスト トラフィックは、すべてのテスト機器ポートで有効になっており、GOLD VPLS インスタンス内のすべてのサイトに送信されます。
構成
この例では、ポイントツーマルチポイント LSP を使用して次世代 VPLS を設定する方法を示します。この章は、次のセクションで構成されています。
- PE ルーター インターフェイスの設定
- BGP ベースの VPLS のすべての PE ルーターのルート リフレクタの設定
- ルートリフレクタによるBGPベースVPLSの確立
- PEルーター間のポイントツーポイントLSPの設定
- PE ルーター間の動的および静的ポイントツーマルチポイント LSP の設定
- ポイントツーマルチポイント リンク保護の設定
- NG-VPLS の BGP ベース VPLS ルーティング インスタンスの設定
- VPLS のトンネル サービスの設定
- コントロールプレーンの検証
- データプレーンの検証
- 業績
PE ルーター インターフェイスの設定
手順
顧客側のPEインターフェイスで、VLANタギングを有効にし、カプセル化タイプを設定し、VPLSアドレスファミリーを有効にします。VPLSルーティングインスタンスには、ニーズに応じて選択できる4つのインターフェイスカプセル化があります。
ネットワークで、PEルーターとCEルーターリンク上の各論理インターフェイスが、VLAN ID
1000
のパケットのみを受け入れるように設定する必要がある場合、vlan-tagging
ステートメント、encapsulation
ステートメントをインクルードし、カプセル化タイプとしてvlan-vpls
を指定します。また、vlan-id
ステートメントを含め、VLAN IDとして1000
を指定します。[edit interfaces] ge-1/1/0 { vlan-tagging; encapsulation vlan-vpls; unit 1 { encapsulation vlan-vpls; vlan-id 1000; family vpls; } }
この設定では、異なるVLAN IDを持つ複数の論理インターフェイスを設定し、各論理インターフェイスを異なるルーティング インスタンスに関連付けることができます。
ネットワークで、PE ルーターと CE ルーター リンク上の各物理インターフェイスが、単一の VPLS インスタンスの一部としてイーサネット ポート全体を使用するように設定する必要がある場合、
encapsulation
ステートメントを含め、カプセル化タイプとしてethernet-vpls
を指定します。[edit interfaces] ge-1/2/0 { encapsulation ethernet-vpls; unit 0 { family vpls; } }
このカプセル化モードでは、複数の論理ユニット(VLAN)を作成することはできません。
ネットワークで、PEルーター上の単一の物理インターフェイスの各論理インターフェイスを、異なるカプセル化を組み合わせて使用するように設定する必要がある場合、
encapsulation
ステートメントをインクルードし、[edit interfaces interface-name]
階層レベルでカプセル化タイプとしてflexible-ethernet-services
を指定します。また、encapsulation
ステートメントを含め、[edit interfaces interface-name unit logical-unit-number]
階層レベルでカプセル化タイプとしてvlan-vpls
またはvlan-ccc
を指定します。[edit interfaces] ge-1/2/0 { vlan-tagging; encapsulation flexible-ethernet-services; unit 1 { encapsulation vlan-vpls; } unit 2 { encapsulation vlan-ccc; } }
ネットワークが、単一の物理インターフェイス上の異なる論理インターフェイスに設定された単一およびデュアルタグ付きVLANの混在の使用をサポートする必要がある場合、
encapsulation
ステートメントを含み、カプセル化タイプとしてflexible-vlan-tagging
を指定します。コアに面するCEルーター・インターフェイスを設定します。CEルーターとPEルーターの論理インターフェイス設定は、カプセル化タイプとVLAN IDが一致する必要があります。CE デバイスがルーターであり、レイヤー 2 ドメインをレイヤー 3 ネットワークに終端する場合、通常、IP アドレスはコアに面する CE ルーター インターフェイスで設定されます。この例では、インターフェイスは、
1000
のVLAN IDを持つ単一タギング用に設定されています。[edit interfaces] ge-1/1/0 { vlan-tagging; unit 1 { vlan-id 1000; family inet { address 198.51.100.4/24; } } }
BGP ベースの VPLS のすべての PE ルーターのルート リフレクタの設定
手順
ルートリフレクタの設定は、BGPベースのサービス提供を有効にするための好ましい方法です。ルートリフレクタを設定することで、BGPピアセッションのフルメッシュという要件を回避し、拡張性も良好です。BGPの冗長性は、単一のクラスタ内で複数のルートリフレクタを使用することで実現できます。
BGP がレイヤ 2 VPN および VPLS NLRI メッセージを伝送できるようにするには、ピア グループを作成し、
family
ステートメントを含め、l2vpn
オプションを指定し、signaling
ステートメントを含めます。ルートリフレクタクラスタを設定し、BGPピアセッションを完了するには、cluster
ステートメントをインクルードし、クラスタIDのIPアドレスを指定します。次に、neighbor
ステートメントをインクルードし、クラスタ内の BGP クライアントピアである PE ルーターの IP アドレスを指定します。[edit protocols] bgp { group RR { type internal; local-address 192.0.2.7; family l2vpn { signaling; } cluster 192.0.2.7; neighbor 192.0.2.1; # To PE1 neighbor 192.0.2.2; # To PE2 neighbor 192.0.2.3; # To PE3 neighbor 192.0.2.4; # To PE4 } }
OSPF を設定し、ルート リフレクタでトラフィック制御を有効にして、PE ルーターから終端するエグレス LSP の CSPF(制限付き最短パス ファースト)データベースを作成します。
[edit protocols] ospf { traffic-engineering; area 0.0.0.0 { interface all; interface fxp0.0 { disable; } } }
MPLS コアに接続されたすべてのインターフェイスで MPLS プロトコルと RSVP プロトコルを有効にします。これにより、PE ルーターからの RSVP エグレス LSP が終了します。
[edit protocols] rsvp { interface all; interface fxp0.0 { disable; } } mpls { interface all; interface fxp0.0 { disable; } }
ルートリフレクタによるBGPベースVPLSの確立
手順
BGP ベースの VPLS では、すべての PE ルーターが互いに BGPピア セッションのフルメッシュを持っているか、ルート リフレクタと単一のピアを持っている必要があります。ルートリフレクタは、他のPEルーターから受信したルートを反映します。この例では、PE ルーターはルート リフレクタとピア関係を確立するように設定されています。
すべての PE ルーターがルートリフレクタとの BGP クライアントピアセッションを確立するには、内部ピアグループを作成し、
local-address
ステートメントをインクルードして、PE ルーターの IP アドレスを指定します。また、neighbor
ステートメントを含め、ルート リフレクタの IP アドレスを指定します。BGP がレイヤ 2 VPN および VPLS NLRI メッセージを伝送できるようにするには、family
ステートメントを含め、l2vpn
オプションを指定し、signaling
ステートメントを含めます。[edit protocols] bgp { group to-RR { type internal; local-address 192.0.2.1; family l2vpn { signaling; } neighbor 192.0.2.7; # To the route reflector } }
PE ルーターからルート リフレクタへのポイントツーポイント RSVP LSP を設定します。LSP を作成するには、
label-switched-path
ステートメントを含め、LSP に意味のある名前を付け、to
ステートメントをインクルードし、ルート リフレクタの IP アドレスを LSP エンドポイントとして指定します。このLSPは、ルートリフレクタから受信したルートのinet.3
ルーティングテーブルでBGPネクストホップを解決するために必要です。[edit protocols] mpls { label-switched-path to-RR { to 192.0.2.7; } interface all; interface fxp0.0 { disable; } }
PEルーター間のポイントツーポイントLSPの設定
手順
次世代VPLSでは、ポイントツーマルチポイントLSPは、ブロードキャスト、マルチキャスト、および不明なユニキャストフレームのトランスポートにのみ使用されます。その他のフレームは、引き続きポイントツーポイント RSVP LSP を使用して転送されます。これは、特に未知のフレーム、ブロードキャストフレーム、およびマルチキャストフレームのソースの近くで、帯域幅のより効率的な使用です。各 PE ルーターは他のすべての PE ルーターと接触する 1 つのポイントツーマルチポイント LSP のイングレスであり、他の PE ルーターに 1 つずつ、 n つのポイントツーポイント LSP が必要になるため、トレードオフはネットワーク内のより多くの状態になります。
ポイントツーポイント LSP を作成するには、
label-switched-path
ステートメントを含め、LSP に意味のある名前を付け、to
ステートメントをインクルードし、LSP エンドポイントとして他の PE ルーターの IP アドレスを指定します。この例は、ルーターPE1からルーターPE2、PE3、およびPE4へのLSPの設定を示しています。[edit protocols] mpls { label-switched-path to-PE2 { to 192.0.2.2; } label-switched-path to-PE3 { to 192.0.2.3; } label-switched-path to-PE4 { to 192.0.2.4; } }
PE ルーター間の動的および静的ポイントツーマルチポイント LSP の設定
手順
この手順では、動的なポイントツーマルチポイントLSPの作成を有効にする方法と、静的なポイントツーマルチポイントLSPを設定する方法を説明します。静的なポイントツーマルチポイント LSP で設定されたルーターでは、LSP は直ちに立ち上がります。動的なポイントツーマルチポイント LSP で構成されたルーターでは、ルート リフレクタまたは VPLS ドメインに参加している他の PE ルーターから BGP ネイバー情報を受信した後にのみ、LSP が立ち上がります。
各VPLSインスタンスでは、動的ポイントツーマルチポイントLSPを有効にしたPEルーターが、ポイントツーマルチポイントテンプレートに基づいて専用のポイントツーマルチポイントLSPを作成します。VPLSがBGPを介して新しいネイバーを発見するたびに、このネイバーのサブLSPがポイントツーマルチポイントLSPに追加されます。
VPLSインスタンスに n PEルーターがある場合、ルーターはネットワーク内に n ポイントツーマルチポイントLSPを作成します。各PEルーターはツリーのルートであり、残りの n-1 PEルーターはソースツーリーフのサブLSPを介して接続されたリーフノードとして含まれます。
このステップでは、LSP作成に動的ポイントツーマルチポイントLSPテンプレートを使用するように、ルーターPE1とルーターPE2を設定します。これらのルーターは、新しいネイバーのルートリフレクタからアドバタイズされた新しいBGPルートを受信すると、そのネイバーへのポイントツーマルチポイントサブLSPを作成します。動的なポイントツーマルチポイントLSPテンプレートを作成するには、
label-switched-path
をインクルードし、LSP テンプレートに意味のある名前を付け、template
ステートメントをインクルードし、p2mp
ステートメントを含めます。また、リンク保護を有効にし、LSPパスを定期的に再最適化するように最適化タイマーを設定します。[edit protocols] mpls { label-switched-path vpls-GOLD-p2mp-template { template; # identify as a template optimize-timer 50; link-protection; # link protection is enabled on point-to-multipoint LSPs p2mp; } }
このステップでは、静的なポイントツーマルチポイントLSPを設定します。 静的なポイントツーマルチポイント LSP の作成は、ポイントツーポイント LSP の作成と似ていますが、各ポイントツーマルチポイント LSP の下で他の RSVP パラメータも設定できる点が異なります。
静的なポイントツーマルチポイント LSP を作成するには、
label-switched-path
ステートメントを含め、LSP に意味のある名前を付け、to
ステートメントをインクルードし、LSP のエンドポイントである PE ルーターの IP アドレスを指定します。また、p2mp
ステートメントを含め、パス名を指定します。[edit protocols] mpls { label-switched-path to-pe2 { to 192.0.2.2; p2mp vpls-GOLD; } label-switched-path to-pe3 { to 192.0.2.3; p2mp vpls-GOLD; } label-switched-path to-pe1 { to 192.0.2.1; p2mp vpls-GOLD; } }
ポイントツーマルチポイント リンク保護の設定
手順
ポイントツーマルチポイント LSP は、トラフィック制御のための RSVP リンク保護のみをサポートします。ノード保護はサポートされていません。リンク保護はオプションですが、ほとんどのネットワークで推奨される設定です。
コアに面するインターフェイスでリンク保護を有効にするには、
[edit protocols rsvp interface interface-name]
階層レベルでlink-protection
ステートメントを含めます。[edit protocols] rsvp { interface all; interface fxp0.0 { disable; } interface xe-0/3/0.0 { link-protection; } interface xe-0/2/0.0 { link-protection; } interface xe-0/1/0.0 { link-protection; } }
ポイントツーマルチポイント LSP が RSVP リンク保護機能を使用できるようにします。リンクプロテクションは、テンプレートを使用する静的ポイントツーマルチポイントと動的ポイントツーマルチポイントLSPの両方に設定できます。
静的なポイントツーマルチポイント LSP の場合、各ブランチ サブ LSP を設定します。リンク保護を有効にするには、
[edit protocols mpls label-switched-path label-switched-path-name]
階層レベルでlink-protection
ステートメントを含めます。[edit protocols mpls label-switched-path] label-switched-path to-pe2 { to 192.0.2.2; link-protection; p2mp vpls-GOLD; } label-switched-path to-pe3 { to 192.0.2.3; link-protection; p2mp vpls-GOLD; } label-switched-path to-pe1 { to 192.0.2.1; link-protection; p2mp vpls-GOLD; }
テンプレートを使用した動的なポイントツーマルチポイント LSP では、テンプレートのみリンク保護を設定する必要があります。テンプレートを使用するすべてのポイントツーマルチポイント ブランチ LSP は、この設定を継承します。
動的なポイントツーマルチポイントLSPのリンクプロテクションを有効にするには、
[edit protocols mpls label-switched-path label-switched-path-name]
階層レベルでlink-protection
ステートメントを含めます。[edit protocols mpls label-switched-path] label-switched-path vpls-GOLD-p2mp-template { template; optimize-timer 50; link-protection; p2mp; }
NG-VPLS の BGP ベース VPLS ルーティング インスタンスの設定
手順
NG-VPLSの場合、ルーティングインスタンスの設定は通常のVPLSルーティング インスタンスの場合と同様です。ルーティング インスタンスは VPLS サイトを定義し、VPLS 接続を作成します。以下のパラメータが設定されています。
インスタンスタイプ – VPLS。
インターフェイス — CE ルーターに接続するインターフェイス。
ルート識別子 – PEルーターで設定する各ルーティング インスタンスには、固有のルート識別子が必要です。ルート識別子は、異なるVPNから受信した潜在的に同一のネットワーク到達可能性情報(NLRI)メッセージを区別するためにBGPによって使用されます。どの PE がルートを発信したかを判断できるように、各 PE 上の各ルーティング インスタンスに一意のルート識別素を使用することを推奨します。
[VRF ターゲット(VRF Target)]:
vrf-target
ステートメントを使用して VRF ターゲット コミュニティを設定すると、インポートされたルートを受け入れ、エクスポートされたルートに指定されたターゲット コミュニティをタグ付けするデフォルトの VRF インポートおよびエクスポート ポリシーが生成されます。プロトコル – VPLS プロトコルを以下の手順で説明するように設定します。
NG-VPLSルーティング インスタンスを設定するには、
routing-instances
ステートメントを含め、インスタンス名を指定します。また、instance-type
ステートメントを含め、タイプとしてvpls
を指定します。route-distinguisher
ステートメントを含め、ルーターに設定されたすべてのVPNで一意のルート識別を指定します。vrf-target
ステートメントを含めて VRF ルート ターゲットを設定し、ルート ターゲットを指定します。あるルーターによってエクスポートされたルートターゲットは、同じVPLSに対して別のルーターによってインポートされたルートターゲットと一致する必要があります。[edit] routing-instances { GOLD { instance-type vpls; interface ge-1/0/0.1; interface ge-1/1/0.1; route-distinguisher 192.0.2.1:1; vrf-target target:65000:1; } }
VPLSフラッディングにポイントツーマルチポイントLSPを使用するには、VPLSルーティング インスタンスの下にLSPを設定します。
VPLSフラッディングにポイントツーマルチポイントLSPを設定するには、
label-switched-path-template
ステートメントをインクルードし、[edit routing-instances routing-instances-name provider-tunnel rsvp-te]
階層レベルでLSPテンプレートの名前を指定します。[edit] routing-instances { GOLD { instance-type vpls; interface ge-1/0/0.1; interface ge-1/1/0.1; route-distinguisher 192.0.2.1:1; provider-tunnel { rsvp-te { label-switched-path-template { vpls-GOLD-p2mp-template; } } } vrf-target target:65000:1; } }
VPLSプロトコルを設定すると、VPLSドメイン内の異なるサイト間でVPLSが有効になります。1つのVPLSルーティング インスタンスで複数のサイトを設定できますが、他のPEルーターへのVPLS疑似回線を構築するために最も低いサイトIDが使用され、最も低いサイトIDに関連付けられたラベルブロックがアドバタイズされることに注意してください。VPLSプロトコルには、以下のパラメータが設定されています。
Site (サイト) — VPLS サイトの名前。
[サイト範囲(Site Range)]:VPLS で許可される最大サイト ID。サイト範囲は、VPLS内のサイト数ではなく、VPLS内で許可される最大値のサイトIDを指定します。
サイト識別子 – VPLS サイトを一意に識別する 1 から 65,534 までの任意の番号。これは、関連するRFCではVE-IDとも呼ばれています。
PE-CE インターフェイス – このサイトに参加しているインターフェイス。
VPLSのトンネルサービス:
[edit protocol vpls tunnel-services]
階層でトンネルインターフェイスを設定しない場合、ルーターはVPLSのルーターで利用可能な任意のトンネルインターフェイスを使用します。No-tunnel-services –
no-tunnel-services
ステートメントを含めると、ルーターはそのVPLSインスタンスのトンネルサービスにラベルスイッチインターフェイス(LSI)を使用します。[MAC テーブル サイズ(Mac Table Size)]:VPLS メディア アクセス制御(MAC)アドレス テーブルのサイズ。デフォルトは 512 アドレスで、最大値は 65,536 です。テーブルがいっぱいになると、新しいMACアドレスはテーブルに追加されなくなります。
VPLSプロトコルを設定するには、
[edit routing-instances routing-instance-name protocols]
階層レベルでvpls
ステートメントを含めます。サイト範囲を設定するには、site-range
ステートメントを含め、VPLS内で許可された最大値のサイトIDを指定します。ルーターにLSIインターフェイスを使用させるには、no-tunnel-services
ステートメントを含めます。VPLSサイトを作成するには、site
ステートメントを含め、サイト名を指定します。また、site-identifier
ステートメントを含め、サイトIDを指定します。次に、interface
ステートメントを含め、CEデバイスに接続されたインターフェイスのインターフェイス名を指定します。[edit] routing-instances { GOLD { instance-type vpls; interface ge-1/0/0.1; interface ge-1/1/0.1; route-distinguisher 192.0.2.1:1; provider-tunnel { rsvp-te { label-switched-path-template { vpls-GOLD-p2mp-template; } } } vrf-target target:65000:1; protocols { vpls { site-range 8; no-tunnel-services; site CE1 { site-identifier 1; interface ge-1/0/0.1; } site Direct { site-identifier 2; interface ge-1/1/0.1; } } } } }
VPLS のトンネル サービスの設定
手順
トンネル インターフェイスは、VPLS 設定で発信元トラフィックをカプセル化し、リモート サイトからのトラフィックのカプセル化を解除するために必要です。トンネル インターフェイスが設定されていない場合、ルーターはデフォルトで、ルーター上で使用可能なトンネル インターフェイスの 1 つを選択します。Junos OS では、このトンネル インターフェイスを設定するのに 3 つの方法があります。
トンネリングのプライマリデバイスとして使用する仮想トンネルインターフェイスを指定するには、
primary
ステートメントを含め、使用する仮想トンネルインターフェイスを[edit routing-instances routing-instance-name protocols vpls tunnel-services]
階層レベルで指定します。[edit routing-instances routing-instance-name] protocols { vpls { site-range 8; tunnel-services { primary vt-1/2/10; } } }
ルーターが仮想トンネル インターフェイスではなく、トンネル サービスに LSI インターフェイスを使用するように設定するには、
[edit routing-instances routing-instance-name protocols vpls]
階層レベルでno-tunnel-services
ステートメントを含めます。[edit routing-instances routing-instance-name] protocols { vpls { site-range 8; no-tunnel-services; } }
MXシリーズ ルーターでは、トンネル サービスに使用するトンネル サービス インターフェイスを作成する必要があります。トンネル サービス インターフェイスを作成するには、
bandwidth
ステートメントを含め、[edit chassis fpc slot-number pic slot-number tunnel-services]
階層レベルでトンネル サービス用に予約する帯域幅の量をギガビット/秒で指定します。[edit chassis] fpc 1 { pic 3 { tunnel-services { bandwidth 1g; } } }
コントロールプレーンの検証
手順
このセクションでは show
コントロールプレーンの検証に使用できるコマンド出力について説明します。また、トラブルシューティングの方法についても説明します。次の点に注意してください。
この例では、6つのサイトがあります。ルーターPE1とルーターPE2には、それぞれ2つのサイトがあります。ルーターPE3とルーターPE4には、それぞれ1つのサイトがあります。すべてのサイトが GOLD VPLS インスタンスにあります。
VPLSでは、単一のVPLSルーティング インスタンスで複数のサイトを設定している場合、サイトIDが最も小さいサイトのラベルブロックを使用して、リモートPE間の疑似配線が確立されます。データ トラフィックは、以下のいずれかの状態にある CE デバイスに接続された PE ルーター インターフェイスに引き続き送信されることに注意してください。
LM – ローカル サイト ID は、指定された最小値ではありません。ローカル サイト ID が最小ではありません。そのため、ローカルサイトIDは、疑似配線の確立やVPLSラベルブロックの配布には使用されません。
RM – リモート・サイト ID は、最小指定ではありません。リモートサイトIDは最低ではありません。そのため、リモートサイトIDは、疑似配線の確立やVPLSラベルブロックの配布には使用されません。
VPLSラベルブロックの割り当て方法と使用方法の詳細については、 VPLSラベルブロック操作についてを参照してください。
全体の設定が完了したら、VPLS接続の状態を確認できます。
次の出力では、VPLS接続は特定のサイトの
Up
状態を示し、残りのサイトはRM
またはLM
状態を示します。これは、マルチホーミング サイトでの VPLS 実装で予期される状態です。この例では、ルーターPE1のサイト
CE1
がサイトID1
で設定され、サイトDirect
がサイトID2
で設定されています。サイトCE1
のラベル ブロックは、リモート PE ルーターにアドバタイズされ、リモート PE ルーターからデータパケットを受信するために使用されます。show
コマンドの出力では、次の点に注目してください。ルーターPE1は、サイトID
1
である最低サイトIDを使用します。サイト ID 1 はデバイスCE1
に使用されます。ルーターPE2は、サイトID
3
である最低サイトIDを使用します。サイト ID 3 はデバイスCE2
に使用されます。ルーターPE3とルーターPE4には、それぞれ1つのサイトが設定されています。
サイト
CE1
では、接続サイト3
はUp
状態、接続サイト4
はRM
状態です。サイト
Direct
の場合、すべての接続がLM
状態です。このルーターでは、サイト
Direct
のサイト ID がサイト1
よりも高くなっています。
ルーターPE1では、
show vpls connections
コマンドを使用してVPLS接続の状態を確認します。user@PE1> show vpls connections Layer-2 VPN connections: Legend for connection status (St) EI -- encapsulation invalid NC -- interface encapsulation not CCC/TCC/VPLS EM -- encapsulation mismatch WE -- interface and instance encaps not same VC-Dn -- Virtual circuit down NP -- interface hardware not present CM -- control-word mismatch -> -- only outbound connection is up CN -- circuit not provisioned <- -- only inbound connection is up OR -- out of range Up -- operational OL -- no outgoing label Dn -- down LD -- local site signaled down CF -- call admission control failure RD -- remote site signaled down SC -- local and remote site ID collision LN -- local site not designated LM -- local site ID not minimum designated RN -- remote site not designated RM -- remote site ID not minimum designated XX -- unknown connection status IL -- no incoming label MM -- MTU mismatch MI -- Mesh-Group ID not availble BK -- Backup connection ST -- Standby connection Legend for interface status Up -- operational Dn -- down Instance: GOLD Local site: CE1 (1) connection-site Type St Time last up # Up trans 3 rmt Up Oct 6 16:27:23 2009 1 Remote PE: 192.0.2.2, Negotiated control-word: No Incoming label: 262171, Outgoing label: 262145 Local interface: lsi.1049353, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 3 4 rmt RM 5 rmt Up Oct 6 16:27:27 2009 1 Remote PE: 192.0.2.3, Negotiated control-word: No Incoming label: 262173, Outgoing label: 262145 Local interface: lsi.1049354, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 5 6 rmt Up Oct 6 16:27:31 2009 1 Remote PE: 192.0.2.4, Negotiated control-word: No Incoming label: 262174, Outgoing label: 800000 Local interface: lsi.1049355, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 6 Local site: Direct (2) connection-site Type St Time last up # Up trans 3 rmt LM 4 rmt LM 5 rmt LM 6 rmt LM
ルーターPE4では、
show vpls connections
コマンドを使用してVPLS接続状態を確認します。サイト
2
とサイト4
がRM
状態であることを確認します。この状態は、サイトがルーターPE1とルーターPE2で最上位のサイトIDで設定されていることを示しています。ルーターPE4は1つのサイトしか設定されていないため、LM
状態のサイトはありません。user@PE4> show vpls connections ... Instance: GOLD Local site: Direct (6) connection-site Type St Time last up # Up trans 1 rmt Up Oct 6 16:28:35 2009 1 Remote PE: 192.0.2.1, Negotiated control-word: No Incoming label: 800000, Outgoing label: 262174 Local interface: vt-1/2/10.1048576, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 6 remote site 1 2 rmt RM 3 rmt Up Oct 6 16:28:35 2009 1 Remote PE: 192.0.2.2, Negotiated control-word: No Incoming label: 800002, Outgoing label: 262150 Local interface: vt-1/2/10.1048577, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 6 remote site 3 4 rmt RM 5 rmt Up Oct 6 16:28:35 2009 1 Remote PE: 192.0.2.3, Negotiated control-word: No Incoming label: 800004, Outgoing label: 262150 Local interface: vt-1/2/10.1048578, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 6 remote site 5
各 PE ルーターで
show bgp summary
コマンドを使用して、PE ルーター間または PE ルーターとルート リフレクター間で IBGP セッションが確立されていることを確認します。PEルーターがレイヤー2 VPNルートを交換する前に、セッションが動作している必要があります。以下の例では、ルーターPE1からの出力が、bgp.l2vpn.0
およびGOLD.l2vpn.0
ルーティングテーブルが作成されていることを示しています。user@PE1> show bgp summary Groups: 1 Peers: 1 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.l2vpn.0 4 4 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State 192.0.2.7 65000 40 39 0 1 15:45 Establ bgp.l2vpn.0: 4/4/4/0 GOLD.l2vpn.0: 4/4/4/0 admin@PE2# run show bgp summary Groups: 1 Peers: 1 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.l2vpn.0 4 4 0 0 0 0 inet6.0 0 0 0 0 0 0 inet.0 0 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State 192.0.2.7 65000 43 42 0 0 17:25 Establ bgp.l2vpn.0: 4/4/4/0 GOLD.l2vpn.0: 4/4/4/0
ルーターPE4では、
show route table
コマンドを使用して、他のPEルーターそれぞれに1つのレイヤー2 VPNルートがあることを確認します。ルーターPE3には、同様のshow
コマンド出力が必要です。user@PE4> show route table bgp.l2vpn.0 bgp.l2vpn.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 192.0.2.1:1:1:1/96 *[BGP/170] 00:23:18, localpref 100, from 192.0.2.7 AS path: I > to 10.10.9.1 via xe-0/0/0.0, label-switched-path to-PE1 192.0.2.1:1:2:1/96 *[BGP/170] 00:23:18, localpref 100, from 192.0.2.7 AS path: I > to 10.10.9.1 via xe-0/0/0.0, label-switched-path to-PE1 192.0.2.2:10:3:1/96 *[BGP/170] 00:23:18, localpref 100, from 192.0.2.7 AS path: I > to 10.10.9.1 via xe-0/0/0.0, label-switched-path to-PE2 192.0.2.2:10:4:1/96 *[BGP/170] 00:23:18, localpref 100, from 192.0.2.7 AS path: I > to 10.10.9.1 via xe-0/0/0.0, label-switched-path to-PE2 192.0.2.3:10:5:1/96 *[BGP/170] 00:23:18, localpref 100, from 192.0.2.7 AS path: I > to 10.10.8.1 via xe-0/1/0.0, label-switched-path to-PE3
ルートリフレクタでは、
show bgp summary
コマンドを使用して、ルーターが各PEルーターとのIBGPピアセッションを持っていることを確認します。user@RR> show bgp summary Groups: 2 Peers: 5 Down peers: 1 Table Tot Paths Act Paths Suppressed History Damp State Pending bgp.l2vpn.0 6 6 0 0 0 0 inet.0 0 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State 192.0.2.1 65000 44 46 0 0 18:27 Establ bgp.l2vpn.0: 2/2/2/0 192.0.2.2 65000 43 45 0 0 18:22 Establ bgp.l2vpn.0: 2/2/2/0 192.0.2.3 65000 42 45 0 0 18:19 Establ bgp.l2vpn.0: 1/1/1/0 192.0.2.4 65000 43 45 0 0 18:15 Establ bgp.l2vpn.0: 1/1/1/0
NG-VPLSでは、ポイントツーマルチポイントLSPは不明のユニキャスト、ブロードキャスト、マルチキャストパケットのみを伝送します。NG-VPLSでは、PEルーター間にポイントツーポイントLSPのフルメッシュが必要です。ポイントツーポイント LSP は、
inet.3
ルーティングテーブルでルートを作成します。これらのエントリーは、BGPピアから受信したレイヤー2 VPNルートを解決するために使用されます。その他のすべてのデータ トラフィックは、ポイントツーポイント LSP を介して送信されます。ルートリフレクタに対してポイントツーポイントLSPも作成されます。このLSPは、BGPネクストホップ解決のためのルートを
inet.3
ルーティングテーブルに作成します。ルーターPE1では、
show mpls lsp
コマンドを使用して、to-PE2
、to-PE3
、to-PE4
、およびto-RR
LSPがUp
状態であることを確認します。user@PE1> show mpls lsp ingress unidirectional Ingress LSP: 7 sessions To From State Rt P ActivePath LSPname 192.0.2.2 192.0.2.1 Up 0 * to-PE2 192.0.2.3 192.0.2.1 Up 0 * to-PE3 192.0.2.4 192.0.2.1 Up 0 * to-PE4 192.0.2.7 192.0.2.1 Up 0 * to-RR Total 4 displayed, Up 4, Down 0 admin@PE2# run show mpls lsp ingress unidirectional Ingress LSP: 7 sessions To From State Rt P ActivePath LSPname 192.0.2.1 192.0.2.2 Up 0 * to-PE1 192.0.2.3 192.0.2.2 Up 0 * to-PE3 192.0.2.4 192.0.2.2 Up 0 * to-PE4 192.0.2.7 192.0.2.2 Up 0 * to-RR Total 4 displayed, Up 4, Down 0 admin@PE3# run show mpls lsp ingress unidirectional Ingress LSP: 7 sessions To From State Rt P ActivePath LSPname 192.0.2.1 192.0.2.3 Up 0 * to-PE1 192.0.2.2 192.0.2.3 Up 0 * to-PE2 192.0.2.4 192.0.2.3 Up 0 * to-PE4 192.0.2.7 192.0.2.3 Up 0 * to-RR Total 4 displayed, Up 4, Down 0 admin@PE4# run show mpls lsp ingress unidirectional Ingress LSP: 7 sessions To From State Rt P ActivePath LSPname 192.0.2.1 192.0.2.4 Up 0 * to-PE1 192.0.2.2 192.0.2.4 Up 0 * to-PE2 192.0.2.3 192.0.2.4 Up 0 * to-PE3 192.0.2.7 192.0.2.4 Up 0 * to-RR Total 4 displayed, Up 4, Down 0
各VPLSインスタンスに対して、PEルーターは専用のポイントツーマルチポイントLSPを作成します。この例では、ルーターPE1とルーターPE2は、ポイントツーマルチポイント動的テンプレートを使用するように設定されています。
動的ポイントツーマルチポイントLSPでは、VPLSがBGPを介して新しいレイヤー2 VPNネイバーを発見するたびに、このネイバーPEルーターのVPLSインスタンスにソースツーリーフサブLSPが追加されます。
ルーターPE1では、
show mpls lsp
コマンドを使用して、3つの送信元からリーフへのサブLSPが作成されていることを確認します。user@PE1> show mpls lsp ingress p2mp Ingress LSP: 1 sessions P2MP name: 192.0.2.1:1:vpls:GOLD, P2MP branch count: 3 To From State Rt P ActivePath LSPname 192.0.2.4 192.0.2.1 Up 0 * 192.0.2.4:192.0.2.1:1:vpls:GOLD 192.0.2.3 192.0.2.1 Up 0 * 192.0.2.3:192.0.2.1:1:vpls:GOLD 192.0.2.2 192.0.2.1 Up 0 * 192.0.2.2:192.0.2.1:1:vpls:GOLD Total 3 displayed, Up 3, Down 0
ルーターPE2では、
show mpls lsp
コマンドを使用して、3つの送信元からリーフへのサブLSPが作成されていることを確認します。user@PE2> show mpls lsp p2mp ingress Ingress LSP: 1 sessions P2MP name: 192.0.2.2:10:vpls:GOLD, P2MP branch count: 3 To From State Rt P ActivePath LSPname 192.0.2.4 192.0.2.2 Up 0 * 192.0.2.4:192.0.2.2:10:vpls:GOLD 192.0.2.3 192.0.2.2 Up 0 * 192.0.2.3:192.0.2.2:10:vpls:GOLD 192.0.2.1 192.0.2.2 Up 0 * 192.0.2.1:192.0.2.2:10:vpls:GOLD Total 3 displayed, Up 3, Down 0
このステップでは、ルーターPE3とルーターPE4は、静的ポイントツーマルチポイントLSPを使用しています。静的なポイントツーマルチポイント LSP の場合、すべての PE ルーターへの送信元からリーフへのサブ LSP は手動で設定されます。
ルーターPE3では、
show mpls lsp
コマンドを使用して、3つの送信元からリーフへのサブLSPが設定されていることを確認します。user@PE3> show mpls lsp p2mp ingress Ingress LSP: 1 sessions P2MP name: vpls-GOLD, P2MP branch count: 3 To From State Rt P ActivePath LSPname 192.0.2.1 192.0.2.3 Up 0 * to-pe1 192.0.2.4 192.0.2.3 Up 0 * to-pe4 192.0.2.2 192.0.2.3 Up 0 * to-pe2 Total 3 displayed, Up 3, Down 0
ルーターPE4では、
show mpls lsp
コマンドを使用して、3つの送信元からリーフへのサブLSPが設定されていることを確認します。user@PE4> show mpls lsp ingress p2mp Ingress LSP: 1 sessions P2MP name: vpls-GOLD, P2MP branch count: 3 To From State Rt P ActivePath LSPname 192.0.2.1 192.0.2.4 Up 0 * to-pe1 192.0.2.3 192.0.2.4 Up 0 * to-pe3 192.0.2.2 192.0.2.4 Up 0 * to-pe2 Total 3 displayed, Up 3, Down 0
PE ルーターによって作成された各ポイントツーマルチポイント LSP は、RSVP-TE ポイントツーマルチポイント セッション オブジェクトを使用して識別できます。セッションオブジェクトは、BGPがVPLSルートをアドバタイズする際に、PMSIトンネル属性としてBGPから渡されます。このトンネル属性を使用して、受信ソースからリーフへのサブLSP追加要求(RSVPパスメッセージ)は、トラフィックがこのソースからリーフへのサブLSPに到着すると、ルーターが適切なVPLSインスタンスでメッセージを終了し、送信元のPEも識別するようにラベル割り当てをサポートします。これは、送信元MACアドレスの学習をサポートします。
ルーターPE1では、
show rsvp session
コマンドを使用して、動的ポイントツーマルチポイントLSPのRSVPセッションがUp
であり、リンク保護がdesired
として設定されていることを確認します。BGP で送信されるポイントツーマルチポイント セッション オブジェクトが54337
であることに注意してください。user@PE1> show rsvp session detail p2mp ingress Ingress RSVP: 7 sessions P2MP name: 192.0.2.1:1:vpls:GOLD, P2MP branch count: 3 192.0.2.2 From: 192.0.2.1, LSPstate: Up, ActiveRoute: 0 LSPname: 192.0.2.2:192.0.2.1:1:vpls:GOLD, LSPpath: Primary P2MP LSPname: 192.0.2.1:1:vpls:GOLD Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 262145 Resv style: 1 SE, Label in: -, Label out: 262145 Time left: -, Since: Tue Oct 6 16:27:23 2009 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 2 receiver 54337 protocol 0 Link protection desired Type: Protection down PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 10.10.2.2 (xe-0/1/0.0) 371 pkts RESV rcvfrom: 10.10.2.2 (xe-0/1/0.0) 370 pkts Explct route: 10.10.2.2 Record route: <self> 10.10.2.2
ルーターPE4は、静的ポイントツーマルチポイントLSP用に設定されています。 これらのLSPにはリンク保護が設定されていません。
show rsvp session
コマンドを使用して、BGPで送信されるポイントツーマルチポイントセッションオブジェクトが42873
ことを確認します。user@PE4> show rsvp session detail p2mp ingress Ingress RSVP: 7 sessions P2MP name: vpls-GOLD, P2MP branch count: 3 192.0.2.1 From: 192.0.2.4, LSPstate: Up, ActiveRoute: 0 LSPname: to-pe1, LSPpath: Primary P2MP LSPname: vpls-GOLD Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 390416 Resv style: 1 SE, Label in: -, Label out: 390416 Time left: -, Since: Tue Oct 6 15:28:33 2009 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 10 receiver 42873 protocol 0 PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 10.10.9.1 (xe-0/0/0.0) 524 pkts RESV rcvfrom: 10.10.9.1 (xe-0/0/0.0) 447 pkts Explct route: 10.10.9.1 10.10.3.1 Record route: <self> 10.10.9.1 10.10.3.1
ルーターPE1では、
show route table
コマンドを使用して、ルーターPE1がルーターリフレクターからルーターPE2へのレイヤー2 VPNルートを受信し、ルートに20361
のポイントツーマルチポイントトンネル識別子を含むPMSIオブジェクトが含まれていることを確認します。user@PE1> show route table GOLD.l2vpn.0 detail GOLD.l2vpn.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) ! ! 192.0.2.2:10:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 192.0.2.2:10 PMSI: Flags 0:RSVP-TE:label[0:0:0]:Session_13[192.0.2.2:0:20361:192.0.2.2] Next hop type: Indirect Next-hop reference count: 7 Source: 192.0.2.7 Protocol next hop: 192.0.2.2 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 65000 Peer AS: 65000 Age: 4:25:25 Metric2: 1 Task: BGP_65000.192.0.2.7+63544 Announcement bits (1): 0-GOLD-l2vpn AS path: I (Originator) Cluster list: 192.0.2.7 AS path: Originator ID: 192.0.2.2 Communities: target:65000:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0, site preference: 100 Import Accepted Label-base: 262145, range: 8 Localpref: 100 Router ID: 192.0.2.7 Primary Routing Table bgp.l2vpn.0 PMSI: Flags 0:RSVP-TE:label[0:0:0]:Session_13[192.0.2.2:0:20361:192.0.2.2]
ルーターPE2では、
show rsvp session
コマンドを使用して、20361
のPMSIトンネル識別子オブジェクトがルーターPE1に表示されているPMSIトンネル識別子オブジェクトと一致することを確認します。user@PE2> show rsvp session p2mp detail Ingress RSVP: 7 sessions P2MP name: 192.0.2.2:10:vpls:GOLD, P2MP branch count: 3 192.0.2.1 From: 192.0.2.2, LSPstate: Up, ActiveRoute: 0 LSPname: 192.0.2.1:192.0.2.2:10:vpls:GOLD, LSPpath: Primary P2MP LSPname: 192.0.2.2:10:vpls:GOLD Suggested label received: -, Suggested label sent: - Recovery label received: -, Recovery label sent: 262171 Resv style: 1 SE, Label in: -, Label out: 262171 Time left: -, Since: Tue Oct 6 16:31:47 2009 Tspec: rate 0bps size 0bps peak Infbps m 20 M 1500 Port number: sender 1 receiver 20361 protocol 0 Link protection desired Type: Protection down PATH rcvfrom: localclient Adspec: sent MTU 1500 Path MTU: received 1500 PATH sentto: 10.10.2.1 (xe-0/1/0.0) 379 pkts RESV rcvfrom: 10.10.2.1 (xe-0/1/0.0) 379 pkts Explct route: 10.10.2.1 Record route: <self> 10.10.2.1
データプレーンの検証
手順
前の手順を使用してコントロールプレーンを確認したら、データプレーンを検証できます。このセクションでは show
データ プレーンの検証に使用できるコマンド出力について説明します。
ルーターPE1では、
show vpls connections extensive | match Flood
コマンドを使用して、すべてのサイトのポイントツーマルチポイントLSP名とステータスを確認します。192.0.2.1:1:vpls:GOLD
LSP の600
のフラッド ネクストホップ識別子に注目してください。user@PE1> show vpls connections extensive | match Flood Ingress RSVP-TE P2MP LSP: 192.0.2.1:1:vpls:GOLD, Flood next-hop ID: 600
ルーターPE1では、
show vpls connections extensive
コマンドを使用して、すべてのサイトのポイントツーマルチポイントLSP名とステータスを確認します。user@PE1> show vpls connections extensive Instance: GOLD Local site: CE1 (1) Number of local interfaces: 1 Number of local interfaces up: 1 IRB interface present: no ge-1/0/0.1 lsi.1049353 3 Intf - vpls GOLD local site 1 remote site 3 lsi.1049346 4 Intf - vpls GOLD local site 1 remote site 4 Interface flags: VC-Down lsi.1049354 5 Intf - vpls GOLD local site 1 remote site 5 lsi.1049355 6 Intf - vpls GOLD local site 1 remote site 6 Label-base Offset Range Preference 262169 1 8 100 connection-site Type St Time last up # Up trans 3 rmt Up Oct 6 16:27:23 2009 1 Remote PE: 192.0.2.2, Negotiated control-word: No Incoming label: 262171, Outgoing label: 262145 Local interface: lsi.1049353, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 3 RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.2:192.0.2.1:1:vpls:GOLD, State: Up Egress branch LSP: 192.0.2.1:192.0.2.2:10:vpls:GOLD, State: Up Connection History: Oct 6 16:27:23 2009 status update timer Oct 6 16:27:23 2009 PE route changed Oct 6 16:27:23 2009 Out lbl Update 262145 Oct 6 16:27:23 2009 In lbl Update 262171 Oct 6 16:27:23 2009 loc intf up lsi.1049353 4 rmt RM RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.2:192.0.2.1:1:vpls:GOLD, State: Up 5 rmt Up Oct 6 16:27:27 2009 1 Remote PE: 192.0.2.3, Negotiated control-word: No Incoming label: 262173, Outgoing label: 262145 Local interface: lsi.1049354, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 5 RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.3:192.0.2.1:1:vpls:GOLD, State: Up Egress branch LSP: to-pe1, State: Up Connection History: Oct 6 16:27:27 2009 status update timer Oct 6 16:27:27 2009 PE route changed Oct 6 16:27:27 2009 Out lbl Update 262145 Oct 6 16:27:27 2009 In lbl Update 262173 Oct 6 16:27:27 2009 loc intf up lsi.1049354 6 rmt Up Oct 6 16:27:31 2009 1 Remote PE: 192.0.2.4, Negotiated control-word: No Incoming label: 262174, Outgoing label: 800000 Local interface: lsi.1049355, Status: Up, Encapsulation: VPLS Description: Intf - vpls GOLD local site 1 remote site 6 RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.4:192.0.2.1:1:vpls:GOLD, State: Up Egress branch LSP: to-pe1, State: Up Connection History: Oct 6 16:27:31 2009 status update timer Oct 6 16:27:31 2009 PE route changed Oct 6 16:27:31 2009 Out lbl Update 800000 Oct 6 16:27:31 2009 In lbl Update 262174 Oct 6 16:27:31 2009 loc intf up lsi.1049355 Local site: Direct (2) Number of local interfaces: 1 Number of local interfaces up: 1 IRB interface present: no Interface name Remote site ID Description ge-1/1/0.1 lsi.1049347 3 Intf - vpls GOLD local site 2 remote site 3 Interface flags: VC-Down lsi.1049348 4 Intf - vpls GOLD local site 2 remote site 4 Interface flags: VC-Down lsi.1049350 5 Intf - vpls GOLD local site 2 remote site 5 Interface flags: VC-Down lsi.1049352 6 Intf - vpls GOLD local site 2 remote site 6 Interface flags: VC-Down Label-base Offset Range Preference 262177 1 8 100 connection-site Type St Time last up 3 rmt LM RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.2:192.0.2.1:1:vpls:GOLD, State: Up 4 rmt LM RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.2:192.0.2.1:1:vpls:GOLD, State: Up 5 rmt LM RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.3:192.0.2.1:1:vpls:GOLD, State: Up 6 rmt LM RSVP-TE P2MP lsp: Ingress branch LSP: 192.0.2.4:192.0.2.1:1:vpls:GOLD, State: Up Ingress RSVP-TE P2MP LSP: 192.0.2.1:1:vpls:GOLD, Flood next-hop ID: 600
Junos OS リリース 9.0 以降では、フラッド ネクストホップ ルートを複合ネクストホップとして識別します。ルーターPE1では、
show route forwarding-table family vpls vpn GOLD detail
コマンドを使用して、3つの複合フラッドネクストホップルートがパケット転送エンジンにインストールされていることを確認します。user@PE1> show route forwarding-table family vpls vpn GOLD detail Routing table: GOLD.vpls VPLS: Destination Type RtRef Next hop Type Index NhRef Netif default perm 0 dscd 518 1 00:00:28:28:28:02/48 user 0 ucst 617 4 ge-1/1/0.1 00:00:28:28:28:06/48 user 0 indr 1048576 4 10.10.3.2 Push 800000, Push 390384(top) 621 2 xe-0/2/0.0 lsi.1049353 intf 0 indr 1048574 3 10.10.2.2 Push 262145 598 2 xe-0/1/0.0 lsi.1049354 intf 0 indr 1048575 4 10.10.1.2 Push 262145, Push 302272(top) 602 2 xe-0/3/0.0 lsi.1049355 intf 0 indr 1048576 4 10.10.3.2 Push 800000, Push 390384(top) 621 2 xe-0/2/0.0 00:14:f6:75:78:00/48 user 0 indr 1048575 4 10.10.1.2 Push 262145, Push 302272(top) 602 2 xe-0/3/0.0 00:19:e2:57:e7:c0/48 user 0 ucst 604 4 ge-1/0/0.1 0x30003/51 user 0 comp 613 2 0x30002/51 user 0 comp 615 2 0x30001/51 user 0 comp 582 2 ge-1/0/0.1 intf 0 ucst 604 4 ge-1/0/0.1 ge-1/1/0.1 intf 0 ucst 617 4 ge-1/1/0.1
また、
show route forwarding-table family vpls extensive
コマンドを使用して、フラッド識別子を突き合わせ、フラッド・ラベルをメモすることもできます。ポイントツーマルチポイント LSP に対応するラベル アウトを一致させるには、show rsvp session ingress p2mp
コマンドを使用します。ルーターPE1では、
show route forwarding-table family vpls vpn GOLD extensive | find 0x30003/51
コマンドを使用して、複合ネクストホップルートと関連するポイントツーマルチポイントLSPラベルの詳細を取得します。user@PE1> show route forwarding-table family vpls vpn GOLD extensive | find 0x30003/51 Destination: 0x30003/51 Route type: user Route reference: 0 Route interface-index: 0 Flags: sent to PFE Nexthop: Next-hop type: composite Index: 613 Reference: 2 Nexthop: Next-hop type: composite Index: 556 Reference: 4 Next-hop type: unicast Index: 604 Reference: 4 Next-hop interface: ge-1/0/0.1 Next-hop type: unicast Index: 617 Reference: 4 Next-hop interface: ge-1/1/0.1 Destination: 0x30002/51 Route type: user Route reference: 0 Route interface-index: 0 Flags: sent to PFE Nexthop: Next-hop type: composite Index: 615 Reference: 2 Nexthop: Next-hop type: composite Index: 556 Reference: 4 Next-hop type: unicast Index: 604 Reference: 4 Next-hop interface: ge-1/0/0.1 Next-hop type: unicast Index: 617 Reference: 4 Next-hop interface: ge-1/1/0.1 Nexthop: Next-hop type: composite Index: 603 Reference: 3 Next-hop type: flood Index: 600 Reference: 2 Nexthop: 10.10.2.2 Next-hop type: Push 262145 Index: 599 Reference: 1 Next-hop interface: xe-0/1/0.0 Nexthop: 10.10.3.2 Next-hop type: Push 390496 Index: 622 Reference: 1 Next-hop interface: xe-0/2/0.0 Nexthop: 10.10.1.2 Next-hop type: Push 302416 Index: 618 Reference: 1 Next-hop interface: xe-0/3/0.0 Destination: 0x30001/51 Route type: user Route reference: 0 Route interface-index: 0 Flags: sent to PFE Nexthop: Next-hop type: composite Index: 582 Reference: 2 Nexthop: Next-hop type: composite Index: 556 Reference: 4 Next-hop type: unicast Index: 604 Reference: 4 Next-hop interface: ge-1/0/0.1 Next-hop type: unicast Index: 617 Reference: 4 Next-hop interface: ge-1/1/0.1 Nexthop: Next-hop type: composite Index: 603 Reference: 3 Next-hop type: flood Index: 600 Reference: 2 Nexthop: 10.10.2.2 Next-hop type: Push 262145 Index: 599 Reference: 1 Next-hop interface: xe-0/1/0.0 Nexthop: 10.10.3.2 Next-hop type: Push 390496 Index: 622 Reference: 1 Next-hop interface: xe-0/2/0.0 Nexthop: 10.10.1.2 Next-hop type: Push 302416 Index: 618 Reference: 1 Next-hop interface: xe-0/3/0.0 Destination: ge-1/0/0.1 Route type: interface Route reference: 0 Route interface-index: 84 Flags: sent to PFE Next-hop type: unicast Index: 604 Reference: 4 Next-hop interface: ge-1/0/0.1 Destination: ge-1/1/0.1 Route type: interface Route reference: 0 Route interface-index: 86 Flags: sent to PFE Next-hop type: unicast Index: 617 Reference: 4 Next-hop interface: ge-1/1/0.1
ルーターPE1では、
show vpls mac-table instance GOLD
コマンドを使用して、VPLSドメインに接続されているCEルーターの学習済みMACアドレスを確認します。user@PE1> show vpls mac-table instance GOLD MAC flags (S -static MAC, D -dynamic MAC, SE -Statistics enabled, NM -Non configured MAC) Routing instance : GOLD Bridging domain : __GOLD__, VLAN : NA MAC MAC Logical address flags interface 00:00:28:28:28:02 D ge-1/1/0.1 00:00:28:28:28:04 D lsi.1049353 00:14:f6:75:78:00 D lsi.1049354 00:19:e2:51:7f:c0 D lsi.1049353 00:19:e2:57:e7:c0 D ge-1/0/0.1
ルーターPE1では、
show vpls statistics
コマンドを使用して、VPLSインスタンスのパケット統計を使用して、ブロードキャスト、マルチキャスト、およびユニキャストトラフィックフローを確認します。user@PE1> show vpls statistics VPLS statistics: Instance: GOLD Local interface: lsi.1049347, Index: 72 Current MAC count: 0 Local interface: lsi.1049348, Index: 73 Current MAC count: 0 Local interface: lsi.1049346, Index: 82 Current MAC count: 0 Local interface: lsi.1049353, Index: 83 Remote PE: 192.0.2.2 Current MAC count: 2 Local interface: ge-1/0/0.1, Index: 84 Broadcast packets: 421 Broadcast bytes : 26944 Multicast packets: 3520 Multicast bytes : 261906 Flooded packets : 509043345 Flooded bytes : 130315095486 Unicast packets : 393836428 Unicast bytes : 100822118854 Current MAC count: 1 (Limit 1024) Local interface: ge-1/1/0.1, Index: 86 Broadcast packets: 0 Broadcast bytes : 0 Multicast packets: 0 Multicast bytes : 0 Flooded packets : 22889544 Flooded bytes : 5859702144 Unicast packets : 472 Unicast bytes : 30838 Current MAC count: 1 (Limit 1024) Local interface: lsi.1049354, Index: 88 Remote PE: 192.0.2.3 Current MAC count: 1 Local interface: lsi.1049350, Index: 89 Current MAC count: 0 Local interface: lsi.1049355, Index: 90 Remote PE: 192.0.2.4 Current MAC count: 0 Local interface: lsi.1049352, Index: 91 Current MAC count: 0
業績
この例の構成、検証、およびテストの部分は完了しています。次のセクションは参考用です。
以下は、ルーターPE1の関連する設定例です。
PE1の設定
chassis { dump-on-panic; fpc 1 { pic 3 { tunnel-services { bandwidth 1g; } } } network-services ethernet; } interfaces { xe-0/1/0 { unit 0 { family inet { address 10.10.2.1/30; } family mpls; } } xe-0/2/0 { unit 0 { family inet { address 10.10.3.1/30; } family mpls; } } xe-0/3/0 { unit 0 { family inet { address 10.10.1.1/30; } family mpls; } } ge-1/0/0 { vlan-tagging; encapsulation vlan-vpls; unit 1 { encapsulation vlan-vpls; vlan-id 1000; family vpls; } } ge-1/1/0 { vlan-tagging; encapsulation vlan-vpls; unit 1 { encapsulation vlan-vpls; vlan-id 1000; family vpls; } } lo0 { unit 0 { family inet { address 192.0.2.1/24; } } } } routing-options { autonomous-system 65000; } protocols { rsvp { interface all; interface fxp0.0 { disable; } } mpls { label-switched-path to-RR { to 192.0.2.7; } label-switched-path vpls-GOLD-p2mp-template { template; optimize-timer 50; link-protection; p2mp; } label-switched-path to-PE2 { to 192.0.2.2; } label-switched-path to-PE3 { to 192.0.2.3; } label-switched-path to-PE4 { to 192.0.2.4; } interface all; interface fxp0.0 { disable; } } bgp { group to-RR { type internal; local-address 192.0.2.1; family l2vpn { signaling; } neighbor 192.0.2.7; } } ospf { traffic-engineering; area 0.0.0.0 { interface all; interface fxp0.0 { disable; } } } } routing-instances { GOLD { instance-type vpls; interface ge-1/0/0.1; interface ge-1/1/0.1; route-distinguisher 192.0.2.1:1; provider-tunnel { rsvp-te { label-switched-path-template { vpls-GOLD-p2mp-template; } } } vrf-target target:65000:1; protocols { vpls { site-range 8; no-tunnel-services; site CE1 { site-identifier 1; interface ge-1/0/0.1; } site Direct { site-identifier 2; interface ge-1/1/0.1; } } } } }
以下は、ルーターPE2の関連する設定例です。
PE2 設定
chassis { dump-on-panic; aggregated-devices { ethernet { device-count 1; } } fpc 1 { pic 3 { tunnel-services { bandwidth 1g; } } } } interfaces { xe-0/1/0 { unit 0 { family inet { address 10.10.2.2/30; } family mpls; } } xe-0/2/0 { unit 0 { family inet { address 10.10.5.1/30; } family mpls; } } xe-0/3/0 { unit 0 { family inet { address 10.10.4.1/30; } family mpls; } } ge-1/0/1 { gigether-options { 802.3ad ae0; } } ge-1/0/2 { gigether-options { 802.3ad ae0; } } ge-1/1/0 { vlan-tagging; encapsulation vlan-vpls; unit 1 { encapsulation vlan-vpls; vlan-id 1000; family vpls; } } ae0 { vlan-tagging; encapsulation vlan-vpls; unit 1 { encapsulation vlan-vpls; vlan-id 1000; family vpls; } } fxp0 { apply-groups [ re0 re1 ]; } lo0 { unit 0 { family inet { address 192.0.2.2/24; } } } } routing-options { autonomous-system 65000; } protocols { rsvp { interface all; interface fxp0.0 { disable; } } mpls { label-switched-path to-RR { to 192.0.2.7; } label-switched-path vpls-GOLD-p2mp-template { template; optimize-timer 50; link-protection; p2mp; } label-switched-path to-PE1 { to 192.0.2.1; } label-switched-path to-PE3 { to 192.0.2.3; } label-switched-path to-PE4 { to 192.0.2.4; } interface all; interface fxp0.0 { disable; } } bgp { group to-RR { type internal; local-address 192.0.2.2; family l2vpn { signaling; } neighbor 192.0.2.7; } } ospf { traffic-engineering; area 0.0.0.0 { interface all; interface fxp0.0 { disable; } } } } routing-instances { GOLD { instance-type vpls; interface ge-1/1/0.1; interface ae0.1; route-distinguisher 192.0.2.2:10; provider-tunnel { rsvp-te { label-switched-path-template { vpls-GOLD-p2mp-template; } } } vrf-target target:65000:1; protocols { vpls { site-range 8; site CE1 { site-identifier 3; interface ae0.1; } site Direct { site-identifier 4; interface ge-1/1/0.1; } } } } }