VXLAN实验

拓扑图:

SPINE配置:

hostname SPINE-1
vdc SPINE-1 id 1
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 511
limit-resource u4route-mem minimum 248 maximum 248
limit-resource u6route-mem minimum 96 maximum 96
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8

nv overlay evpn
feature ospf
feature bgp
feature pim
feature vn-segment-vlan-based
feature nv overlay

username admin password 5 $5$bjUuS34N$DaWFpLKAxc.89ZQkEif9YY8a/JukfKjuyzDMDojrB.
B role network-admin
ip domain-lookup
snmp-server user admin network-admin auth md5 0x491623bcc3af3ee723c3e7faf5da4c50
priv 0x491623bcc3af3ee723c3e7faf5da4c50 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO

vlan 1
ip pim rp-address 192.168.1.1 group-list 224.0.0.0/4
ip pim log-neighbor-changes
ip pim ssm range 232.0.0.0/8

vrf context management

interface Ethernet1/1
no switchport
ip address 10.10.1.1/30
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
no shutdown

interface Ethernet1/2
no switchport
ip address 10.10.2.1/30
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
no shutdown

interface loopback0
ip address 192.168.1.1/32
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
line console
line vty
boot nxos bootflash:/nxos.7.0.3.I5.2.bin
router ospf 100
router-id 192.168.1.1
router bgp 65001
router-id 192.168.1.1
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
retain route-target all
template peer VTEP
remote-as 65001
update-source loopback0
address-family ipv4 unicast
send-community
send-community extended
route-reflector-client
address-family l2vpn evpn
send-community
send-community extended
route-reflector-client
neighbor 192.168.1.2
inherit peer VTEP
remote-as 65001
update-source loopback0
address-family ipv4 unicast
send-community
send-community extended
address-family l2vpn evpn
send-community
send-community extended
neighbor 192.168.1.3
inherit peer VTEP
remote-as 65001

LEAF-1配置如下:

hostname LEAF-1
vdc LEAF-1 id 1
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 511
limit-resource u4route-mem minimum 248 maximum 248
limit-resource u6route-mem minimum 96 maximum 96
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8

nv overlay evpn
feature ospf
feature bgp
feature pim
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay

username admin password 5 $5$c/UAIe9A$SDYP9JFFiKC8SiS9sSe/SIT6ClZnv9jia2rb/NqVj2
7 role network-admin
ip domain-lookup
snmp-server user admin network-admin auth md5 0xe1718bdb6f8d19c41d0c56fe114ff587
priv 0xe1718bdb6f8d19c41d0c56fe114ff587 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO

vlan 1,10-50,901-904
fabric forwarding anycast-gateway-mac 0000.1111.2222
ip pim rp-address 192.168.1.1 group-list 224.0.0.0/4
ip pim log-neighbor-changes
ip pim ssm range 232.0.0.0/8
vlan 10
vn-segment 160010
vlan 11
vn-segment 160011
vlan 12
vn-segment 160012
vlan 13
vn-segment 160013
vlan 14
vn-segment 160014
vlan 15
vn-segment 160015
vlan 16
vn-segment 160016
vlan 17
vn-segment 160017
vlan 18
vn-segment 160018
vlan 19
vn-segment 160019
vlan 20
vn-segment 160020
vlan 21
vn-segment 160021
vlan 22
vn-segment 160022
vlan 23
vn-segment 160023
vlan 24
vn-segment 160024
vlan 25
vn-segment 160025
vlan 26
vn-segment 160026
vlan 27
vn-segment 160027
vlan 28
vn-segment 160028
vlan 29
vn-segment 160029
vlan 30
vn-segment 160030
vlan 31
vn-segment 160031
vlan 32
vn-segment 160032
vlan 33
vn-segment 160033
vlan 34
vn-segment 160034
vlan 35
vn-segment 160035
vlan 36
vn-segment 160036
vlan 37
vn-segment 160037
vlan 38
vn-segment 160038
vlan 39
vn-segment 160039
vlan 40
vn-segment 160040
vlan 41
vn-segment 160041
vlan 42
vn-segment 160042
vlan 43
vn-segment 160043
vlan 44
vn-segment 160044
vlan 45
vn-segment 160045
vlan 46
vn-segment 160046
vlan 47
vn-segment 160047
vlan 48
vn-segment 160048
vlan 49
vn-segment 160049
vlan 50
vn-segment 160050
vlan 901
vn-segment 900901
vlan 902
vn-segment 900902
vlan 903
vn-segment 900903
vlan 904
vn-segment 900904

vrf context APP
vni 900901
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context HXYW
vni 900903
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context MES
vni 900904
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context VM
vni 900902
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context management

