各スイッチごとにBGPのASをもつイメージです。
関連ページ
作成中
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
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
LoopBackのIPを伝播する。
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
spine11
AS 64512 spine11 spine12 leaf11 leaf12 leaf21 leaf22
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
leaf11 leaf12 leaf21 leaf22 VLAN 100 = VXLAN VNI 10100 VLAN 300 = VXLAN VNI 10300
基本的にすべての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
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#スイッチに戻る
一般向けサイト
ITエンジニア向けサイト
英語サイト
Portfolio
Copyright (c) 2024 現場で必要なネットワーク技術入門 All Rights Reserved.