DC ファブリックトポロジにおける EVPN 基本構成
次のものでFigure 1構成される完全なトポロジーが含まれています。
これらのデバイスは必要に応じて構成します。
ベース EVPN 設定
Configuring the Underlay
LEAF-1
アンダーレイインターフェイスを構成します。
set interfaces xe-0/0/0 description "TO SPINE-1"
set interfaces xe-0/0/0 unit 0 family inet address 8.8.8.2/24
set interfaces xe-0/0/1 description "TO SPINE-2"
set interfaces xe-0/0/1 unit 0 family inet address 13.13.13.2/24
set interfaces lo0 unit 0 family inet address 105.105.105.105/32
commit
アンダーレイでルーティング用に BGP を設定します。
set routing-options router-id 105.105.105.105
set routing-options autonomous-system 65005
set policy-options policy-statement EXPORT-LO term 1 from
protocol direct
set policy-options policy-statement EXPORT-LO term 1 then
accept
set protocols bgp group UNDERLAY family inet any
set protocols bgp group UNDERLAY export EXPORT-LO
set protocols bgp group UNDERLAY local-as 65005
set protocols bgp group UNDERLAY neighbor 8.8.8.1 description
SPINE-1
set protocols bgp group UNDERLAY neighbor 8.8.8.1 peer-as
65003
set protocols bgp group UNDERLAY neighbor 13.13.13.1 description
SPINE-2
set protocols bgp group UNDERLAY neighbor 13.13.13.1 peer-as
65004
commit
その他のリーフ Pe または境界リーフ Pe のアンダーレイ構成は似ていますが、付録に記載されています。
SPINE-1
アンダーレイインターフェイスを構成します。
set interfaces xe-0/0/0 description "TO BL-1"
set interfaces xe-0/0/0 unit 0 family inet address 5.5.5.2/24
set interfaces xe-0/0/1 description "TO BL-2"
set interfaces xe-0/0/1 unit 0 family inet address 7.7.7.2/24
set interfaces xe-0/0/2 description "TO LEAF-1"
set interfaces xe-0/0/2 unit 0 family inet address 13.13.13.1/24
set interfaces xe-0/0/3 description "TO LEAF-2"
set interfaces xe-0/0/3 unit 0 family inet address 14.14.14.1/24
set interfaces xe-0/0/4 description "TO LEAF-3"
set interfaces xe-0/0/4 unit 0 family inet address 15.15.15.1/24
set interfaces xe-0/0/5 description "TO LEAF-4"
set interfaces xe-0/0/5 unit 0 family inet address 16.16.16.1/24
set interfaces xe-0/0/6 description "TO LEAF-5"
set interfaces xe-0/0/6 unit 0 family inet address 17.17.17.1/24
set interfaces lo0 unit 0 family inet address 104.104.104.104/32
commit
アンダーレイでルーティング用に BGP を設定します。
set routing-options router-id 104.104.104.104
set routing-options autonomous-system 65004
set policy-options policy-statement EXPORT-LO term 1 from
protocol direct
set policy-options policy-statement EXPORT-LO term 1 then
accept
set protocols bgp group UNDERLAY family inet any
set protocols bgp group UNDERLAY export EXPORT-LO
set protocols bgp group UNDERLAY local-as 65004
set protocols bgp group UNDERLAY neighbor 5.5.5.1 description
BL-1
set protocols bgp group UNDERLAY neighbor 5.5.5.1 peer-as
65001
set protocols bgp group UNDERLAY neighbor 7.7.7.1 description
BL-2
set protocols bgp group UNDERLAY neighbor 7.7.7.1 peer-as
65002
set protocols bgp group UNDERLAY neighbor 13.13.13.2 description
LEAF-1
set protocols bgp group UNDERLAY neighbor 13.13.13.2 peer-as
65005
set protocols bgp group UNDERLAY neighbor 14.14.14.2 description
LEAF-2
set protocols bgp group UNDERLAY neighbor 14.14.14.2 peer-as
65006
set protocols bgp group UNDERLAY neighbor 15.15.15.2 description
LEAF-3
set protocols bgp group UNDERLAY neighbor 15.15.15.2 peer-as
65007
set protocols bgp group UNDERLAY neighbor 16.16.16.2 description
LEAF-4
set protocols bgp group UNDERLAY neighbor 16.16.16.2 peer-as
65008
set protocols bgp group UNDERLAY neighbor 17.17.17.2 description
LEAF-5
set protocols bgp group UNDERLAY neighbor 17.17.17.2 peer-as
65009
commit
スパイン1の設定についてご紹介します。スパインの構成は似ていますが、付録に記載されています。
Configuring the Overlay
ここでは、EVPN PEs でオーバーレイを構成します。
LEAF-1
オーバーレイでのルーティングのための I BGP の構成:
set protocols bgp group OVERLAY type internal
set protocols bgp group OVERLAY local-address 105.105.105.105
set protocols bgp group OVERLAY family evpn signaling
set protocols bgp group OVERLAY local-as 65000
set protocols bgp group OVERLAY neighbor 101.101.101.101
description BL-1
set protocols bgp group OVERLAY neighbor 102.102.102.102
description BL-2
set protocols bgp group OVERLAY neighbor 106.106.106.106
description LEAF-2
set protocols bgp group OVERLAY neighbor 107.107.107.107
description LEAF-3
set protocols bgp group OVERLAY neighbor 108.108.108.108
description LEAF-4
set protocols bgp group OVERLAY neighbor 109.109.109.109
description LEAF-5
commit
お客様のインターフェイスと Vlan を構成します。
set chassis aggregated-devices ethernet deviCE-3ount 2
set interfaces xe-0/0/2 gigether-options 802.3ad ae0
set interfaces xe-0/0/3 gigether-options 802.3ad ae1
set interfaces xe-0/0/4 description "TO Host-2"
set interfaces xe-0/0/4 unit 0 family ethernet-switching
interface-mode trunk
set interfaces xe-0/0/4 unit 0 family ethernet-switching
VLAN members VLAN-101
set interfaces ae0 description "TO CE-1"
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp periodic
fast
set interfaces ae0 aggregated-ether-options lacp system-id
00:11:11:11:11:11
set interfaces ae0 unit 0 family ethernet-switching interface-mode
trunk
set interfaces ae0 unit 0 family ethernet-switching VLAN
members VLAN-101
set interfaces ae1 description "TO CE-2"
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 aggregated-ether-options lacp periodic
fast
set interfaces ae1 aggregated-ether-options lacp system-id
00:22:22:22:22:22
set interfaces ae1 unit 0 family ethernet-switching interface-mode
trunk
set interfaces ae1 unit 0 family ethernet-switching VLAN
members VLAN-101
set interfaces ae1 unit 0 family ethernet-switching VLAN
members VLAN-102
set vlans VLAN-101 VLAN-id 101
set vlans VLAN-101 vxlan vni 101
set vlans VLAN-102 VLAN-id 102
set vlans VLAN-102 vxlan vni 102
commit
お客様の Vlan を拡張するために EVPN を設定します。
set protocols evpn encapsulation vxlan
set protocols evpn extended-vni-list 101
set protocols evpn extended-vni-list 102
set switch-options vtep-source-interface lo0.0
set switch-options route-distinguisher 105.105.105.105:1
set switch-options vrf-target target:1:1
commit
マルチホームインターフェイスの ESIs を構成します。
set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:11
set interfaces ae0 esi 00:11:11:11:11:11:11:11:11:11
set interfaces ae1 esi 00:22:22:22:22:22:22:22:22:22
set interfaces ae1 esi all-active
commit
他の EVPN リーフ Pe のオーバーレイ構成は類似していますが、付録に記載されています。
BL-1
オーバーレイでのルーティングのための I BGP の構成:
set protocols bgp group OVERLAY type internal
set protocols bgp group OVERLAY local-address 102.102.102.102
set protocols bgp group OVERLAY family evpn signaling
set protocols bgp group OVERLAY local-as 65000
set protocols bgp group OVERLAY neighbor 101.101.101.101
description BL-1
set protocols bgp group OVERLAY neighbor 105.105.105.105
description LEAF-1
set protocols bgp group OVERLAY neighbor 106.106.106.106
description LEAF-2
set protocols bgp group OVERLAY neighbor 107.107.107.107
description LEAF-3
set protocols bgp group OVERLAY neighbor 108.108.108.108
description LEAF-4
set protocols bgp group OVERLAY neighbor 109.109.109.109
description LEAF-5
commit
お客様の Vlan を構成します。
set vlans VLAN-101 VLAN-id 101
set vlans VLAN-101 vxlan vni 101
set vlans VLAN-102 VLAN-id 102
set vlans VLAN-102 vxlan vni 102
commit
お客様の Vlan を拡張するために EVPN を設定します。
set protocols evpn encapsulation vxlan
set protocols evpn extended-vni-list 101
set protocols evpn extended-vni-list 102
set switch-options vtep-source-interface lo0.0
set switch-options route-distinguisher 101.101.101.101:1
set switch-options vrf-target target:1:1
commit
L3 VRF とそのインターフェイスを構成します。
set interfaces irb unit 101 virtual-gateway-accept-data
set interfaces irb unit 101 virtual-gateway-esi 00:66:66:66:66:66:66:66:66:66
set interfaces irb unit 101 virtual-gateway-esi all-active
set interfaces irb unit 101 family inet address 18.18.18.1/24
virtual-gateway-address 18.18.18.100
set interfaces irb unit 102 virtual-gateway-accept-data
set interfaces irb unit 102 virtual-gateway-esi 00:77:77:77:77:77:77:77:77:77
set interfaces irb unit 102 virtual-gateway-esi all-active
set interfaces irb unit 102 family inet address 19.19.19.1/24
virtual-gateway-address 19.19.19.100
set interfaces lo0 unit 1 family inet address 101.101.101.102/32
set routing-instances VRF-1 instance-type virtual-router
set routing-instances VRF-1 interface irb.101
set routing-instances VRF-1 interface irb.102
set routing-instances VRF-1 interface lo0.1
set vlans VLAN-101 l3-interface irb.101
set vlans VLAN-102 l3-interface irb.102
commit
L3 VRF で、L3 マルチキャストプロトコルを設定します。
set routing-instances VRF-1 protocols pim interface lo0.1
mode sparse
set routing-instances VRF-1 protocols pim rp local address
101.101.101.102
set routing-instances VRF-1 protocols pim interface all
mode sparse
set routing-instances VRF-1 protocols pim interface irb.102
priority 2
commit
BL-2 のオーバーレイ構成も同様で、付録に記載されています。
Configuring the CE devices
CE-1
インターフェイスとブリッジドメインを構成します。
set chassis aggregated-devices ethernet deviCE-3ount 1
set interfaces ge-0/0/0 description "TO Host-1"
set interfaces ge-0/0/0 unit 0 family bridge interface-mode
trunk
set interfaces ge-0/0/0 unit 0 family bridge VLAN-id-list
101
set interfaces ge-0/0/0 unit 0 family bridge VLAN-id-list
102
set interfaces ge-0/0/1 gigether-options 802.3ad ae0
set interfaces ge-0/0/2 gigether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 aggregated-ether-options lacp periodic
fast
set interfaces ae0 description "TO LEAF-1_LEAF-2"
set interfaces ae0 unit 0 family bridge interface-mode
trunk
set interfaces ae0 unit 0 family bridge VLAN-id-list 101
set interfaces ae0 unit 0 family bridge VLAN-id-list 102
set bridge-domains BD-101 domain-type bridge
set bridge-domains BD-101 VLAN-id 101
set bridge-domains BD-102 domain-type bridge
set bridge-domains BD-102 VLAN-id 102
commit
他の CE デバイスのオーバーレイ構成は似ていますが、付録に記載されています。また、トポロジー内のすべてのデバイスの基本構成の詳細については、付録を参照してください。