interface Vlan1

interface Vlan10
no shutdown
mtu 9192
vrf member APP
ip address 10.20.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan11
no shutdown
mtu 9192
vrf member APP
ip address 10.20.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan13
no shutdown
mtu 9192
vrf member APP
ip address 10.20.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan14
no shutdown
mtu 9192
vrf member APP
ip address 10.20.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan15
no shutdown
mtu 9192
vrf member APP
ip address 10.20.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan16
no shutdown
mtu 9192
vrf member APP
ip address 10.20.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan17
no shutdown
mtu 9192
vrf member APP
ip address 10.20.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan18
no shutdown
mtu 9192
vrf member APP
ip address 10.20.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan19
no shutdown
mtu 9192
vrf member APP
ip address 10.20.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan20
no shutdown
mtu 9192
vrf member APP
ip address 10.20.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan21
no shutdown
mtu 9192
vrf member VM
ip address 10.30.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan22
no shutdown
mtu 9192
vrf member VM
ip address 10.30.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan23
no shutdown
mtu 9192
vrf member VM
ip address 10.30.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan24
no shutdown
mtu 9192
vrf member VM
ip address 10.30.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan25
no shutdown
mtu 9192
vrf member VM
ip address 10.30.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan26
no shutdown
mtu 9192
vrf member VM
ip address 10.30.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan27
no shutdown
mtu 9192
vrf member VM
ip address 10.30.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan28
no shutdown
mtu 9192
vrf member VM
ip address 10.30.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan29
no shutdown
mtu 9192
vrf member VM
ip address 10.30.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan30
no shutdown
mtu 9192
vrf member VM
ip address 10.30.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan31
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan32
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan33
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan34
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan35
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan36
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan37
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan38
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan39
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan40
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan41
no shutdown
mtu 9192
vrf member MES
ip address 10.50.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan42
no shutdown
mtu 9192
vrf member MES
ip address 10.50.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan43
no shutdown
mtu 9192
vrf member MES
ip address 10.50.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan44
no shutdown
mtu 9192
vrf member MES
ip address 10.50.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan45
no shutdown
mtu 9192
vrf member MES
ip address 10.50.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan46
no shutdown
mtu 9192
vrf member MES
ip address 10.50.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan47
no shutdown
mtu 9192
vrf member MES
ip address 10.50.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan48
no shutdown
mtu 9192
vrf member MES
ip address 10.50.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan49
no shutdown
mtu 9192
vrf member MES
ip address 10.50.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan50
no shutdown
mtu 9192
vrf member MES
ip address 10.50.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan901
no shutdown
mtu 9192
vrf member APP
no ip redirects
ip forward

interface Vlan902
no shutdown
mtu 9192
vrf member VM
no ip redirects
ip forward

interface Vlan903
no shutdown
mtu 9192
vrf member HXYW
no ip redirects
ip forward

interface Vlan904
no shutdown
mtu 9192
vrf member MES
no ip redirects
ip forward

interface nve1
no shutdown
source-interface loopback0
host-reachability protocol bgp
member vni 1
member vni 16
mcast-group 224.1.1.3
member vni 160
mcast-group 224.1.1.1
member vni 900
member vni 1600
member vni 160010
mcast-group 224.1.1.1
member vni 160011
mcast-group 224.1.1.1
member vni 160012
mcast-group 224.1.1.1
member vni 160013
mcast-group 224.1.1.1
member vni 160014
mcast-group 224.1.1.1
member vni 160015
mcast-group 224.1.1.1
member vni 160016
mcast-group 224.1.1.1
member vni 160017
mcast-group 224.1.1.1
member vni 160018
mcast-group 224.1.1.1
member vni 160019
mcast-group 224.1.1.1
member vni 160020
mcast-group 224.1.1.1
member vni 160021
mcast-group 224.1.1.2
member vni 160022
mcast-group 224.1.1.2
member vni 160023
mcast-group 224.1.1.2
member vni 160024
mcast-group 224.1.1.2
member vni 160025
mcast-group 224.1.1.2
member vni 160026
mcast-group 224.1.1.2
member vni 160027
mcast-group 224.1.1.2
member vni 160028
mcast-group 224.1.1.2
member vni 160029
mcast-group 224.1.1.2
member vni 160030
mcast-group 224.1.1.2
member vni 160031
mcast-group 224.1.1.3
member vni 160032
mcast-group 224.1.1.3
member vni 160033
mcast-group 224.1.1.3
member vni 160034
mcast-group 224.1.1.3
member vni 160035
mcast-group 224.1.1.3
member vni 160036
mcast-group 224.1.1.3
member vni 160037
mcast-group 224.1.1.3
member vni 160038
mcast-group 224.1.1.3
member vni 160039
mcast-group 224.1.1.3
member vni 160040
mcast-group 224.1.1.4
member vni 160041
mcast-group 224.1.1.4
member vni 160042
mcast-group 224.1.1.4
member vni 160043
mcast-group 224.1.1.4
member vni 160047
mcast-group 224.1.1.4
member vni 160048
mcast-group 224.1.1.4
member vni 160049
mcast-group 224.1.1.4
member vni 160050
mcast-group 224.1.1.4
member vni 900901 associate-vrf
member vni 900902 associate-vrf
member vni 900903 associate-vrf
member vni 900904 associate-vrf

