Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions snapshots/eos_evpn_multiple_rts/batfish/layer1_topology.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"edges": [
{
"node1": {
"hostname": "leaf1",
"interfaceName": "Ethernet1"
},
"node2": {
"hostname": "leaf2",
"interfaceName": "Ethernet1"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
! Command: show running-config
! device: leaf1 (cEOSLab, EOS-4.36.0.1F-47401373.43601F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$6plnc3I/pFHEjYSf$X8iO21u1beGAXIdd7ePlaEaSVRa/grCovrX.igEFSQ8qamhYQm.0VKQn3.y25AP1olBb0Hf4cnGcDye/7ioU1.
!
no service interface inactive port-id allocation disabled
!
service routing protocols model multi-agent
!
hostname leaf1
!
spanning-tree mode mstp
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vrf instance RED
!
aaa authorization exec default local
!
interface Ethernet1
description P2P_UNDERLAY_TO_leaf2
no switchport
ip address 172.31.255.0/31
!
interface Loopback0
description EVPN_Overlay_Peering_and_VTEP_source
ip address 192.168.255.1/32
!
interface Loopback101
description RED_tenant_prefix
vrf RED
ip address 10.1.1.1/32
!
interface Management0
ip address 172.20.20.2/24
ipv6 address 3fff:172:20:20::2/64
!
interface Vxlan1
vxlan source-interface Loopback0
vxlan udp-port 4789
vxlan vrf RED vni 15001
!
ip routing
ip routing vrf RED
!
ip prefix-list PL-LOOPBACKS
seq 10 permit 192.168.255.0/24 eq 32
!
route-map RM-CONN-2-BGP permit 10
match ip address prefix-list PL-LOOPBACKS
!
router bgp 65101
router-id 192.168.255.1
no bgp default ipv4-unicast
maximum-paths 2 ecmp 2
neighbor 172.31.255.1 remote-as 65102
neighbor 192.168.255.2 remote-as 65102
neighbor 192.168.255.2 update-source Loopback0
neighbor 192.168.255.2 ebgp-multihop 3
neighbor 192.168.255.2 send-community extended
redistribute connected route-map RM-CONN-2-BGP
!
address-family evpn
neighbor 192.168.255.2 activate
!
address-family ipv4
neighbor 172.31.255.1 activate
network 192.168.255.1/32
!
vrf RED
rd 192.168.255.1:15001
route-target import evpn 65000:100
route-target import evpn 65000:199
route-target export evpn 65000:200
route-target export evpn 65000:299
redistribute connected
!
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
! Command: show running-config
! device: leaf2 (cEOSLab, EOS-4.36.0.1F-47401373.43601F (engineering build))
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$NWHqSg/mJCsus.G8$PHbiUsRgfZLbFAfNPekTXuoK2JqqR8r3HuStNe77ozwzOORMbJjLnQC.EXFZUIJeSgMn1laR9Md7bqRRgRiYw.
!
no service interface inactive port-id allocation disabled
!
service routing protocols model multi-agent
!
hostname leaf2
!
spanning-tree mode mstp
!
system l1
unsupported speed action error
unsupported error-correction action error
!
vrf instance BLUE
!
aaa authorization exec default local
!
interface Ethernet1
description P2P_UNDERLAY_TO_leaf1
no switchport
ip address 172.31.255.1/31
!
interface Loopback0
description EVPN_Overlay_Peering_and_VTEP_source
ip address 192.168.255.2/32
!
interface Loopback101
description BLUE_tenant_prefix
vrf BLUE
ip address 10.2.2.2/32
!
interface Management0
ip address 172.20.20.3/24
ipv6 address 3fff:172:20:20::3/64
!
interface Vxlan1
vxlan source-interface Loopback0
vxlan udp-port 4789
vxlan vrf BLUE vni 15002
!
ip routing
ip routing vrf BLUE
!
ip prefix-list PL-LOOPBACKS
seq 10 permit 192.168.255.0/24 eq 32
!
route-map RM-CONN-2-BGP permit 10
match ip address prefix-list PL-LOOPBACKS
!
router bgp 65102
router-id 192.168.255.2
no bgp default ipv4-unicast
maximum-paths 2 ecmp 2
neighbor 172.31.255.0 remote-as 65101
neighbor 192.168.255.1 remote-as 65101
neighbor 192.168.255.1 update-source Loopback0
neighbor 192.168.255.1 ebgp-multihop 3
neighbor 192.168.255.1 send-community extended
redistribute connected route-map RM-CONN-2-BGP
!
address-family evpn
neighbor 192.168.255.1 activate
!
address-family ipv4
neighbor 172.31.255.0 activate
network 192.168.255.2/32
!
vrf BLUE
rd 192.168.255.2:15002
route-target import evpn 65000:200
route-target import evpn 65000:288
route-target export evpn 65000:100
route-target export evpn 65000:177
redistribute connected
!
end
1 change: 1 addition & 0 deletions snapshots/eos_evpn_multiple_rts/show/host_nos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"leaf1": "arista", "leaf2": "arista"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"vrf": "default",
"routerId": "192.168.255.1",
"asn": 65101,
"evpnRoutes": {
"RD: 192.168.255.1:15001 ip-prefix 10.1.1.1/32": {
"totalPaths": 1,
"routeKeyDetail": {
"ipGenPrefix": "10.1.1.1/32",
"domain": "local",
"rd": "192.168.255.1:15001",
"nlriType": "ip-prefix"
},
"evpnRoutePaths": [
{
"nextHop": "",
"asPathEntry": {
"asPathType": "Local",
"asPath": "i"
},
"reasonNotBestpath": "noReason",
"routeType": {
"active": true,
"atomicAggregator": false,
"backup": false,
"ecmp": false,
"ecmpContributor": false,
"ecmpHead": false,
"localAgg": false,
"origin": "Igp",
"queued": false,
"stale": false,
"suppressed": false,
"valid": true,
"waitForConvergence": false,
"unknownMetric": false
},
"weight": 0
}
]
},
"RD: 192.168.255.2:15002 ip-prefix 10.2.2.2/32": {
"totalPaths": 1,
"routeKeyDetail": {
"ipGenPrefix": "10.2.2.2/32",
"domain": "local",
"rd": "192.168.255.2:15002",
"nlriType": "ip-prefix"
},
"evpnRoutePaths": [
{
"nextHop": "192.168.255.2",
"asPathEntry": {
"asPathType": "External",
"asPath": "65102 i"
},
"reasonNotBestpath": "noReason",
"routeType": {
"active": true,
"atomicAggregator": false,
"backup": false,
"ecmp": false,
"ecmpContributor": false,
"ecmpHead": false,
"localAgg": false,
"origin": "Igp",
"queued": false,
"stale": false,
"suppressed": false,
"valid": true,
"waitForConvergence": false,
"unknownMetric": false
},
"localPreference": 100,
"weight": 0
}
]
}
}
}
Loading