Debian Codegraph @

docs/labs/lab06-provisioning/configlets/AVD_leaf3.cfg

raw
1 !RANCID-CONTENT-TYPE: arista
2 !
3 vlan internal order ascending range 1006 1199
4 !
5 transceiver qsfp default-mode 4x10G
6 !
7 service routing protocols model multi-agent
8 !
9 hostname leaf3
10 ip name-server vrf default 8.8.8.8
11 ip name-server vrf default 192.168.2.1
12 dns domain atd.lab
13 !
14 spanning-tree mode mstp
15 no spanning-tree vlan-id 4093-4094
16 spanning-tree mst 0 priority 16384
17 !
18 no enable password
19 no aaa root
20 !
21 vlan 110
22 name Tenant_A_OP_Zone_1
23 !
24 vlan 160
25 name Tenant_A_VMOTION
26 !
27 vlan 3009
28 name MLAG_iBGP_Tenant_A_OP_Zone
29 trunk group LEAF_PEER_L3
30 !
31 vlan 4093
32 name LEAF_PEER_L3
33 trunk group LEAF_PEER_L3
34 !
35 vlan 4094
36 name MLAG_PEER
37 trunk group MLAG
38 !
39 vrf instance Tenant_A_OP_Zone
40 !
41 interface Port-Channel1
42 description MLAG_PEER_leaf4_Po1
43 no shutdown
44 switchport
45 switchport trunk allowed vlan 2-4094
46 switchport mode trunk
47 switchport trunk group LEAF_PEER_L3
48 switchport trunk group MLAG
49 !
50 interface Port-Channel4
51 description host2_PortChannel
52 no shutdown
53 switchport
54 switchport access vlan 110
55 mlag 4
56 !
57 interface Ethernet1
58 description MLAG_PEER_leaf4_Ethernet1
59 no shutdown
60 channel-group 1 mode active
61 !
62 interface Ethernet2
63 description P2P_LINK_TO_SPINE1_Ethernet4
64 no shutdown
65 mtu 1500
66 no switchport
67 ip address 172.30.255.9/31
68 !
69 interface Ethernet3
70 description P2P_LINK_TO_SPINE2_Ethernet4
71 no shutdown
72 mtu 1500
73 no switchport
74 ip address 172.30.255.11/31
75 !
76 interface Ethernet4
77 description host2_Eth1
78 no shutdown
79 channel-group 4 mode active
80 !
81 interface Ethernet5
82 description host2_Eth2
83 no shutdown
84 channel-group 4 mode active
85 !
86 interface Ethernet6
87 description MLAG_PEER_leaf4_Ethernet6
88 no shutdown
89 channel-group 1 mode active
90 !
91 interface Loopback0
92 description EVPN_Overlay_Peering
93 no shutdown
94 ip address 192.0.255.5/32
95 !
96 interface Loopback1
97 description VTEP_VXLAN_Tunnel_Source
98 no shutdown
99 ip address 192.0.254.5/32
100 !
101 interface Loopback100
102 description Tenant_A_OP_Zone_VTEP_DIAGNOSTICS
103 no shutdown
104 vrf Tenant_A_OP_Zone
105 ip address 10.255.1.5/32
106 !
107 interface Management1
108 description oob_management
109 no shutdown
110 ip address 192.168.0.14/24
111 !
112 interface Vlan110
113 description Tenant_A_OP_Zone_1
114 no shutdown
115 vrf Tenant_A_OP_Zone
116 ip address virtual 10.1.10.1/24
117 !
118 interface Vlan3009
119 description MLAG_PEER_L3_iBGP: vrf Tenant_A_OP_Zone
120 no shutdown
121 mtu 1500
122 vrf Tenant_A_OP_Zone
123 ip address 10.255.251.4/31
124 !
125 interface Vlan4093
126 description MLAG_PEER_L3_PEERING
127 no shutdown
128 mtu 1500
129 ip address 10.255.251.4/31
130 !
131 interface Vlan4094
132 description MLAG_PEER
133 no shutdown
134 mtu 1500
135 no autostate
136 ip address 10.255.252.4/31
137 !
138 interface Vxlan1
139 description leaf3_VTEP
140 vxlan source-interface Loopback1
141 vxlan virtual-router encapsulation mac-address mlag-system-id
142 vxlan udp-port 4789
143 vxlan vlan 110 vni 10110
144 vxlan vlan 160 vni 55160
145 vxlan vrf Tenant_A_OP_Zone vni 10
146 !
147 ip virtual-router mac-address 00:1c:73:00:dc:01
148 !
149 ip address virtual source-nat vrf Tenant_A_OP_Zone address 10.255.1.5
150 !
151 ip routing
152 ip routing vrf Tenant_A_OP_Zone
153 !
154 ip prefix-list PL-LOOPBACKS-EVPN-OVERLAY
155 seq 10 permit 192.0.255.0/24 eq 32
156 seq 20 permit 192.0.254.0/24 eq 32
157 !
158 mlag configuration
159 domain-id pod2
160 local-interface Vlan4094
161 peer-address 10.255.252.5
162 peer-link Port-Channel1
163 reload-delay mlag 300
164 reload-delay non-mlag 330
165 !
166 ip route 0.0.0.0/0 192.168.0.1
167 !
168 route-map RM-CONN-2-BGP permit 10
169 match ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
170 !
171 route-map RM-MLAG-PEER-IN permit 10
172 description Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing
173 set origin incomplete
174 !
175 router bfd
176 multihop interval 1200 min-rx 1200 multiplier 3
177 !
178 router bgp 65102
179 router-id 192.0.255.5
180 no bgp default ipv4-unicast
181 distance bgp 20 200 200
182 graceful-restart restart-time 300
183 graceful-restart
184 maximum-paths 4 ecmp 4
185 neighbor EVPN-OVERLAY-PEERS peer group
186 neighbor EVPN-OVERLAY-PEERS update-source Loopback0
187 neighbor EVPN-OVERLAY-PEERS bfd
188 neighbor EVPN-OVERLAY-PEERS ebgp-multihop 3
189 neighbor EVPN-OVERLAY-PEERS password 7 q+VNViP5i4rVjW1cxFv2wA==
190 neighbor EVPN-OVERLAY-PEERS send-community
191 neighbor EVPN-OVERLAY-PEERS maximum-routes 0
192 neighbor IPv4-UNDERLAY-PEERS peer group
193 neighbor IPv4-UNDERLAY-PEERS password 7 AQQvKeimxJu+uGQ/yYvv9w==
194 neighbor IPv4-UNDERLAY-PEERS send-community
195 neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000
196 neighbor MLAG-IPv4-UNDERLAY-PEER peer group
197 neighbor MLAG-IPv4-UNDERLAY-PEER remote-as 65102
198 neighbor MLAG-IPv4-UNDERLAY-PEER next-hop-self
199 neighbor MLAG-IPv4-UNDERLAY-PEER description leaf4
200 neighbor MLAG-IPv4-UNDERLAY-PEER password 7 vnEaG8gMeQf3d3cN6PktXQ==
201 neighbor MLAG-IPv4-UNDERLAY-PEER send-community
202 neighbor MLAG-IPv4-UNDERLAY-PEER maximum-routes 12000
203 neighbor MLAG-IPv4-UNDERLAY-PEER route-map RM-MLAG-PEER-IN in
204 neighbor 10.255.251.5 peer group MLAG-IPv4-UNDERLAY-PEER
205 neighbor 10.255.251.5 description leaf4
206 neighbor 172.30.255.8 peer group IPv4-UNDERLAY-PEERS
207 neighbor 172.30.255.8 remote-as 65001
208 neighbor 172.30.255.8 description spine1_Ethernet4
209 neighbor 172.30.255.10 peer group IPv4-UNDERLAY-PEERS
210 neighbor 172.30.255.10 remote-as 65001
211 neighbor 172.30.255.10 description spine2_Ethernet4
212 neighbor 192.0.255.1 peer group EVPN-OVERLAY-PEERS
213 neighbor 192.0.255.1 remote-as 65001
214 neighbor 192.0.255.1 description spine1
215 neighbor 192.0.255.2 peer group EVPN-OVERLAY-PEERS
216 neighbor 192.0.255.2 remote-as 65001
217 neighbor 192.0.255.2 description spine2
218 redistribute connected route-map RM-CONN-2-BGP
219 !
220 vlan-aware-bundle Tenant_A_OP_Zone
221 rd 192.0.255.5:10
222 route-target both 10:10
223 redistribute learned
224 vlan 110
225 !
226 vlan-aware-bundle Tenant_A_VMOTION
227 rd 192.0.255.5:55160
228 route-target both 55160:55160
229 redistribute learned
230 vlan 160
231 !
232 address-family evpn
233 neighbor EVPN-OVERLAY-PEERS activate
234 !
235 address-family ipv4
236 no neighbor EVPN-OVERLAY-PEERS activate
237 neighbor IPv4-UNDERLAY-PEERS activate
238 neighbor MLAG-IPv4-UNDERLAY-PEER activate
239 !
240 vrf Tenant_A_OP_Zone
241 rd 192.0.255.5:10
242 route-target import evpn 10:10
243 route-target export evpn 10:10
244 router-id 192.0.255.5
245 neighbor 10.255.251.5 peer group MLAG-IPv4-UNDERLAY-PEER
246 redistribute connected
247 !
248 management api http-commands
249 protocol https
250 no shutdown
251 !
252 vrf default
253 no shutdown
254 !
255 end