interface Ethernet1/1
no switchport
ip address 10.10.1.2/30
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
no shutdown

interface Ethernet1/2
switchport access vlan 50

interface loopback0
ip address 192.168.1.2/32
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
line console
line vty
boot nxos bootflash:/nxos.7.0.3.I5.2.bin
router ospf 100
router-id 192.168.1.2
router bgp 65001
router-id 192.168.1.2
address-family l2vpn evpn
neighbor 192.168.1.1
remote-as 65001
update-source loopback0
address-family ipv4 unicast
send-community
send-community extended
address-family l2vpn evpn
send-community
send-community extended
vrf APP
address-family ipv4 unicast
advertise l2vpn evpn
maximum-paths ibgp 4
vrf HXYW
address-family ipv4 unicast
advertise l2vpn evpn
maximum-paths ibgp 4
vrf MES
address-family ipv4 unicast
advertise l2vpn evpn
maximum-paths ibgp 4
vrf VM
address-family ipv4 unicast
advertise l2vpn evpn
maximum-paths ibgp 4
evpn
vni 160010 l2
rd auto
route-target import auto
route-target export auto
vni 160011 l2
rd auto
route-target import auto
route-target export auto
vni 160012 l2
rd auto
route-target import auto
route-target export auto
vni 160013 l2
rd auto
route-target import auto
route-target export auto
vni 160014 l2
rd auto
route-target import auto
route-target export auto
vni 160015 l2
rd auto
route-target import auto
route-target export auto
vni 160016 l2
rd auto
route-target import auto
route-target export auto
vni 160017 l2
rd auto
route-target import auto
route-target export auto
vni 160018 l2
rd auto
route-target import auto
route-target export auto
vni 160019 l2
rd auto
route-target import auto
route-target export auto
vni 160020 l2
rd auto
route-target import auto
route-target export auto
vni 160021 l2
rd auto
route-target import auto
route-target export auto
vni 160022 l2
rd auto
route-target import auto
route-target export auto
vni 160023 l2
rd auto
route-target import auto
route-target export auto
vni 160024 l2
rd auto
route-target import auto
route-target export auto
vni 160025 l2
rd auto
route-target import auto
route-target export auto
vni 160026 l2
rd auto
route-target import auto
route-target export auto
vni 160027 l2
rd auto
route-target import auto
route-target export auto
vni 160028 l2
rd auto
route-target import auto
route-target export auto
vni 160029 l2
rd auto
route-target import auto
route-target export auto
vni 160030 l2
rd auto
route-target import auto
route-target export auto
vni 160031 l2
rd auto
route-target import auto
route-target export auto
vni 160032 l2
rd auto
route-target import auto
route-target export auto
vni 160033 l2
rd auto
route-target import auto
route-target export auto
vni 160034 l2
rd auto
route-target import auto
route-target export auto
vni 160035 l2
rd auto
route-target import auto
route-target export auto
vni 160036 l2
rd auto
route-target import auto
route-target export auto
vni 160037 l2
rd auto
route-target import auto
route-target export auto
vni 160038 l2
rd auto
route-target import auto
route-target export auto
vni 160039 l2
rd auto
route-target import auto
route-target export auto
vni 160040 l2
rd auto
route-target import auto
route-target export auto
vni 160041 l2
rd auto
route-target import auto
route-target export auto
vni 160042 l2
rd auto
route-target import auto
route-target export auto
vni 160043 l2
rd auto
route-target import auto
route-target export auto
vni 160044 l2
rd auto
route-target import auto
route-target export auto
vni 160045 l2
rd auto
route-target import auto
route-target export auto
vni 160046 l2
rd auto
route-target import auto
route-target export auto
vni 160047 l2
rd auto
route-target import auto
route-target export auto
vni 160048 l2
rd auto
route-target import auto
route-target export auto
vni 160049 l2
rd auto
route-target import auto
route-target export auto
vni 160050 l2
rd auto
route-target import auto
route-target export auto

