EVPN LAG設定のベストプラクティス
QFX シリーズ スイッチ上の Junos OS は、エンタープライズ スタイルの構成とサービス プロバイダー スタイルの構成をサポートします。
どちらの設定スタイルを使用してEVPN LAGを設定できます。リーフデバイスでRSTPを有効にしなくても、ストーム制御プロファイルやBPDUブロッキングなど、より多くのデータセンター機能をサポートするため、エンタープライズ設定スタイルの使用をお勧めします。
このセクションでは、両方の設定スタイルを使用したEVPN LAGの設定について説明します。
エンタープライズ設定スタイルを使用したCRBアーキテクチャのEVPN LAG設定
エンタープライズ構成スタイルは、ほとんどのデータセンターアーキテクチャでEVPN LAG機能を有効にするための推奨される方法です。一般に、エンタープライズ スタイルのプロビジョニングは、サービス プロバイダ スタイルのプロビジョニングよりも単純で、他のレイヤー 2 機能との互換性が高くなります。
以下の設定は、Centrally Routed Bridging アーキテクチャのリーフデバイスで Enterprise 設定スタイルを使用して行われた EVPN LAG 設定の例を示しています。
user@leaf_node1>show configuration interfaces ae0 esi { 00:33:33:33:33:33:33:33:33:01; a unique but same value at leafs connected to given server all-active; } aggregated-ether-options { lacp { active; system-id 00:33:33:33:33:01; a unique but same value at leafs connected to given server } } unit 0 { family ethernet-switching { interface-mode trunk; vlan { members [ 100-101 ]; the explicit vlan-ids enabled with vxlan - can’t be mixed with regular vlans on same ESI-LAG } } } user@leaf_node1> show configuration vlans vlan100 { vlan-id 100; value provisioned at the ESI-LAG interface in enterprise-mode vxlan { vni 50100; } } vlan101 { vlan-id 101; vxlan { vni 50101; } } user@leaf_node1> show configuration interfaces et-0/0/50 description esi-lag-member-link; ether-options { 802.3ad ae0; } user@leaf_node1> show configuration switch-options vtep-source-interface lo0.0; lo0.0 must be in the global routing table route-distinguisher 1.1.1.21:1; RD must be a unique value per leaf vrf-import MY-FABRIC-IMPORT; vrf-target target:1:5555; root@dc-tme-qfx5110-1> show configuration protocols evpn vni-options { vni 10001 { vrf-target target:1:100; } vni 10002 { vrf-target target:1:101; } } encapsulation vxlan; multicast-mode ingress-replication; default-gateway do-not-advertise; extended-vni-list [ 50100 50101 ]; user@leaf_node1> show configuration policy-options policy-statement MY-FABRIC-IMPORT term term1 { from community MY-FAB-COMMUNITY; then accept; } term term2 { from community COM-VNI-50100; then accept; } term term3 { from community COM-VNI-50101; then accept; } then reject; user@leaf_node1> show configuration policy-options community MY-FAB-COMMUNITY members target:1:5555; user@leaf_node1> show configuration policy-options policy-statement LB { term term1 { from protocol evpn; then { load-balance per-packet; } } term term2 { then { load-balance per-packet; } } } policy-statement MY-FABRIC-IMPORT { term term1 { from community MY-FAB-COMMUNITY; then accept; } term term2 { from community ESI-SPINE; then accept; } term term3 { from community COM-VNI-50100; then accept; } term term4 { from community COM-VNI-50101; then accept; } then reject; } policy-statement MY_VTEPS { term term1 { from { route-filter 1.1.1.0/24 prefix-length-range /32-/32; } then accept; } then reject; } community COM-VNI-50100 members target:1:100; community COM-VNI-50101 members target:1:101; community MY-FAB-COMMUNITY members target:1:5555; community SPINE-ESI members target:1:8888; user@leaf_node1> show configuration protocols bgp log-updown; group overlay { type internal; local-address 1.1.1.21; family evpn { signaling; } vpn-apply-export; local-as 64512; bfd-liveness-detection { minimum-interval 300; multiplier 3; } multipath; neighbor 1.1.1.11; neighbor 1.1.1.12; } group underlay { type external; export MY_VTEPS; multipath multiple-as; neighbor 10.10.19.1 { peer-as 65511; } neighbor 10.10.21.1 { peer-as 65512; } } user@leaf_node1> show configuration interfaces et-0/0/48 description spine0_connected; mtu 9216; unit 0 { family inet { address 10.10.19.2/24; } } user@leaf_node1> show configuration interfaces et-0/0/49 description spine1_connected; mtu 9216; unit 0 { family inet { address 10.10.21.2/24; } }
サービスプロバイダー設定スタイルを使用したCRBアーキテクチャのEVPN LAG設定
QFX5110 スイッチは、サービス プロバイダ スタイルの設定もサポートしています。サービス プロバイダー設定スタイルで EVPN LAG を設定すると、特定の EVPN LAG ごとに複数のユニットが割り当てられます。このような複数のユニットは、ユニット インターフェイスごとのフィルターとレート制限をより選択的に可能にする機会を提供しますが、これらの割り当てはユニット単位で行う必要があるため、設定と保守が負担になります。スパインおよびリーフトポロジーを使用するデータセンターアーキテクチャでは、通常、この細分性は必要ないため、ほとんどのデータセンター環境でEVPN LAGを有効にする場合、サービスプロバイダスタイルの設定を使用することはお勧めしません。
以下の設定は、サービス プロバイダ設定スタイルを使用して行われた EVPN LAG 設定の例を示しています。この設定は、IRB がリーフ デバイス上にないアーキテクチャ(中央ルーティングされたブリッジング(CRB)およびブリッジド オーバーレイ(BO)アーキテクチャ)で、QFX5110 または QFX5120 スイッチがリーフ デバイス ロールで動作している場合にサポートされます。エッジルーティングブリッジング(ERB)アーキテクチャでQFX5110スイッチまたはQFX5120スイッチをリーフデバイスとして使用する場合は、EVPN LAGを有効にするには、エンタープライズ設定スタイルを使用する必要があります。
user@leaf_node1> show configuration interfaces ae11 flexible-vlan-tagging; encapsulation extended-vlan-bridge; esi { 00:33:33:33:33:33:33:33:33:01; all-active; } aggregated-ether-options { lacp { active; periodic fast; system-id 00:33:33:33:33:01; } } unit 100 { vlan-id 100; } unit 101 { vlan-id 101; } <- Corresponding VxLAN - > VLAN Mapping user@leaf_node1> show configuration vlans vlan100 interface ae11.100; vxlan { vni 50100; } {master:0} user@leaf_node1> show configuration vlans vlan101 interface ae11.101; vxlan { vni 50101; }