Skip to content

Commit 9d8d3ae

Browse files
committed
VXLAN leaf-and-spine fabric: add Arista EOS configurations
1 parent 2ea6a50 commit 9d8d3ae

File tree

6 files changed

+588
-0
lines changed

6 files changed

+588
-0
lines changed

EVPN/vxlan-fabric/config/L1.cfg

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
! Command: show running-config
2+
! device: L1 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
3+
!
4+
no aaa root
5+
!
6+
username admin privilege 15 role network-admin secret sha512 $6$QQSQtqxPuwj.4WRY$szmRfQ2d0kEaMCkmBZFKgzmO3qRMCRYkDo9ACM4mEz6zP.Ulkct6F1nXbmt1v8YUykej0vhzDdPsdtPBSlkMZ1
7+
!
8+
transceiver qsfp default-mode 4x10G
9+
!
10+
service routing protocols model multi-agent
11+
!
12+
logging monitor debugging
13+
!
14+
hostname L1
15+
ip host H1 172.16.0.7
16+
ip host H2 172.16.0.8
17+
ip host H3 172.16.1.9
18+
ip host H4 172.16.1.10
19+
ip host L2 10.0.0.2 10.1.0.9 10.1.0.13
20+
ip host L3 10.0.0.3 10.1.0.17 10.1.0.21
21+
ip host L4 10.0.0.4 10.1.0.25 10.1.0.29
22+
ip host S1 10.0.0.5 10.1.0.2 10.1.0.10 10.1.0.18 10.1.0.26
23+
ip host S2 10.0.0.6 10.1.0.6 10.1.0.14 10.1.0.22 10.1.0.30
24+
!
25+
spanning-tree mode mstp
26+
!
27+
system l1
28+
unsupported speed action error
29+
unsupported error-correction action error
30+
!
31+
vlan 1000
32+
name orange
33+
!
34+
vrf instance management
35+
!
36+
management api http-commands
37+
no shutdown
38+
!
39+
vrf management
40+
no shutdown
41+
!
42+
management api gnmi
43+
transport grpc default
44+
vrf management
45+
!
46+
management api netconf
47+
transport ssh default
48+
vrf management
49+
!
50+
interface Ethernet1
51+
description L1 -> S1
52+
mac-address 52:dc:ca:fe:01:01
53+
no switchport
54+
ip address 10.1.0.1/30
55+
ip ospf network point-to-point
56+
ip ospf area 0.0.0.0
57+
!
58+
interface Ethernet2
59+
description L1 -> S2
60+
mac-address 52:dc:ca:fe:01:02
61+
no switchport
62+
ip address 10.1.0.5/30
63+
ip ospf network point-to-point
64+
ip ospf area 0.0.0.0
65+
!
66+
interface Ethernet3
67+
mac-address 52:dc:ca:fe:01:03
68+
switchport access vlan 1000
69+
!
70+
interface Loopback0
71+
ip address 10.0.0.1/32
72+
ip ospf area 0.0.0.0
73+
!
74+
interface Management0
75+
vrf management
76+
ip address 192.168.121.101/24
77+
no lldp transmit
78+
no lldp receive
79+
!
80+
interface Vlan1000
81+
description VLAN orange (1000) -> [H1,H2,L3]
82+
!
83+
interface Vxlan1
84+
vxlan source-interface Loopback0
85+
vxlan udp-port 4789
86+
vxlan vlan 1000 vni 101000
87+
vxlan vlan 1000 flood vtep 10.0.0.3
88+
!
89+
ip routing
90+
no ip routing vrf management
91+
!
92+
ip route vrf management 0.0.0.0/0 192.168.121.1
93+
!
94+
router ospf 1
95+
router-id 10.0.0.1
96+
max-lsa 12000
97+
!
98+
end

