本文主要是介绍Lab06 Overlay配置,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Lab06 Overlay配置
采用BGP-EVPN分布式网关,AS号为100,BGP使用,
BGP使用loo1建立邻居,loo0作为VETP地址建立Vxlan隧道
Leaf3的EVPN已经配置好,无需考试配置。
使用最简化的配置方式实现leaf之间全互联。
Spine1 loopback1 11.1.1.1 loopback0 10.45.45.45 0000-5e00-0100
Spine2 loopback1 11.2.2.2 loopback0 10.45.45.45 0000-5e00-0100
Leaf1A loopback1 11.3.3.3 loopback0 10.1.1.1
Leaf2A loopback1 11.4.4.4 loopback0 10.2.2.2 0000-5e00-0110
Leaf2B loopback1 11.5.5.5 loopback0 10.2.2.2 0000-5e00-0110
Leaf3 loopback1 11.6.6.6 loopback0 10.3.3.3
配置思路
1、开启evpn功能
2、BGP配置
3、NVE接口配置
1、 EVPN配置
Spine1、spine2、leaf1、leaf2A、leaf2B、leaf3都配置上evpn
Evpn-overlay enable
2、 BGP
Spine1
Bgp 100Router-id 11.1.1.1Peer 11.3.3.3 as-number 100Peer 11.3.3.3 connect lo1Peer 11.4.4.4 as-number 100Peer 11.4.4.4 connect lo1Peer 11.5.5.5 as-number 100Peer 11.5.5.5 connect loo1Peer 11.6.6.6 as-number 100Peer 11.6.6.6 connect loo1L2vpn-family evpnUndo policy vpn-targetPeer 11.3.3.3 enablePeer 11.3.3.3 reflect-clientPeer 11.3.3.3 advertise irbPeer 11.4.4.4 enablePeer 11.4.4.4 reflect-clientPeer 11.4.4.4 adv irbPeer 11.5.5.5 enablePeer 11.5.5.5 reflect-clientPeer 11.5.5.5 adv irbPeer 11.6.6.6 enablePeer 11.6.6.6 reflect-clientPeer 11.6.6.6 adv irb
Spine2
Bgp 100Router-id 11.2.2.2复制spine1的peer邻居关系复制spine1的l2vpn-family邻居设置
Leaf1
Bgp 100Router-id 11.3.3.3Peer 11.1.1.1 as-number 100Peer 11.1.1.1 connect loo1Peer 11.2.2.2 as-number 100Peer 11.2.2.2 connect loo1L2vpn-family evpnPeer 11.1.1.1 enablePeer 11.1.1.1 adv irbPeer 11.2.2.2 enablePeer 11.2.2.2 adv irb
Leaf2A
Bgp 100Router-id 11.4.4.4复制leaf1的peer邻居关系复制leaf1的l2vpn-family邻居设置Leaf2B
Bgp 100Router-id 11.5.5.5复制leaf1的peer邻居关系复制leaf1的l2vpn-family邻居设置
Dis bgp evpn peer 检查evpn邻居状态
3、 NVE地址
Spine1
Inter nve1Source 10.45.45.45Mac-address 0000-5e00-0100
Spine2
Inter nve1Source 10.45.45.45Mac-address 0000-5e00-0100
Leaf1
Inter nve1Source 10.1.1.1
Leaf2A
Inter nve1Source 10.2.2.2Mac-address 0000-5e00-0110
Leaf2B
Inter nve1Source 10.2.2.2Mac-address 0000-5e00-0110
保存配置
这篇关于Lab06 Overlay配置的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!