Boderleaf配置:

hostname Boderleaf
vdc Boderleaf id 1
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 511
limit-resource u4route-mem minimum 248 maximum 248
limit-resource u6route-mem minimum 96 maximum 96
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8

nv overlay evpn
feature ospf
feature bgp
feature pim
feature interface-vlan
feature vn-segment-vlan-based
feature nv overlay

username admin password 5 $5$9aBsFd3d$p/BQKmuf6sV8NTmOnpyrn58sxcLb.wYAsh73j.AmRQ
9 role network-admin
ip domain-lookup
snmp-server user admin network-admin auth md5 0xab8031f8945308cd33666e681cda6e58
priv 0xab8031f8945308cd33666e681cda6e58 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO

vlan 1,10-50,901-904
fabric forwarding anycast-gateway-mac 0000.1111.2222
ip pim rp-address 192.168.1.1 group-list 224.0.0.0/4
ip pim log-neighbor-changes
ip pim ssm range 232.0.0.0/8
vlan 10
vn-segment 160010
vlan 11
vn-segment 160011
vlan 12
vn-segment 160012
vlan 13
vn-segment 160013
vlan 14
vn-segment 160014
vlan 15
vn-segment 160015
vlan 16
vn-segment 160016
vlan 17
vn-segment 160017
vlan 18
vn-segment 160018
vlan 19
vn-segment 160019
vlan 20
vn-segment 160020
vlan 21
vn-segment 160021
vlan 22
vn-segment 160022
vlan 23
vn-segment 160023
vlan 24
vn-segment 160024
vlan 25
vn-segment 160025
vlan 26
vn-segment 160026
vlan 27
vn-segment 160027
vlan 28
vn-segment 160028
vlan 29
vn-segment 160029
vlan 30
vn-segment 160030
vlan 31
vn-segment 160031
vlan 32
vn-segment 160032
vlan 33
vn-segment 160033
vlan 34
vn-segment 160034
vlan 35
vn-segment 160035
vlan 36
vn-segment 160036
vlan 37
vn-segment 160037
vlan 38
vn-segment 160038
vlan 39
vn-segment 160039
vlan 40
vn-segment 160040
vlan 41
vn-segment 160041
vlan 42
vn-segment 160042
vlan 43
vn-segment 160043
vlan 44
vn-segment 160044
vlan 45
vn-segment 160045
vlan 46
vn-segment 160046
vlan 47
vn-segment 160047
vlan 48
vn-segment 160048
vlan 49
vn-segment 160049
vlan 50
vn-segment 160050
vlan 901
vn-segment 900901
vlan 902
vn-segment 900902
vlan 903
vn-segment 900903
vlan 904
vn-segment 900904

ip prefix-list static2bgp seq 10 permit 0.0.0.0/0 le 32
route-map static2bgp permit 10
match ip address prefix-list static2bgp
vrf context APP
vni 900901
ip route 0.0.0.0/0 Ethernet1/2.10 10.10.3.2
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context HXYW
vni 900903
ip route 0.0.0.0/0 Ethernet1/2.30 10.10.5.2
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context MES
vni 900904
ip route 0.0.0.0/0 Ethernet1/2.40 10.10.6.2
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context VM
vni 900902
ip route 0.0.0.0/0 Ethernet1/2.20 10.10.4.2
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
vrf context management


interface Vlan1

interface Vlan11
no shutdown
mtu 9192
vrf member APP
ip address 10.20.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan13
no shutdown
mtu 9192
vrf member APP
ip address 10.20.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan14
no shutdown
mtu 9192
vrf member APP
ip address 10.20.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan15
no shutdown
mtu 9192
vrf member APP
ip address 10.20.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan16
no shutdown
mtu 9192
vrf member APP
ip address 10.20.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan17
no shutdown
mtu 9192
vrf member APP
ip address 10.20.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan18
no shutdown
mtu 9192
vrf member APP
ip address 10.20.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan19
no shutdown
mtu 9192
vrf member APP
ip address 10.20.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan20
no shutdown
mtu 9192
vrf member APP
ip address 10.20.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan21
no shutdown
mtu 9192
vrf member VM
ip address 10.30.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan22
no shutdown
mtu 9192
vrf member VM
ip address 10.30.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan23
no shutdown
mtu 9192
vrf member VM
ip address 10.30.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan24
no shutdown
mtu 9192
vrf member VM
ip address 10.30.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan25
no shutdown
mtu 9192
vrf member VM
ip address 10.30.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan26
no shutdown
mtu 9192
vrf member VM
ip address 10.30.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan27
no shutdown
mtu 9192
vrf member VM
ip address 10.30.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan28
no shutdown
mtu 9192
vrf member VM
ip address 10.30.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan29
no shutdown
mtu 9192
vrf member VM
ip address 10.30.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan30
no shutdown
mtu 9192
vrf member VM
ip address 10.30.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan31
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan32
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan33
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan34
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan35
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan36
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan37
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan38
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan39
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan40
no shutdown
mtu 9192
vrf member HXYW
ip address 10.40.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan41
no shutdown
mtu 9192
vrf member MES
ip address 10.50.1.254/24
fabric forwarding mode anycast-gateway