EVPN/vxlan-fabric/config/L2.cfg

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
! Command: show running-config
2+
! device: L2 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
3+
!
4+
no aaa root
5+
!
6+
username admin privilege 15 role network-admin secret sha512 $6$4IQTr0SMP/Vw0FPE$Ap31okcRqSxEzUdZeMTMBcEQAVfHx6T3CwZIQ484WBCjGrYKGhi2qP0vxYcDAuHmeUJl3lMhWO0AJhBb63lbD/
7+
!
8+
transceiver qsfp default-mode 4x10G
9+
!
10+
service routing protocols model multi-agent
11+
!
12+
logging monitor debugging
13+
!
14+
hostname L2
15+
ip host H1 172.16.0.7
16+
ip host H2 172.16.0.8
17+
ip host H3 172.16.1.9
18+
ip host H4 172.16.1.10
19+
ip host L1 10.0.0.1 10.1.0.1 10.1.0.5
20+
ip host L3 10.0.0.3 10.1.0.17 10.1.0.21
21+
ip host L4 10.0.0.4 10.1.0.25 10.1.0.29
22+
ip host S1 10.0.0.5 10.1.0.2 10.1.0.10 10.1.0.18 10.1.0.26
23+
ip host S2 10.0.0.6 10.1.0.6 10.1.0.14 10.1.0.22 10.1.0.30
24+
!
25+
spanning-tree mode mstp
26+
!
27+
system l1
28+
unsupported speed action error
29+
unsupported error-correction action error
30+
!
31+
vlan 1001
32+
name blue
33+
!
34+
vrf instance management
35+
!
36+
management api http-commands
37+
no shutdown
38+
!
39+
vrf management
40+
no shutdown
41+
!
42+
management api gnmi
43+
transport grpc default
44+
vrf management
45+
!
46+
management api netconf
47+
transport ssh default
48+
vrf management
49+
!
50+
interface Ethernet1
51+
description L2 -> S1
52+
mac-address 52:dc:ca:fe:02:01
53+
no switchport
54+
ip address 10.1.0.9/30
55+
ip ospf network point-to-point
56+
ip ospf area 0.0.0.0
57+
!
58+
interface Ethernet2
59+
description L2 -> S2
60+
mac-address 52:dc:ca:fe:02:02
61+
no switchport
62+
ip address 10.1.0.13/30
63+
ip ospf network point-to-point
64+
ip ospf area 0.0.0.0
65+
!
66+
interface Ethernet3
67+
mac-address 52:dc:ca:fe:02:03
68+
switchport access vlan 1001
69+
!
70+
interface Loopback0
71+
ip address 10.0.0.2/32
72+
ip ospf area 0.0.0.0
73+
!
74+
interface Management0
75+
vrf management
76+
ip address 192.168.121.102/24
77+
no lldp transmit
78+
no lldp receive
79+
!
80+
interface Vlan1001
81+
description VLAN blue (1001) -> [H3,H4,L4]
82+
!
83+
interface Vxlan1
84+
vxlan source-interface Loopback0
85+
vxlan udp-port 4789
86+
vxlan vlan 1001 vni 101001
87+
vxlan vlan 1001 flood vtep 10.0.0.4
88+
!
89+
ip routing
90+
no ip routing vrf management
91+
!
92+
ip route vrf management 0.0.0.0/0 192.168.121.1
93+
!
94+
router ospf 1
95+
router-id 10.0.0.2
96+
max-lsa 12000
97+
!
98+
end

EVPN/vxlan-fabric/config/L3.cfg

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
! Command: show running-config
2+
! device: L3 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
3+
!
4+
no aaa root
5+
!
6+
username admin privilege 15 role network-admin secret sha512 $6$x6WXUa7ynFS86INv$w3j0TQpdOXCZjhn4VfoJHGergKsoF4nxxjzfcKYBd25JBHtpQ1WjwlSg5M3MsWRpeC1C8v5Kdhr9q7gFUHB1k.
7+
!
8+
transceiver qsfp default-mode 4x10G
9+
!
10+
service routing protocols model multi-agent
11+
!
12+
logging monitor debugging
13+
!
14+
hostname L3
15+
ip host H1 172.16.0.7
16+
ip host H2 172.16.0.8
17+
ip host H3 172.16.1.9
18+
ip host H4 172.16.1.10
19+
ip host L1 10.0.0.1 10.1.0.1 10.1.0.5
20+
ip host L2 10.0.0.2 10.1.0.9 10.1.0.13
21+
ip host L4 10.0.0.4 10.1.0.25 10.1.0.29
22+
ip host S1 10.0.0.5 10.1.0.2 10.1.0.10 10.1.0.18 10.1.0.26
23+
ip host S2 10.0.0.6 10.1.0.6 10.1.0.14 10.1.0.22 10.1.0.30
24+
!
25+
spanning-tree mode mstp
26+
!
27+
system l1
28+
unsupported speed action error
29+
unsupported error-correction action error
30+
!
31+
vlan 1000
32+
name orange
33+
!
34+
vrf instance management
35+
!
36+
management api http-commands
37+
no shutdown
38+
!
39+
vrf management
40+
no shutdown
41+
!
42+
management api gnmi
43+
transport grpc default
44+
vrf management
45+
!
46+
management api netconf
47+
transport ssh default
48+
vrf management
49+
!
50+
interface Ethernet1
51+
description L3 -> S1
52+
mac-address 52:dc:ca:fe:03:01
53+
no switchport
54+
ip address 10.1.0.17/30
55+
ip ospf network point-to-point
56+
ip ospf area 0.0.0.0
57+
!
58+
interface Ethernet2
59+
description L3 -> S2
60+
mac-address 52:dc:ca:fe:03:02
61+
no switchport
62+
ip address 10.1.0.21/30
63+
ip ospf network point-to-point
64+
ip ospf area 0.0.0.0
65+
!
66+
interface Ethernet3
67+
mac-address 52:dc:ca:fe:03:03
68+
switchport access vlan 1000
69+
!
70+
interface Loopback0
71+
ip address 10.0.0.3/32
72+
ip ospf area 0.0.0.0
73+
!
74+
interface Management0
75+
vrf management
76+
ip address 192.168.121.103/24
77+
no lldp transmit
78+
no lldp receive
79+
!
80+
interface Vlan1000
81+
description VLAN orange (1000) -> [H1,L1,H2]
82+
!
83+
interface Vxlan1
84+
vxlan source-interface Loopback0
85+
vxlan udp-port 4789
86+
vxlan vlan 1000 vni 101000
87+
vxlan vlan 1000 flood vtep 10.0.0.1
88+
!
89+
ip routing
90+
no ip routing vrf management
91+
!
92+
ip route vrf management 0.0.0.0/0 192.168.121.1
93+
!
94+
router ospf 1
95+
router-id 10.0.0.3
96+
max-lsa 12000
97+
!
98+
end

