例:EVPNシグナリングメカニズムを使用したVPWSの設定
この例では、イーサネット仮想プライベートネットワーク(EVPN)シグナリングを使用して仮想プライベートワイヤサービス(VPWS)を実装する方法を示します。EVPNシグナリングを使用することで、BGPシグナリングVPNにシングルアクティブまたはオールアクティブのマルチホーミング機能を提供します。
要件
この例では、以下のハードウェアおよびソフトウェアコンポーネントを使用しています。
-
プロバイダエッジ(PE)デバイスとして動作し、Junos OSリリース17.1以降を実行する4台のMXシリーズルーター
-
2つのカスタマーエッジ(CE)デバイス(この例ではMXシリーズルーターを使用しています)
概要とトポロジー
VPWSは、MPLS上でのレイヤー2 VPNサービスを採用して、エンドカスタマーサイトを接続するポイントツーポイント接続のトポロジーを構築します。EVPNでは、レイヤー2仮想ブリッジを使用して分散した顧客サイトを接続できます。これら 2 つの要素を組み合わせることで、EVPN シグナルの VPWS を提供できます。
vpws-service-idステートメントは、ネットワーク内のPEルーターに設定されたlocalとremoteサービス識別子に基づいてEVPN-VPWSのエンドポイントを識別します。これらのエンドポイントは、サービス識別子ラベルを交換するために、BGPベースのEVPNシグナリングを使用して自動検出されます。
トポロジー
この例では、 図 1 に示す 4 台の PE ルーターと 2 台の CE ルーターで構成されるトポロジーを使用しています。ルーターCE1は、ルーターPE1およびPE2にマルチホームされています。ルーターCE2は、ルーターPE3とPE4にマルチメッドされています。
このシナリオでは、以下の設定要素が使用されます。
-
CEデバイス:
-
関連するPEデバイスへのAE(アグリゲートイーサネット)インターフェイス
-
-
PEデバイス:
-
関連するCEデバイスに向けて、EVPNセグメント識別子(ESI)を備えたAEインターフェイス
-
コアのOSPFとIBGP
-
コアでRSVPを使用するMPLS LSP
-
パケット単位のロードバランシング
-
インスタンスタイプ
evpn-vpwsと、ローカルおよびリモートエンドポイントを定義するvpws-service-idステートメントを使用したルーティングインスタンス。
-
設定
CLIクイックコンフィグレーション
この例をすばやく設定するには、以下のコマンドをコピーしてテキスト ファイルに貼り付け、改行を削除し、ネットワーク構成に合わせて必要な詳細を変更し、コマンドを [edit] 階層レベルのCLIにコピー アンド ペーストします。
CE1
set interfaces xe-0/0/0 gigether-options 802.3ad ae0 set interfaces xe-0/0/2 gigether-options 802.3ad ae0 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to PE1/2" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 unit 100 encapsulation vlan-bridge set interfaces ae0 unit 100 vlan-id 1000 set interfaces lo0 unit 0 family inet address 192.168.1.1/32 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set bridge-domains bd100 domain-type bridge set bridge-domains bd100 vlan-id 1000 set bridge-domains bd100 interface ae0.100
CE2
set interfaces xe-0/0/0 gigether-options 802.3ad ae0 set interfaces xe-0/0/1 gigether-options 802.3ad ae0 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to PE3/4" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 unit 100 encapsulation vlan-bridge set interfaces ae0 unit 100 vlan-id 1000 set interfaces lo0 unit 0 family inet address 192.168.100.100/32 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set bridge-domains bd100 domain-type bridge set bridge-domains bd100 vlan-id 1000 set bridge-domains bd100 interface ae0.100
PE1
set interfaces xe-0/0/0 description "to CE1" set interfaces xe-0/0/0 gigether-options 802.3ad ae0 set interfaces xe-0/0/2 unit 0 description "to PE3" set interfaces xe-0/0/2 unit 0 family inet address 10.0.1.1/24 set interfaces xe-0/0/2 unit 0 family mpls set interfaces xe-0/0/3 unit 0 description "to PE4" set interfaces xe-0/0/3 unit 0 family inet address 10.0.2.1/24 set interfaces xe-0/0/3 unit 0 family mpls set interfaces lo0 unit 0 family inet address 198.51.100.1/32 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to CE1" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:11 set interfaces ae0 esi all-active set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:01 set interfaces ae0 unit 100 encapsulation vlan-ccc set interfaces ae0 unit 100 vlan-id 1000 set protocols ospf area 0.0.0.0 interface xe-0/0/2.0 set protocols ospf area 0.0.0.0 interface xe-0/0/3.0 set protocols ospf area 0.0.0.0 interface lo0.0 set routing-options autonomous-system 65000 set protocols bgp group IBGP type internal set protocols bgp group IBGP local-address 198.51.100.1 set protocols bgp group IBGP family evpn signaling set protocols bgp group IBGP neighbor 198.51.100.2 set protocols bgp group IBGP neighbor 198.51.100.3 set protocols bgp group IBGP neighbor 198.51.100.4 set protocols rsvp interface xe-0/0/2.0 set protocols rsvp interface xe-0/0/3.0 set protocols mpls interface xe-0/0/2.0 set protocols mpls interface xe-0/0/3.0 set protocols mpls no-cspf set protocols mpls label-switched-path PE1toPE3 to 198.51.100.3 set protocols mpls label-switched-path PE1toPE4 to 198.51.100.4 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set routing-instances EVPN-VPWS instance-type evpn-vpws set routing-instances EVPN-VPWS interface ae0.100 set routing-instances EVPN-VPWS route-distinguisher 198.51.100.1:11 set routing-instances EVPN-VPWS vrf-target target:100:11 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id local 1111 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id remote 9999
PE2
set interfaces xe-0/0/0 unit 0 description "to PE3" set interfaces xe-0/0/0 unit 0 family inet address 10.0.3.1/24 set interfaces xe-0/0/0 unit 0 family mpls set interfaces xe-0/0/1 unit 0 description "to PE4" set interfaces xe-0/0/1 unit 0 family inet address 10.0.4.1/24 set interfaces xe-0/0/1 unit 0 family mpls set interfaces xe-0/0/2 description "to CE1" set interfaces xe-0/0/2 gigether-options 802.3ad ae0 set interfaces lo0 unit 0 family inet address 198.51.100.2/32 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to CE1" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:11 set interfaces ae0 esi all-active set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:01 set interfaces ae0 unit 100 encapsulation vlan-ccc set interfaces ae0 unit 100 vlan-id 1000 set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 set protocols ospf area 0.0.0.0 interface xe-0/0/1.0 set protocols ospf area 0.0.0.0 interface lo0.0 set routing-options autonomous-system 65000 set protocols bgp group IBGP type internal set protocols bgp group IBGP local-address 198.51.100.2 set protocols bgp group IBGP family evpn signaling set protocols bgp group IBGP neighbor 198.51.100.1 set protocols bgp group IBGP neighbor 198.51.100.3 set protocols bgp group IBGP neighbor 198.51.100.4 set protocols rsvp interface xe-0/0/0.0 set protocols rsvp interface xe-0/0/1.0 set protocols mpls interface xe-0/0/0.0 set protocols mpls interface xe-0/0/1.0 set protocols mpls no-cspf set protocols mpls label-switched-path PE2toPE3 to 198.51.100.3 set protocols mpls label-switched-path PE2toPE4 to 198.51.100.4 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set routing-instances EVPN-VPWS instance-type evpn-vpws set routing-instances EVPN-VPWS interface ae0.100 set routing-instances EVPN-VPWS route-distinguisher 198.51.100.2:11 set routing-instances EVPN-VPWS vrf-target target:100:11 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id local 1111 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id remote 9999
PE3
set interfaces xe-0/0/0 unit 0 description "to PE1" set interfaces xe-0/0/0 unit 0 family inet address 10.0.1.2/24 set interfaces xe-0/0/0 unit 0 family mpls set interfaces xe-0/0/1 unit 0 description "to PE2" set interfaces xe-0/0/1 unit 0 family inet address 10.0.3.2/24 set interfaces xe-0/0/1 unit 0 family mpls set interfaces xe-0/0/2 description "to CE1" set interfaces xe-0/0/2 gigether-options 802.3ad ae0 set interfaces lo0 unit 0 family inet address 198.51.100.3/32 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to CE2" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 esi 00:99:99:99:99:99:99:99:99:99 set interfaces ae0 esi all-active set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:01 set interfaces ae0 unit 100 encapsulation vlan-ccc set interfaces ae0 unit 100 vlan-id 1000 set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 set protocols ospf area 0.0.0.0 interface xe-0/0/1.0 set protocols ospf area 0.0.0.0 interface lo0.0 set routing-options autonomous-system 65000 set protocols bgp group IBGP type internal set protocols bgp group IBGP local-address 198.51.100.3 set protocols bgp group IBGP family evpn signaling set protocols bgp group IBGP neighbor 198.51.100.1 set protocols bgp group IBGP neighbor 198.51.100.2 set protocols bgp group IBGP neighbor 198.51.100.4 set protocols rsvp interface xe-0/0/0.0 set protocols rsvp interface xe-0/0/1.0 set protocols mpls interface xe-0/0/0.0 set protocols mpls interface xe-0/0/1.0 set protocols mpls no-cspf set protocols mpls label-switched-path PE3toPE1 to 198.51.100.1 set protocols mpls label-switched-path PE3toPE2 to 198.51.100.2 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set routing-instances EVPN-VPWS instance-type evpn-vpws set routing-instances EVPN-VPWS interface ae0.100 set routing-instances EVPN-VPWS route-distinguisher 198.51.100.3:11 set routing-instances EVPN-VPWS vrf-target target:100:11 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id local 9999 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id remote 1111
PE4
set interfaces xe-0/0/0 unit 0 description "to PE1" set interfaces xe-0/0/0 unit 0 family inet address 10.0.2.2/24 set interfaces xe-0/0/0 unit 0 family mpls set interfaces xe-0/0/1 unit 0 description "to PE2" set interfaces xe-0/0/1 unit 0 family inet address 10.0.4.2/24 set interfaces xe-0/0/1 unit 0 family mpls set interfaces xe-0/0/2 description "to CE1" set interfaces xe-0/0/2 gigether-options 802.3ad ae0 set interfaces lo0 unit 0 family inet address 198.51.100.4/32 set chassis aggregated-devices ethernet device-count 1 set interfaces ae0 description "to CE2" set interfaces ae0 flexible-vlan-tagging set interfaces ae0 encapsulation flexible-ethernet-services set interfaces ae0 esi 00:99:99:99:99:99:99:99:99:99 set interfaces ae0 esi all-active set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:01 set interfaces ae0 unit 100 encapsulation vlan-ccc set interfaces ae0 unit 100 vlan-id 1000 set protocols ospf area 0.0.0.0 interface xe-0/0/0.0 set protocols ospf area 0.0.0.0 interface xe-0/0/1.0 set protocols ospf area 0.0.0.0 interface lo0.0 set routing-options autonomous-system 65000 set protocols bgp group IBGP type internal set protocols bgp group IBGP local-address 198.51.100.4 set protocols bgp group IBGP family evpn signaling set protocols bgp group IBGP neighbor 198.51.100.1 set protocols bgp group IBGP neighbor 198.51.100.2 set protocols bgp group IBGP neighbor 198.51.100.3 set protocols rsvp interface xe-0/0/0.0 set protocols rsvp interface xe-0/0/1.0 set protocols mpls interface xe-0/0/0.0 set protocols mpls interface xe-0/0/1.0 set protocols mpls no-cspf set protocols mpls label-switched-path PE4toPE1 to 198.51.100.1 set protocols mpls label-switched-path PE4toPE2 to 198.51.100.2 set policy-options policy-statement LB then load-balance per-packet set routing-options forwarding-table export LB set routing-instances EVPN-VPWS instance-type evpn-vpws set routing-instances EVPN-VPWS interface ae0.100 set routing-instances EVPN-VPWS route-distinguisher 198.51.100.4:11 set routing-instances EVPN-VPWS vrf-target target:100:11 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id local 9999 set routing-instances EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id remote 1111
手順
ステップバイステップの手順
次の例では、設定階層内のさまざまなレベルに移動する必要があります。CLIのナビゲーションについては、『CLIユーザーガイド』の「設定モードでのCLIエディターの使用」を参照してください。
ここでは、ルーターPE1のみが表示されます。各デバイスに適切なインターフェイス名、アドレス、およびその他のパラメーターを使用して、他のすべてのPEデバイスについてこの手順を繰り返します。
CEデバイスの手順は示されていません。
ルーターPE1を設定するには:
-
CE に面したインターフェイスを ae0 バンドルの一部となるように設定します。
AEバンドルの2番目のインターフェイスは、他のローカルPEデバイスで設定されます。
[edit interfaces] user@PE1# set xe-0/0/0 description "to CE1" user@PE1# set xe-0/0/0 gigether-options 802.3ad ae0
-
ルーターPE3とPE4に向けてコアに面したインターフェイスを設定します。
必ず MPLS プロトコル ファミリーを含めてください。
[edit interfaces] user@PE1# set xe-0/0/2 unit 0 description "to PE3" user@PE1# set xe-0/0/2 unit 0 family inet address 10.0.1.1/24 user@PE1# set xe-0/0/2 unit 0 family mpls user@PE1# set xe-0/0/3 unit 0 description "to PE4" user@PE1# set xe-0/0/3 unit 0 family inet address 10.0.2.1/24 user@PE1# set xe-0/0/3 unit 0 family mpls
-
ループバックインターフェイスを設定します。
[edit interfaces] user@PE1# set lo0 unit 0 family inet address 198.51.100.1/32
-
デバイスでサポートする集合型イーサネットインターフェイスの数を定義します。
[edit chassis] user@PE1# set aggregated-devices ethernet device-count 1
-
ae0インターフェイスを設定します。
ニーズに応じて、別のVLANタグ付けおよびカプセル化オプションを使用できます。
[edit interfaces] user@PE1# set ae0 description "to CE1" user@PE1# set ae0 flexible-vlan-tagging user@PE1# set ae0 encapsulation flexible-ethernet-services user@PE1# set ae0 unit 100 encapsulation vlan-ccc user@PE1# set ae0 unit 100 vlan-id 1000
-
ae0インターフェイスにESI(イーサネットセグメント識別子)値を割り当て、EVPNアクティブ-アクティブマルチホーミングを有効にします。
[edit interfaces] user@PE1# set ae0 esi 00:11:11:11:11:11:11:11:11:11 user@PE1# set ae0 esi all-active
-
ae0インターフェイスのリンクアグリゲーション制御プロトコル(LACP)を設定します。
ここで使用するシステムIDは、両方のローカルPEデバイスで同じでなければなりません。
[edit interfaces] user@PE1# set ae0 aggregated-ether-options lacp active user@PE1# set ae0 aggregated-ether-options lacp system-id 00:00:00:00:00:01
-
コアに接続する(およびループバックする)インターフェイスで OSPF を有効にします。
[edit protocols] user@PE1# set ospf area 0.0.0.0 interface xe-0/0/2.0 user@PE1# set ospf area 0.0.0.0 interface xe-0/0/3.0 user@PE1# set ospf area 0.0.0.0 interface lo0.0
-
シグナリングにEVPNを使用して、他のPEデバイスと一緒にIBGPメッシュを設定します。
[edit routing-options] user@PE1# set autonomous-system 65000 [edit protocols] user@PE1# set bgp group IBGP type internal user@PE1# set bgp group IBGP local-address 198.51.100.1 user@PE1# set bgp group IBGP family evpn signaling user@PE1# set bgp group IBGP neighbor 198.51.100.2 user@PE1# set bgp group IBGP neighbor 198.51.100.3 user@PE1# set bgp group IBGP neighbor 198.51.100.4
-
コアに面するインターフェイスでRSVPを有効にします。
[edit protocols] user@PE1# set rsvp interface xe-0/0/2.0 user@PE1# set rsvp interface xe-0/0/3.0
-
コアに面するインターフェイスで MPLS を有効にし、リモート PE デバイスに LSP を設定します。
この例では、必ずCSPFを無効にしてください。
[edit protocols] user@PE1# set mpls interface xe-0/0/2.0 user@PE1# set mpls interface xe-0/0/3.0 user@PE1# set mpls no-cspf user@PE1# set mpls label-switched-path PE1toPE3 to 198.51.100.3 user@PE1# set mpls label-switched-path PE1toPE4 to 198.51.100.4
-
ロードバランシングを設定します。
[edit policy-options] user@PE1# set policy-statement LB then load-balance per-packet [edit routing-options] user@PE1# set forwarding-table export LB
-
evpn-vpwsインスタンスタイプを使用してルーティングインスタンスを設定します。先ほど設定したAE(CE向け)インターフェイスと、ルート識別子とVRFターゲットを追加します。EVPN用語では、これはEVI(EVPNインスタンス)です。
[edit routing-instances] user@PE1# set EVPN-VPWS instance-type evpn-vpws user@PE1# set EVPN-VPWS interface ae0.100 user@PE1# set EVPN-VPWS route-distinguisher 198.51.100.1:11 user@PE1# set EVPN-VPWS vrf-target target:100:11
-
ルーティングインスタンスで、EVPNを有効にし、AEインターフェイスを追加します。次に、ローカルおよびリモートのVPWS識別子をインターフェイスに関連付けます。
[edit routing-instances] user@PE1# set EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id local 1111 user@PE1# set EVPN-VPWS protocols evpn interface ae0.100 vpws-service-id remote 9999
結果
設定モードから、設定を確認します。出力に意図した設定が表示されない場合は、この例の手順を繰り返して設定を修正します。
[edit ]
user@PE1# show chassis
aggregated-devices {
ethernet {
device-count 1;
}
}
[edit ]
user@PE1# show interfaces
xe-0/0/0 {
description "to CE1";
gigether-options {
802.3ad ae0;
}
}
xe-0/0/2 {
unit 0 {
description "to PE3";
family inet {
address 10.0.1.1/24;
}
family mpls;
}
}
xe-0/0/3 {
unit 0 {
description "to PE4";
family inet {
address 10.0.2.1/24;
}
family mpls;
}
}
ae0 {
description "to CE1";
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
esi {
00:11:11:11:11:11:11:11:11:11;
all-active;
}
aggregated-ether-options {
lacp {
active;
system-id 00:00:00:00:00:01;
}
}
unit 100 {
encapsulation vlan-ccc;
vlan-id 1000;
}
}
lo0 {
unit 0 {
family inet {
address 198.51.100.1/32;
}
}
}
[edit ]
user@PE1# show routing-options
autonomous-system 65000;
forwarding-table {
export LB;
}
user@PE1# show protocols
rsvp {
interface xe-0/0/2.0;
interface xe-0/0/3.0;
}
mpls {
no-cspf;
label-switched-path PE1toPE3 {
to 198.51.100.3;
}
label-switched-path PE1toPE4 {
to 198.51.100.4;
}
interface xe-0/0/2.0;
interface xe-0/0/3.0;
}
bgp {
group IBGP {
type internal;
local-address 198.51.100.1;
family evpn {
signaling;
}
neighbor 198.51.100.2;
neighbor 198.51.100.3;
neighbor 198.51.100.4;
}
}
ospf {
area 0.0.0.0 {
interface xe-0/0/2.0;
interface xe-0/0/3.0;
interface lo0.0;
}
}
[edit ]
user@PE1# show policy-options
policy-statement LB {
then {
load-balance per-packet;
}
}
[edit ]
user@PE1# show routing-instances
EVPN-VPWS {
instance-type evpn-vpws;
interface ae0.100;
route-distinguisher 198.51.100.1:11;
vrf-target target:100:11;
protocols {
evpn {
interface ae0.100 {
vpws-service-id {
local 1111;
remote 9999;
}
}
}
}
}
デバイスの設定が完了したら、設定モードから commit を入力します。
検証
設定が正常に機能していることを確認します。
- アグリゲーション イーサネット インターフェイスと LACP の検証
- OSPFの検証
- BGPの検証
- MPLSの検証
- VPWSの検証
- ルート交換とESI自動検出の検証
- ローカルEVPNテーブルのルート情報の検証
アグリゲーション イーサネット インターフェイスと LACP の検証
目的
AE インターフェイスが正しく稼働していることを確認します。
アクション
AE インターフェイスが稼働していること、および PE デバイスとそれに関連する CE デバイス間で LACP 接続が確立されていることを確認します。
user@CE1> show lacp interfaces extensive
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/0 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/0 Partner No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/0 Current Fast periodic Collecting distributing
xe-0/0/2 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/0 Actor 127 44:f4:77:99:e3:c0 127 1 1
xe-0/0/0 Partner 127 00:00:00:00:00:01 127 1 1
xe-0/0/2 Actor 127 44:f4:77:99:e3:c0 127 2 1
xe-0/0/2 Partner 127 00:00:00:00:00:01 127 1 1
user@PE1> show lacp interfaces extensive
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/0 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/0 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/0 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/0 Actor 127 00:00:00:00:00:01 127 1 1
xe-0/0/0 Partner 127 44:f4:77:99:e3:c0 127 1 1
user@PE2> show lacp interfaces extensive
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
xe-0/0/2 Actor No No Yes Yes Yes Yes Fast Active
xe-0/0/2 Partner No No Yes Yes Yes Yes Fast Active
LACP protocol: Receive State Transmit State Mux State
xe-0/0/2 Current Fast periodic Collecting distributing
LACP info: Role System System Port Port Port
priority identifier priority number key
xe-0/0/2 Actor 127 00:00:00:00:00:01 127 1 1
xe-0/0/2 Partner 127 44:f4:77:99:e3:c0 127 2 1
意味
各デバイスのAEインターフェイスが稼働しており、CEデバイスとそのローカルPEデバイス間にアクティブなLACP接続があります。また、PE デバイスで設定されたシステム ID 00:00:00:00:00:01 (PE デバイス出力に Actor として表示されている)は、CE デバイスの Partner システム ID 値と一致します。
OSPFの検証
目的
OSPFが正常に動作していることを確認します。
アクション
OSPFがリモートネイバーと隣接関係を確立していることを確認します。
user@PE1> show ospf neighbor Address Interface State ID Pri Dead 10.0.1.2 #PE3# xe-0/0/2.0 Full 198.51.100.3 128 37 10.0.2.2 #PE4# xe-0/0/3.0 Full 198.51.100.4 128 33 user@PE3> show ospf neighbor Address Interface State ID Pri Dead 10.0.1.1 #PE1# xe-0/0/0.0 Full 198.51.100.1 128 34 10.0.3.1 #PE2# xe-0/0/1.0 Full 198.51.100.2 128 34
意味
リモートネイバーとの隣接関係が確立されています。
BGPの検証
目的
BGPが正常に動作していることを確認します。
アクション
IBGPが、EVPNシグナリングを使用してネイバーとピアリングを確立していることを確認します。
user@PE1> show bgp summary
Groups: 1 Peers: 3 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
bgp.evpn.0
7 4 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
198.51.100.2 #PE2# 65000 12 5 0 0 3:03 Establ
bgp.evpn.0: 0/3/3/0
EVPN-VPWS.evpn.0: 0/2/2/0
__default_evpn__.evpn.0: 0/1/1/0
198.51.100.3 #PE3# 65000 11 9 0 0 3:03 Establ
bgp.evpn.0: 2/2/2/0
EVPN-VPWS.evpn.0: 2/2/2/0
__default_evpn__.evpn.0: 0/0/0/0
198.51.100.4 #PE4# 65000 9 4 0 0 1:56 Establ
bgp.evpn.0: 2/2/2/0
EVPN-VPWS.evpn.0: 2/2/2/0
__default_evpn__.evpn.0: 0/0/0/0
user@PE3> show bgp summary
Groups: 1 Peers: 3 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
bgp.evpn.0
7 4 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
198.51.100.1 #PE1# 65000 17 11 0 0 5:09 Establ
bgp.evpn.0: 2/2/2/0
EVPN-VPWS.evpn.0: 2/2/2/0
__default_evpn__.evpn.0: 0/0/0/0
198.51.100.2 #PE2# 65000 17 14 0 0 5:04 Establ
bgp.evpn.0: 2/2/2/0
EVPN-VPWS.evpn.0: 2/2/2/0
__default_evpn__.evpn.0: 0/0/0/0
198.51.100.4 #PE34 65000 13 8 0 0 4:02 Establ
bgp.evpn.0: 0/3/3/0
EVPN-VPWS.evpn.0: 0/2/2/0
__default_evpn__.evpn.0: 0/1/1/0
意味
EVPN シグナリングによる IBGP ピアリングは、すべてのネイバーと確立されています。
MPLSの検証
目的
MPLSが正常に動作していることを確認します。
アクション
MPLS LSP がリモートネイバーと確立されていることを確認します。
user@PE1> show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 198.51.100.3 198.51.100.1 Up 0 * PE1toPE3 198.51.100.4 198.51.100.1 Up 0 * PE1toPE4 Total 2 displayed, Up 2, Down 0 Egress LSP: 2 sessions To From State Rt Style Labelin Labelout LSPname 198.51.100.1 198.51.100.4 Up 0 1 FF 3 - PE4toPE1 198.51.100.1 198.51.100.3 Up 0 1 FF 3 - PE3toPE1 Total 2 displayed, Up 2, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0 user@PE3> show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 198.51.100.1 198.51.100.3 Up 0 * PE3toPE1 198.51.100.2 198.51.100.3 Up 0 * PE3toPE2 Total 2 displayed, Up 2, Down 0 Egress LSP: 2 sessions To From State Rt Style Labelin Labelout LSPname 198.51.100.3 198.51.100.2 Up 0 1 FF 3 - PE2toPE3 198.51.100.3 198.51.100.1 Up 0 1 FF 3 - PE1toPE3 Total 2 displayed, Up 2, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0
意味
LSPはリモートネイバーとの間で確立されています。
VPWSの検証
目的
VPWS が確立されていることを確認します。
アクション
PE デバイスがサービス識別子を交換して学習し、VPWS を確立していることを確認します。
user@PE1> show evpn vpws-instance
Instance: EVPN-VPWS
Route Distinguisher: 198.51.100.1:11
Number of local interfaces: 1 (1 up)
Interface name ESI Mode Role Status
ae0.100 00:11:11:11:11:11:11:11:11:11 all-active Primary Up
Local SID: 1111 Advertised Label: 300496
Remote SID: 9999
PE addr ESI Label Mode Role TS Status
198.51.100.3 00:99:99:99:99:99:99:99:99:99 300656 all-active Primary 2017-05-12 07:30:01.863 Resolved
198.51.100.4 00:99:99:99:99:99:99:99:99:99 300704 all-active Primary 2017-05-12 07:31:23.804 Resolved
Fast Convergence Information
ESI: 00:99:99:99:99:99:99:99:99:99 Number of PE nodes: 2
PE: 198.51.100.3 #PE3#
Advertised SID: 9999
PE: 198.51.100.4 #PE4#
Advertised SID: 9999
user@PE3> show evpn vpws-instance
Instance: EVPN-VPWS
Route Distinguisher: 198.51.100.3:11
Number of local interfaces: 1 (1 up)
Interface name ESI Mode Role Status
ae0.100 00:99:99:99:99:99:99:99:99:99 all-active Primary Up
Local SID: 9999 Advertised Label: 300656
Remote SID: 1111
PE addr ESI Label Mode Role TS Status
198.51.100.1 00:11:11:11:11:11:11:11:11:11 300496 all-active Primary 2017-05-12 07:30:25.702 Resolved
198.51.100.2 00:11:11:11:11:11:11:11:11:11 300560 all-active Primary 2017-05-12 07:30:25.711 Resolved
Fast Convergence Information
ESI: 00:11:11:11:11:11:11:11:11:11 Number of PE nodes: 2
PE: 198.51.100.1 #PE1#
Advertised SID: 1111
PE: 198.51.100.2 #PE2#
Advertised SID: 1111
意味
ネットワークの各側にあるPEデバイスは、サービス識別子をアドバタイズし、リモートネイバーから識別子を受信しています。VPWSが確立されます。
ルート交換とESI自動検出の検証
目的
EVPN シグナリングが正常に機能していることを確認します。
アクション
自動検出情報がVPWS全体で共有されていることを確認します。
user@PE1> show route table bgp.evpn.0
bgp.evpn.0: 7 destinations, 7 routes (4 active, 0 holddown, 3 hidden)
+ = Active Route, - = Last Active, * = Both
1:198.51.100.3:0::999999999999999999::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:03:17, localpref 100, from 198.51.100.3
AS path: I, validation-state: unverified
> to 10.0.1.2 via xe-0/0/2.0, label-switched-path PE1toPE3
1:198.51.100.3:11::999999999999999999::9999/304 AD/EVI
*[BGP/170] 00:03:18, localpref 100, from 198.51.100.3
AS path: I, validation-state: unverified
> to 10.0.1.2 via xe-0/0/2.0, label-switched-path PE1toPE3
1:198.51.100.4:0::999999999999999999::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:01:56, localpref 100, from 198.51.100.4
AS path: I, validation-state: unverified
> to 10.0.2.2 via xe-0/0/3.0, label-switched-path PE1toPE4
1:198.51.100.4:11::999999999999999999::9999/304 AD/EVI
*[BGP/170] 00:01:56, localpref 100, from 198.51.100.4
AS path: I, validation-state: unverified
> to 10.0.2.2 via xe-0/0/3.0, label-switched-path PE1toPE4
user@PE3> show route table bgp.evpn.0
bgp.evpn.0: 7 destinations, 7 routes (4 active, 0 holddown, 3 hidden)
+ = Active Route, - = Last Active, * = Both
1:198.51.100.1:0::111111111111111111::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:04:53, localpref 100, from 198.51.100.1
AS path: I, validation-state: unverified
> to 10.0.1.1 via xe-0/0/0.0, label-switched-path PE3toPE1
1:198.51.100.1:11::111111111111111111::1111/304 AD/EVI
*[BGP/170] 00:04:53, localpref 100, from 198.51.100.1
AS path: I, validation-state: unverified
> to 10.0.1.1 via xe-0/0/0.0, label-switched-path PE3toPE1
1:198.51.100.2:0::111111111111111111::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:04:53, localpref 100, from 198.51.100.2
AS path: I, validation-state: unverified
> to 10.0.3.1 via xe-0/0/1.0, label-switched-path PE3toPE2
1:198.51.100.2:11::111111111111111111::1111/304 AD/EVI
*[BGP/170] 00:04:53, localpref 100, from 198.51.100.2
AS path: I, validation-state: unverified
> to 10.0.3.1 via xe-0/0/1.0, label-switched-path PE3toPE2
意味
出力には、VPWS を介してリモート PE デバイスに共有されている ESI ルートが表示されます。
1:198.51.100.x:0::で始まるルートは、リモートPEデバイスから発信されるイーサネットセグメントごとの自動検出タイプ1 EVPNルートです。ルート識別(RD)は、デバイスのグローバル レベルで派生します。
1:198.51.100.x:11::で始まるルートは、リモートPEデバイスからのEVIごとの自動検出タイプ1 EVPNルートです。RDは、リモートPEデバイスのルーティングインスタンスから取得されます。
ローカルEVPNテーブルのルート情報の検証
目的
ローカルEVPNルーティングテーブルが入力されていることを確認します。
アクション
ローカルとリモートの両方の到達可能性情報がEVPNテーブルに追加されていることを確認します。
user@PE1> show route table EVPN-VPWS.evpn.0
EVPN-VPWS.evpn.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden)
+ = Active Route, - = Last Active, * = Both
1:198.51.100.1:11::111111111111111111::1111/304 AD/EVI
*[EVPN/170] 00:06:55
Indirect
1:198.51.100.3:0::999999999999999999::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:03:24, localpref 100, from 198.51.100.3
AS path: I, validation-state: unverified
> to 10.0.1.2 via xe-0/0/2.0, label-switched-path PE1toPE3
1:198.51.100.3:11::999999999999999999::9999/304 AD/EVI
*[BGP/170] 00:03:25, localpref 100, from 198.51.100.3
AS path: I, validation-state: unverified
> to 10.0.1.2 via xe-0/0/2.0, label-switched-path PE1toPE3
1:198.51.100.4:0::999999999999999999::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:02:03, localpref 100, from 198.51.100.4
AS path: I, validation-state: unverified
> to 10.0.2.2 via xe-0/0/3.0, label-switched-path PE1toPE4
1:198.51.100.4:11::999999999999999999::9999/304 AD/EVI
*[BGP/170] 00:02:03, localpref 100, from 198.51.100.4
AS path: I, validation-state: unverified
> to 10.0.2.2 via xe-0/0/3.0, label-switched-path PE1toPE4
user@PE3> show route table EVPN-VPWS.evpn.0
EVPN-VPWS.evpn.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden)
+ = Active Route, - = Last Active, * = Both
1:198.51.100.1:0::111111111111111111::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:05:01, localpref 100, from 198.51.100.1
AS path: I, validation-state: unverified
> to 10.0.1.1 via xe-0/0/0.0, label-switched-path PE3toPE1
1:198.51.100.1:11::111111111111111111::1111/304 AD/EVI
*[BGP/170] 00:05:01, localpref 100, from 198.51.100.1
AS path: I, validation-state: unverified
> to 10.0.1.1 via xe-0/0/0.0, label-switched-path PE3toPE1
1:198.51.100.2:0::111111111111111111::FFFF:FFFF/304 AD/ESI
*[BGP/170] 00:05:01, localpref 100, from 198.51.100.2
AS path: I, validation-state: unverified
> to 10.0.3.1 via xe-0/0/1.0, label-switched-path PE3toPE2
1:198.51.100.2:11::111111111111111111::1111/304 AD/EVI
*[BGP/170] 00:05:01, localpref 100, from 198.51.100.2
AS path: I, validation-state: unverified
> to 10.0.3.1 via xe-0/0/1.0, label-switched-path PE3toPE2
1:198.51.100.3:11::999999999999999999::9999/304 AD/EVI
*[EVPN/170] 00:05:25
Indirect
意味
前のセクションで説明したように、VPWS全体で共有されるリモートESIルートに加えて、各PEデバイスのEVPNテーブルにはローカルESIルートも含まれています。このタイプ1ルートは、ローカルに設定されたイーサネットセグメントを表し、ローカルに設定されたRDおよびESI値から導き出されます。