interface Vlan42
no shutdown
mtu 9192
vrf member MES
ip address 10.50.2.254/24
fabric forwarding mode anycast-gateway

interface Vlan43
no shutdown
mtu 9192
vrf member MES
ip address 10.50.3.254/24
fabric forwarding mode anycast-gateway

interface Vlan44
no shutdown
mtu 9192
vrf member MES
ip address 10.50.4.254/24
fabric forwarding mode anycast-gateway

interface Vlan45
no shutdown
mtu 9192
vrf member MES
ip address 10.50.5.254/24
fabric forwarding mode anycast-gateway

interface Vlan46
no shutdown
mtu 9192
vrf member MES
ip address 10.50.6.254/24
fabric forwarding mode anycast-gateway

interface Vlan47
no shutdown
mtu 9192
vrf member MES
ip address 10.50.7.254/24
fabric forwarding mode anycast-gateway

interface Vlan48
no shutdown
mtu 9192
vrf member MES
ip address 10.50.8.254/24
fabric forwarding mode anycast-gateway

interface Vlan49
no shutdown
mtu 9192
vrf member MES
ip address 10.50.9.254/24
fabric forwarding mode anycast-gateway

interface Vlan50
no shutdown
mtu 9192
vrf member MES
ip address 10.50.10.254/24
fabric forwarding mode anycast-gateway

interface Vlan901
no shutdown
mtu 9192
vrf member APP
no ip redirects
ip forward

interface Vlan902
no shutdown
mtu 9192
vrf member VM
no ip redirects
ip forward

interface Vlan903
no shutdown
mtu 9192
vrf member HXYW
no ip redirects
ip forward

interface Vlan904
no shutdown
mtu 9192
vrf member MES
no ip redirects
ip forward

interface nve1
no shutdown
source-interface loopback0
host-reachability protocol bgp
member vni 160010
mcast-group 224.1.1.1
member vni 160011
mcast-group 224.1.1.1
member vni 160012
mcast-group 224.1.1.1
member vni 160013
mcast-group 224.1.1.1
member vni 160014
mcast-group 224.1.1.1
member vni 160015
mcast-group 224.1.1.1
member vni 160016
mcast-group 224.1.1.1
member vni 160017
mcast-group 224.1.1.1
member vni 160018
mcast-group 224.1.1.1
member vni 160019
mcast-group 224.1.1.1
member vni 160020
mcast-group 224.1.1.1
member vni 160021
mcast-group 224.1.1.2
member vni 160022
mcast-group 224.1.1.2
member vni 160023
mcast-group 224.1.1.2
member vni 160024
mcast-group 224.1.1.2
member vni 160025
mcast-group 224.1.1.2
member vni 160026
mcast-group 224.1.1.2
member vni 160027
mcast-group 224.1.1.2
member vni 160028
mcast-group 224.1.1.2
member vni 160029
mcast-group 224.1.1.2
member vni 160030
mcast-group 224.1.1.2
member vni 160031
mcast-group 224.1.1.3
member vni 160032
mcast-group 224.1.1.3
member vni 160033
mcast-group 224.1.1.3
member vni 160034
mcast-group 224.1.1.3
member vni 160035
mcast-group 224.1.1.3
member vni 160036
mcast-group 224.1.1.3
member vni 160037
mcast-group 224.1.1.3
member vni 160038
mcast-group 224.1.1.3
member vni 160039
mcast-group 224.1.1.3
member vni 160040
mcast-group 224.1.1.4
member vni 160041
mcast-group 224.1.1.4
member vni 160042
mcast-group 224.1.1.4
member vni 160043
mcast-group 224.1.1.4
member vni 160047
mcast-group 224.1.1.4
member vni 160048
mcast-group 224.1.1.4
member vni 160049
mcast-group 224.1.1.4
member vni 160050
mcast-group 224.1.1.4
member vni 900901 associate-vrf
member vni 900902 associate-vrf
member vni 900903 associate-vrf
member vni 900904 associate-vrf

interface Ethernet1/1
no switchport
ip address 10.10.2.2/30
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
no shutdown

interface Ethernet1/2
no switchport
ip address 10.10.3.1/30
no shutdown

