본문 바로가기

엔지니어/Network

SpineLeaf 구성 테스트

728x90
반응형

 

 

GNS3 로 Arista 장비 Vxlan, eBGP, ECMP 구성 테스트 중..

 

Spine1
SPINE01sh run
hostname SPINE01
interface Ethernet1
   no switchport
   ip address 10.10.1.1/24
interface Ethernet2
   no switchport
   ip address 10.10.2.1/24
interface Ethernet3
   no switchport
   ip address 10.10.3.1/24
ip routing
router bgp 100
   maximum-paths 2 ecmp 2
   neighbor 10.10.1.2 remote-as 201
   neighbor 10.10.1.2 maximum-routes 12000
   neighbor 10.10.2.2 remote-as 202
   neighbor 10.10.2.2 maximum-routes 12000
   neighbor 10.10.3.2 remote-as 203
   neighbor 10.10.3.2 maximum-routes 12000
   redistribute connected
SPINE01#

Spine2
SPINE02 sh run
hostname SPINE02
interface Ethernet1
   no switchport
   ip address 20.20.1.1/24
interface Ethernet2
   no switchport
   ip address 20.20.2.1/24
interface Ethernet3
   no switchport
   ip address 20.20.3.1/24
ip routing
router bgp 100
   maximum-paths 2 ecmp 2
   neighbor 20.20.1.2 remote-as 201
   neighbor 20.20.1.2 maximum-routes 12000
   neighbor 20.20.2.2 remote-as 202
   neighbor 20.20.2.2 maximum-routes 12000
   neighbor 20.20.3.2 remote-as 203
   neighbor 20.20.3.2 maximum-routes 12000
   redistribute connected
SPINE02#

 

Leaf01
LEAF01 sh running-config
hostname LEAF01
vlan 31,41
interface Ethernet1
   no switchport
   ip address 10.10.1.2/24
interface Ethernet2
   no switchport
   ip address 20.20.1.2/24
interface Ethernet3
   switchport access vlan 31
interface Ethernet4
   switchport access vlan 41
interface Loopback1
   ip address 101.1.1.1/24
interface Vlan31
   ip address virtual 31.1.1.254/24
interface Vlan41
   ip address virtual 41.1.1.254/24
interface Vxlan1
   vxlan source-interface Loopback1
   vxlan udp-port 4789
   vxlan vlan 31 vni 3311
   vxlan vlan 41 vni 4411
   vxlan flood vtep 102.1.1.1 103.1.1.1
ip routing
router bgp 201
   maximum-paths 2 ecmp 2
   neighbor 10.10.1.1 remote-as 100
   neighbor 10.10.1.1 maximum-routes 12000
   neighbor 20.20.1.1 remote-as 100
   neighbor 20.20.1.1 maximum-routes 12000
   redistribute connected
LEAF01#



Leaf2
LEAF02 sh running-config
hostname LEAF02
vlan 32,41
interface Ethernet1
   no switchport
   ip address 10.10.2.2/24
interface Ethernet2
   no switchport
   ip address 20.20.2.2/24
interface Ethernet3
   switchport access vlan 32
interface Ethernet4
   switchport access vlan 41
interface Loopback1
   ip address 102.1.1.1/24
interface Vlan32
   ip address virtual 31.1.1.254/24
interface Vlan41
   ip address virtual 41.1.1.254/24
interface Vxlan1
   vxlan source-interface Loopback1
   vxlan udp-port 4789
   vxlan vlan 32 vni 3311
   vxlan vlan 41 vni 4411
   vxlan flood vtep 101.1.1.1 103.1.1.1
ip routing
router bgp 202
   maximum-paths 2 ecmp 2
   neighbor 10.10.2.1 remote-as 100
   neighbor 10.10.2.1 maximum-routes 12000
   neighbor 20.20.2.1 remote-as 100
   neighbor 20.20.2.1 maximum-routes 12000
   redistribute connected
LEAF02#

Leaf3
LEAF03 sh running-config
hostname LEAF03
vlan 51
interface Ethernet1
   no switchport
   ip address 10.10.3.2/24
interface Ethernet2
   no switchport
   ip address 20.20.3.2/24
interface Ethernet3
   switchport access vlan 51
interface Ethernet4
   switchport access vlan 51
interface Loopback1
   ip address 103.1.1.1/24
interface Vlan51
   ip address 51.1.1.254/24
interface Vxlan1
   vxlan source-interface Loopback1
   vxlan udp-port 4789
   vxlan vlan 31 vni 3311
   vxlan vlan 41 vni 4411
   vxlan flood vtep 101.1.1.1 102.1.1.1
ip routing
router bgp 203
   maximum-paths 2 ecmp 2
   neighbor 10.10.3.1 remote-as 100
   neighbor 10.10.3.1 maximum-routes 12000
   neighbor 20.20.3.1 remote-as 100
   neighbor 20.20.3.1 maximum-routes 12000
   redistribute connected
LEAF03#

 

 

반응형

'엔지니어 > Network' 카테고리의 다른 글

광케이블 종류  (0) 2022.10.28
CISCO Access Port 와 Trunk Port의 차이점  (0) 2017.03.03
CISCO L3 NAT 구성  (0) 2017.01.10
cisco ios 백업 및 tftp 설정  (0) 2016.05.26
스위치 포트 미러링  (0) 2016.05.26