EVPN/vxlan-fabric/config/L4.cfg

+98
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
! Command: show running-config
2+
! device: L4 (cEOSLab, EOS-4.31.2F-35442176.4312F (engineering build))
3+
!
4+
no aaa root
5+
!
6+
username admin privilege 15 role network-admin secret sha512 $6$r2voRwBFamtB4MXH$ECSWPIYV/MMjYbv1BWNfFqmFu22eROil2JsGlQvBuLbJbjQJTbY0yoPs2HXnvfvpYis5FdAuR8s6k4hvmP3s9/
7+
!
8+
transceiver qsfp default-mode 4x10G
9+
!
10+
service routing protocols model multi-agent
11+
!
12+
logging monitor debugging
13+
!
14+
hostname L4
15+
ip host H1 172.16.0.7
16+
ip host H2 172.16.0.8
17+
ip host H3 172.16.1.9
18+
ip host H4 172.16.1.10
19+
ip host L1 10.0.0.1 10.1.0.1 10.1.0.5
20+
ip host L2 10.0.0.2 10.1.0.9 10.1.0.13
21+
ip host L3 10.0.0.3 10.1.0.17 10.1.0.21
22+
ip host S1 10.0.0.5 10.1.0.2 10.1.0.10 10.1.0.18 10.1.0.26
23+
ip host S2 10.0.0.6 10.1.0.6 10.1.0.14 10.1.0.22 10.1.0.30
24+
!
25+
spanning-tree mode mstp
26+
!
27+
system l1
28+
unsupported speed action error
29+
unsupported error-correction action error
30+
!
31+
vlan 1001
32+
name blue
33+
!
34+
vrf instance management
35+
!
36+
management api http-commands
37+
no shutdown
38+
!
39+
vrf management
40+
no shutdown
41+
!
42+
management api gnmi
43+
transport grpc default
44+
vrf management
45+
!
46+
management api netconf
47+
transport ssh default
48+
vrf management
49+
!
50+
interface Ethernet1
51+
description L4 -> S1
52+
mac-address 52:dc:ca:fe:04:01
53+
no switchport
54+
ip address 10.1.0.25/30
55+
ip ospf network point-to-point
56+
ip ospf area 0.0.0.0
57+
!
58+
interface Ethernet2
59+
description L4 -> S2
60+
mac-address 52:dc:ca:fe:04:02
61+
no switchport
62+
ip address 10.1.0.29/30
63+
ip ospf network point-to-point
64+
ip ospf area 0.0.0.0
65+
!
66+
interface Ethernet3
67+
mac-address 52:dc:ca:fe:04:03
68+
switchport access vlan 1001
69+
!
70+
interface Loopback0
71+
ip address 10.0.0.4/32
72+
ip ospf area 0.0.0.0
73+
!
74+
interface Management0
75+
vrf management
76+
ip address 192.168.121.104/24
77+
no lldp transmit
78+
no lldp receive
79+
!
80+
interface Vlan1001
81+
description VLAN blue (1001) -> [H3,L2,H4]
82+
!
83+
interface Vxlan1
84+
vxlan source-interface Loopback0
85+
vxlan udp-port 4789
86+
vxlan vlan 1001 vni 101001
87+
vxlan vlan 1001 flood vtep 10.0.0.2
88+
!
89+
ip routing
90+
no ip routing vrf management
91+
!
92+
ip route vrf management 0.0.0.0/0 192.168.121.1
93+
!
94+
router ospf 1
95+
router-id 10.0.0.4
96+
max-lsa 12000
97+
!
98+
end

0 commit comments

Comments
 (0)