interface Ethernet1/2.10
encapsulation dot1q 110
vrf member APP
ip address 10.10.3.1/30
no shutdown

interface Ethernet1/2.20
encapsulation dot1q 120
vrf member VM
ip address 10.10.4.1/30
no shutdown

interface Ethernet1/2.30
encapsulation dot1q 130
vrf member HXYW
ip address 10.10.5.1/30
no shutdown

interface Ethernet1/2.40
encapsulation dot1q 140
vrf member MES
ip address 10.10.6.1/30
no shutdown

interface loopback0
ip address 192.168.1.3/32
ip router ospf 100 area 0.0.0.0
ip pim sparse-mode
line console
line vty
boot nxos bootflash:/nxos.7.0.3.I5.2.bin
router ospf 100
router-id 192.168.1.3
router bgp 65001
router-id 192.168.1.3
address-family l2vpn evpn
neighbor 192.168.1.1
remote-as 65001
update-source loopback0
address-family ipv4 unicast
send-community
send-community extended
address-family l2vpn evpn
send-community
send-community extended
vrf APP
address-family ipv4 unicast
advertise l2vpn evpn
redistribute static route-map static2bgp
maximum-paths ibgp 4
default-information originate
vrf HXYW
address-family ipv4 unicast
advertise l2vpn evpn
redistribute static route-map static2bgp
maximum-paths ibgp 4
default-information originate
vrf MES
address-family ipv4 unicast
advertise l2vpn evpn
redistribute static route-map static2bgp
maximum-paths ibgp 4
default-information originate
vrf VM
address-family ipv4 unicast
advertise l2vpn evpn
redistribute static route-map static2bgp
maximum-paths ibgp 4
default-information originate
evpn
vni 160010 l2
rd auto
route-target import auto
route-target export auto
vni 160011 l2
rd auto
route-target import auto
route-target export auto
vni 160012 l2
rd auto
route-target import auto
route-target export auto
vni 160013 l2
rd auto
route-target import auto
route-target export auto
vni 160014 l2
rd auto
route-target import auto
route-target export auto
vni 160015 l2
rd auto
route-target import auto
route-target export auto
vni 160016 l2
rd auto
route-target import auto
route-target export auto
vni 160017 l2
rd auto
route-target import auto
route-target export auto
vni 160018 l2
rd auto
route-target import auto
route-target export auto
vni 160019 l2
rd auto
route-target import auto
route-target export auto
vni 160020 l2
rd auto
route-target import auto
route-target export auto
vni 160021 l2
rd auto
route-target import auto
route-target export auto
vni 160022 l2
rd auto
route-target import auto
route-target export auto
vni 160023 l2
rd auto
route-target import auto
route-target export auto
vni 160024 l2
rd auto
route-target import auto
route-target export auto
vni 160025 l2
rd auto
route-target import auto
route-target export auto
vni 160026 l2
rd auto
route-target import auto
route-target export auto
vni 160027 l2
rd auto
route-target import auto
route-target export auto
vni 160028 l2
rd auto
route-target import auto
route-target export auto
vni 160029 l2
rd auto
route-target import auto
route-target export auto
vni 160030 l2
rd auto
route-target import auto
route-target export auto
vni 160031 l2
rd auto
route-target import auto
route-target export auto
vni 160032 l2
rd auto
route-target import auto
route-target export auto
vni 160033 l2
rd auto
route-target import auto
route-target export auto
vni 160034 l2
rd auto
route-target import auto
route-target export auto
vni 160035 l2
rd auto
route-target import auto
route-target export auto
vni 160036 l2
rd auto
route-target import auto
route-target export auto
vni 160037 l2
rd auto
route-target import auto
route-target export auto
vni 160038 l2
rd auto
route-target import auto
route-target export auto
vni 160039 l2
rd auto
route-target import auto
route-target export auto
vni 160040 l2
rd auto
route-target import auto
route-target export auto
vni 160041 l2
rd auto
route-target import auto
route-target export auto
vni 160042 l2
rd auto
route-target import auto
route-target export auto
vni 160043 l2
rd auto
route-target import auto
route-target export auto
vni 160044 l2
rd auto
route-target import auto
route-target export auto
vni 160045 l2
rd auto
route-target import auto
route-target export auto
vni 160046 l2
rd auto
route-target import auto
route-target export auto
vni 160047 l2
rd auto
route-target import auto
route-target export auto
vni 160048 l2
rd auto
route-target import auto
route-target export auto
vni 160049 l2
rd auto
route-target import auto
route-target export auto
vni 160050 l2
rd auto
route-target import auto
route-target export auto

 在LEAF上查看EVPN路由,如下:

