目次

Juniperで、IP Fabric(VXLAN/EVPN)の設定手順イメージ1(各スイッチごとにBGP AS)



各スイッチごとにBGPのASをもつイメージです。

関連ページ



作成中



IP Fabric(VXLAN/EVPN)設定イメージ


Underlayの設定

各スイッチで、接続する物理インターフェースにIPを付ける

spine11 0/0/0 192.0.2.1/31  --  leaf11  0/0/0 192.0.2.2/31
spine11 0/0/1 192.0.2.3/31  --  leaf12  0/0/0 192.0.2.4/31
spine11 0/0/2 192.0.2.5/31  --  leaf12  0/0/0 192.0.2.6/31
spine11 0/0/3 192.0.2.7/31  --  leaf12  0/0/0 192.0.2.8/31

spine12 0/0/0 192.0.2.128/31  --  leaf11  0/0/1 192.0.2.129/31
spine12 0/0/1 192.0.2.130/31  --  leaf12  0/0/1 192.0.2.131/31
spine12 0/0/2 192.0.2.132/31  --  leaf12  0/0/1 192.0.2.133/31
spine12 0/0/3 192.0.2.134/31  --  leaf12  0/0/1 192.0.2.135/31

スイッチ間で疎通確認

ping  x.x.x.x


各スイッチごとに、Loopback用のIPを付ける

spine11  lo0  172.31.0.1/32
spine12  lo0  172.31.0.2/32

leaf11   lo0  172.31.1.1/32
leaf12   lo0  172.31.1.2/32

leaf21   lo0  172.31.2.1/32
leaf22   lo0  172.31.2.2/32


各スイッチで、各ASを持ち、接続用のIPで、eBGPで接続(アンダーレイのeBGP)

LoopBackのIPを伝播する。

Underlay BGPイメージ
AS 65000
  spine11  lo0  172.31.0.1/32
AS 65001
  spine12  lo0  172.31.0.2/32

AS 65101
  leaf01   lo0  172.31.1.1/32
AS 65102
  leaf02   lo0  172.31.1.2/32
AS 65003
  leaf03   lo0  172.31.1.3/32
AS 65004
  leaf04   lo0  172.31.1.4/32

Underlay BGP設定イメージ
spine11


Overlayの設定

各スイッチのlo0を利用して、全てのスイッチで、一つのASを持ったiBGPを作る(MP-BGP)

Overlay BGPイメージ
AS 64512
  spine11
  spine12
  leaf11
  leaf12
  leaf21
  leaf22
Overlay BGP設定イメージ
spine11
  local-as 64512
  local-address   172.31.0.1/32  #lo0
  neighbor  172.31.1.1  #leaf11 lo0
  neighbor  172.31.1.1  #leaf12 lo0
  neighbor  172.31.2.1  #leaf21 lo0
  neighbor  172.31.2.1  #leaf21 lo0

spine12
  local-as 64512
  local-address   172.31.0.2/32  #lo0
  neighbor  172.31.1.1  #leaf11 lo0
  neighbor  172.31.1.1  #leaf12 lo0
  neighbor  172.31.2.1  #leaf21 lo0
  neighbor  172.31.2.1  #leaf21 lo0



leaf11
  local-as 64512
  local-address   172.31.1.1/32  #lo0
  neighbor  172.31.0.1  #spine11 lo0
  neighbor  172.31.0.2  #spine12 lo0

leaf12
  local-as 64512
  local-address   172.31.1.2/32  #lo0
  neighbor  172.31.0.1  #spine11 lo0
  neighbor  172.31.0.2  #spine12 lo0



leaf21
  local-as 64512
  local-address   172.31.2.1/32  #lo0
  neighbor  172.31.0.1  #spine11 lo0
  neighbor  172.31.0.2  #spine12 lo0

leaf22
  local-as 64512
  local-address   172.31.2.2/32  #lo0
  neighbor  172.31.0.1  #spine11 lo0
  neighbor  172.31.0.2  #spine12 lo0


Overlay EVPN+VXLAN設定

EVPN+VXLANイメージ
leaf11
leaf12
leaf21
leaf22
  VLAN 100 = VXLAN VNI 10100
  VLAN 300 = VXLAN VNI 10300
EVPN+VXLAN設定イメージ

基本的にすべてのLeafで同じ設定

vlan-id 100
vxlan vni 10100


vlan-id 200
vxlan vni 10200

vlan-id 300
vxlan vni 10300



RD(Route Distinguisher)は機器ごとに設定する

Leaf11
  set switch-options route-distinguisher 64512:11

Leaf12
  set switch-options route-distinguisher 64512:12

Leaf21
  set switch-options route-distinguisher 64512:21

Leaf22
  set switch-options route-distinguisher 64512:22


AE(Aggreation Ethernet)設定

ESI (Ethernet Segment Identifier)

Link Agregateionしたいペア単位で、同じESIにします。

leaf11 ae0
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:10:00 
leaf12 ae0
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:10:00 

leaf11 ae1
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:11:00 
leaf12 ae1
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:11:00 


leaf21 ae0
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:20:00 
leaf22 ae0
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:20:00 

leaf21 ae1
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:21:00 
leaf22 ae1
  set interfaces ae0 esi 00:01:01:01:01:01:01:01:21:00 


関連ページ








Top#スイッチに戻る