LEAF-1# show bgp l2vpn evpn
BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 18, local router ID is 192.168.1.2
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-i
njected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 192.168.1.2:32817 (L2VNI 160050)
*>l[2]:[0]:[0]:[48]:[0050.7966.6805]:[32]:[10.50.10.1]/272
192.168.1.2 100 32768 i

Route Distinguisher: 192.168.1.3:3
*>i[5]:[0]:[0]:[0]:[0.0.0.0]:[0.0.0.0]/224
192.168.1.3 0 100 0 ?

Route Distinguisher: 192.168.1.3:4
*>i[5]:[0]:[0]:[0]:[0.0.0.0]:[0.0.0.0]/224
192.168.1.3 0 100 0 ?

Route Distinguisher: 192.168.1.3:5
*>i[5]:[0]:[0]:[0]:[0.0.0.0]:[0.0.0.0]/224
192.168.1.3 0 100 0 ?

Route Distinguisher: 192.168.1.3:6
*>i[5]:[0]:[0]:[0]:[0.0.0.0]:[0.0.0.0]/224
192.168.1.3 0 100 0 ?

Route Distinguisher: 192.168.1.2:6 (L3VNI 900904)
*>i[5]:[0]:[0]:[0]:[0.0.0.0]:[0.0.0.0]/224
192.168.1.3 0 100 0 ?

 

转载于:https://www.cnblogs.com/networking/p/9622911.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/549843.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

VSTS For Testers读书笔记(5)

四、编辑WebTest3、添加提取规则和自定义提取规则添加提取规则1、当必须从特定页中捕获一部分数据并且供另一个页使用时,就需要用到提取规则。可以使用提取规则从响应中复制字符串,然后将字符串存储到上下文变量中,以供任何后续请求使用。通过…

html里面怎么ul加高度,div里面嵌套了ul,为什么div的高度小于ul高度

div高度见阴影部分ul高度见阴影部分实现的html代码如下:热门推荐css代码如下:.navBar {clear: both;width: 100%;border: solid;/*border-top: solid;*/border-bottom: solid;border-width: 1px;border-color: #dddddd;margin:0px;height: 1.5em;}.navBa…

Asp.net2.0水晶报表的一些示例源码

最近关注了一下Asp.net2.0中水晶报表的资料,发现示例少之又少(怀疑是水晶报表免费的比较少的缘故),搜集到了Asp.net官方的许多示例源码,试了几个还不错,这里发给大家分享一下(我仅把Asp.net C#部…

计算机网络作业6,计算机网络作业 6

请回答下列问题:(1)主机在配置IP地址时,其正确的子网掩码和默认网关分别是多少?(2)若路由器R在向互联网转发一个由主机192.168.1.5发送、ID12345、length500B、DF1的IP分组时,则该IP分组首部的哪些字段会被修改?如何修…

QQ2007 Beta2 下载地址泄露

QQ2007 Beta2地址的地址已经泄露,来自腾讯官方论坛的一位能体验的朋友.安装完要求重启电脑,不过貌似目前非相关测试人员无法登录这个版本,当然聪明的网友们还是会自己想办法搞定 :)尊敬的QQ用户,您幸运地被腾讯公司选中参与QQ2007Beta2试用,我们很高兴有这个机会可以让小部分用…

画江恩线

有同学问江恩线的画法。俺这次讲仔细了。希望喜欢江恩理论的同学们都可以学会了。因为讲一次很麻烦的。上图是大盘周线图的江恩线。 江恩理论的核心是用历史来发现未来。所以想学习江恩理论的同学必须明白这其中的关键。凡是没有这历史未来观的江恩理论学习都是瞎扯淡。就像缠…

Javascript 仿Flash 图片切换 及 Flash 图片切换

1。 Javascript 仿Flash 图片切换 http://www.fansart.com/cweb/200669141456.asp<a target_self href"javascript:goUrl()"><span class"f14b"><script type"text/javascript">imgUrl1"http://www.fansart.com/qiehuan/…

计算机领域hpec会议,2018 IEEE High Performance extreme Computing Conference HPEC

The IEEE High Performance Extreme Computing Conference (HPEC ’18) will be held in the Greater Boston Area, Massachusetts, USA on 25 – 27 September 2018. The HPEC charter is to be the premier conference in the world on the confluence of HPC and Embedded …

沈阳职业计算机学院宿舍几人间,沈阳工学院宿舍怎么样 住宿条件好不好

沈阳工学院宿舍怎么样 住宿条件好不好2018-06-21 17:01:17文/李铭大学宿舍是我们的第二个家&#xff0c;大学生活一天之中最少要有三分之二的时间在宿舍中度过&#xff0c;所以说&#xff0c;和谐融洽的寝室关系和良好的宿舍环境可以让我们愉快的度过四年大学生活。沈阳工学院宿…

[你必须知道的.NET] 第五回:深入浅出关键字---把new说透(转载)

[你必须知道的.NET] 第五回&#xff1a;深入浅出关键字---把new说透 作者&#xff1a;Anytao 本文将介绍以下内容&#xff1a; 面向对象基本概念 new关键字深入浅出 对象创建的内存管理 1. 引言 园子里好像没有或者很少把new关键字拿出来说的&#xff0c;那我就占个先机吧&a…

ap测试系统软件,符合AUTOSAR(APCP)的嵌入式系统和软件设计工具

AUTOSAR Builder功能介绍AUTOSAR Builder 是达索旗下一款基于 Eclipse 的开放、可扩展工具套件&#xff0c;用于设计和开发符合 AUTOSAR 标准的系统和软件。新版本2020x支持AUTOSAR Classic 4.4.0及AUTOSAR Adaptive R19-03。图1 AUTOSAR Builder工具主界面AUTOSAR Authoring …

开发手记之实现web.config的快速配置(转载)

开发手记之实现web.config的快速配置 开发手记之实现web.config的快速配置 作者&#xff1a;Anytao 问题简述&#xff1a; 在Web开发中&#xff0c;对web.cofig进行配置是非技术人员无法胜任的工作&#xff0c;但是常常需要由客户自己来进行简单配置的时候&#xff0c;需要提…

ASP.NET 2.0中实现模板中的数据绑定

模板化的数据绑定控件为我们在页面上显示数据提供了根本的灵活性。你可能还记得ASP.NET v1.x中的几个模板化控件&#xff08;例如DataList和Repeater控件&#xff09;。ASP.NET 2.0仍然支持这些控件&#xff0c;但在模板中绑定数据的语法已经被简化和改善了。本文将讨论在数据绑…

现实世界的虚拟神话

本文摘自&#xff1a;[url]http://www.doserv.com/news/f/2007-03-12/0017031936.shtml[/url]如今&#xff0c;服务器虚拟化已经成为业界的最为热门的话题之一。虚拟化技术自问世以来&#xff0c;人们纷纷为其神奇的效果而赞不绝口。正如VMware创始人兼CEO Diane Greene所说&am…

GridView中妙用LinkButton

说明&#xff1a;近来看到不少人想在DataGrid、GridView 使用比较灵活的方式来编辑、查看、删除其中的数据选项&#xff08;当然它们本身也内置了这些功能&#xff09;&#xff0c;却苦于找不到比较好的办法&#xff0c;本人结合实际代码说明一下如何使用LinkButton来实现上述功…

计算机ppt文字1是什么原因,ppt让答案一个个出现,ppt让文字一个个出现

在使用Windows 10工作时会遇到形形色色的问题&#xff0c;比如开机发现无法连接网络。那么如何进行故障排除呢&#xff1f;下面小编与你分享具体步骤和方法。工具/材料Windows 10操作系统操作方法01启动Windows 10操作系统&#xff0c;如图所示。点击任务栏搜索框&#xff0c;开…

抢先试用ReSharper UnitRun™ 1.0

在发布又一款免费的VS2005单元测试插件后随即安装了个ReSharper UnitRun™ 1.0玩玩&#xff0c;发现的确有其亮点&#xff0c;尤其喜欢的是在执行单元测试的过程中居然支持调试。 在安装过程中遇到个问题&#xff0c;一个注册的异常&#xff0c;后来到其官网上注册并得到个lice…

python day27

今日内容 知识点补充 import jsonfrom datetime import datetime,date""" res {c1:datetime.today(),c2:date.today()} print(json.dumps(res)) 返回结果:TypeError: Object of type datetime is not JSON serializable """ class MyJson(json.…

硬件_LED

LED 平台&#xff1a;全志A64 源码&#xff1a;Android 7.1 Linux 3.1 led.c 1 //没有使用平台总线2 3 #include <linux/init.h>4 #include <linux/module.h>5 #include <linux/fs.h>6 #include <linux/device.h>7 #include <linux/slab.h>8 #i…

水星路由器DNS服务器未响应,水星路由器进不去设置怎么办

摘 要水星路由器进不去设置怎么办&#xff1f;这里要分两种情况&#xff0c;旧版水星路由器与新版水星路由器一、旧版水星路由器 1、当打开水星路由器设置页面&#xff0c;如果提示你输入用户名和密码&#xff0c;如下图所示。说明这是一台旧版本的水星路由器水星路由器进不去设…