forked from aristanetworks/avd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dc1-leaf2b.yml
540 lines (540 loc) · 11.7 KB
/
dc1-leaf2b.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
hostname: dc1-leaf2b
metadata:
platform: vEOS-lab
is_deployed: false
router_bgp:
as: '65102'
router_id: 10.255.0.6
bgp:
default:
ipv4_unicast: false
maximum_paths:
paths: 4
ecmp: 4
peer_groups:
- name: MLAG-IPv4-UNDERLAY-PEER
type: ipv4
remote_as: '65102'
next_hop_self: true
description: dc1-leaf2a
password: 4b21pAdCvWeAqpcKDFMdWw==
maximum_routes: 12000
send_community: all
route_map_in: RM-MLAG-PEER-IN
- name: IPv4-UNDERLAY-PEERS
type: ipv4
password: 7x4B4rnJhZB438m9+BrBfQ==
maximum_routes: 12000
send_community: all
- name: EVPN-OVERLAY-PEERS
type: evpn
update_source: Loopback0
bfd: true
password: Q4fqtbqcZ7oQuKfuWtNGRQ==
send_community: all
maximum_routes: 0
ebgp_multihop: 3
- name: EVPN-OVERLAY-CORE
type: evpn
update_source: Loopback0
bfd: true
send_community: all
maximum_routes: 0
ebgp_multihop: 15
address_family_ipv4:
peer_groups:
- name: MLAG-IPv4-UNDERLAY-PEER
activate: true
- name: IPv4-UNDERLAY-PEERS
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
- name: EVPN-OVERLAY-CORE
activate: false
neighbors:
- ip_address: 10.255.1.100
peer_group: MLAG-IPv4-UNDERLAY-PEER
peer: dc1-leaf2a
description: dc1-leaf2a
- ip_address: 10.255.255.12
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65100'
peer: dc1-spine1
description: dc1-spine1_Ethernet4
- ip_address: 10.255.255.14
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65100'
peer: dc1-spine2
description: dc1-spine2_Ethernet4
- ip_address: 10.255.0.1
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-spine1
description: dc1-spine1
remote_as: '65100'
- ip_address: 10.255.0.2
peer_group: EVPN-OVERLAY-PEERS
peer: dc1-spine2
description: dc1-spine2
remote_as: '65100'
- ip_address: 10.255.128.16
peer_group: EVPN-OVERLAY-CORE
peer: dc2-leaf2b
description: dc2-leaf2b
remote_as: '65202'
- ip_address: 192.168.100.3
remote_as: '65202'
peer: dc2-leaf2b
description: dc2-leaf2b
peer_group: IPv4-UNDERLAY-PEERS
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
address_family_evpn:
neighbor_default:
next_hop_self_received_evpn_routes:
enable: true
inter_domain: true
peer_groups:
- name: EVPN-OVERLAY-PEERS
activate: true
- name: EVPN-OVERLAY-CORE
domain_remote: true
activate: true
vrfs:
- name: VRF10
router_id: 10.255.0.6
rd: 10.255.0.6:10
route_targets:
import:
- address_family: evpn
route_targets:
- '10:10'
export:
- address_family: evpn
route_targets:
- '10:10'
redistribute_routes:
- source_protocol: connected
neighbors:
- ip_address: 10.255.1.100
peer_group: MLAG-IPv4-UNDERLAY-PEER
- name: VRF11
router_id: 10.255.0.6
rd: 10.255.0.6:11
route_targets:
import:
- address_family: evpn
route_targets:
- '11:11'
export:
- address_family: evpn
route_targets:
- '11:11'
redistribute_routes:
- source_protocol: connected
neighbors:
- ip_address: 10.255.1.100
peer_group: MLAG-IPv4-UNDERLAY-PEER
vlans:
- id: 11
tenant: TENANT1
rd: 10.255.0.6:10011
route_targets:
both:
- 10011:10011
import_export_evpn_domains:
- domain: remote
route_target: 10011:10011
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:10011
- id: 12
tenant: TENANT1
rd: 10.255.0.6:10012
route_targets:
both:
- 10012:10012
import_export_evpn_domains:
- domain: remote
route_target: 10012:10012
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:10012
- id: 21
tenant: TENANT1
rd: 10.255.0.6:10021
route_targets:
both:
- 10021:10021
import_export_evpn_domains:
- domain: remote
route_target: 10021:10021
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:10021
- id: 22
tenant: TENANT1
rd: 10.255.0.6:10022
route_targets:
both:
- 10022:10022
import_export_evpn_domains:
- domain: remote
route_target: 10022:10022
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:10022
- id: 3401
tenant: TENANT1
rd: 10.255.0.6:13401
route_targets:
both:
- 13401:13401
import_export_evpn_domains:
- domain: remote
route_target: 13401:13401
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:13401
- id: 3402
tenant: TENANT1
rd: 10.255.0.6:13402
route_targets:
both:
- 13402:13402
import_export_evpn_domains:
- domain: remote
route_target: 13402:13402
redistribute_routes:
- learned
rd_evpn_domain:
domain: remote
rd: 10.255.0.6:13402
static_routes:
- vrf: MGMT
destination_address_prefix: 0.0.0.0/0
gateway: 172.16.1.1
service_routing_protocols_model: multi-agent
ip_routing: true
vlan_internal_order:
allocation: ascending
range:
beginning: 1006
ending: 1199
spanning_tree:
mode: mstp
mst_instances:
- id: '0'
priority: 4096
no_spanning_tree_vlan: 4093-4094
local_users:
- name: admin
privilege: 15
role: network-admin
no_password: true
- name: ansible
privilege: 15
role: network-admin
sha512_password: $6$7u4j1rkb3VELgcZE$EJt2Qff8kd/TapRoci0XaIZsL4tFzgq1YZBLD9c6f/knXzvcYY0NcMKndZeCv0T268knGKhOEwZAxqKjlMm920
vrfs:
- name: MGMT
ip_routing: false
- name: VRF10
tenant: TENANT1
ip_routing: true
- name: VRF11
tenant: TENANT1
ip_routing: true
management_interfaces:
- name: Management1
description: oob_management
shutdown: false
vrf: MGMT
ip_address: 172.16.1.104/24
gateway: 172.16.1.1
type: oob
management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
https_ssl_profile: eAPI_SSL_Profile
vlans:
- id: 4093
tenant: system
name: LEAF_PEER_L3
trunk_groups:
- LEAF_PEER_L3
- id: 4094
tenant: system
name: MLAG_PEER
trunk_groups:
- MLAG
- id: 11
name: VRF10_VLAN11
tenant: TENANT1
- id: 12
name: VRF10_VLAN12
tenant: TENANT1
- id: 3009
name: MLAG_iBGP_VRF10
trunk_groups:
- LEAF_PEER_L3
tenant: TENANT1
- id: 21
name: VRF11_VLAN21
tenant: TENANT1
- id: 22
name: VRF11_VLAN22
tenant: TENANT1
- id: 3010
name: MLAG_iBGP_VRF11
trunk_groups:
- LEAF_PEER_L3
tenant: TENANT1
- id: 3401
name: L2_VLAN3401
tenant: TENANT1
- id: 3402
name: L2_VLAN3402
tenant: TENANT1
vlan_interfaces:
- name: Vlan4093
description: MLAG_PEER_L3_PEERING
shutdown: false
mtu: 1500
ip_address: 10.255.1.101/31
- name: Vlan4094
description: MLAG_PEER
shutdown: false
ip_address: 10.255.1.69/31
no_autostate: true
mtu: 1500
- name: Vlan11
tenant: TENANT1
description: VRF10_VLAN11
shutdown: false
ip_address_virtual: 10.10.11.1/24
vrf: VRF10
- name: Vlan12
tenant: TENANT1
description: VRF10_VLAN12
shutdown: false
ip_address_virtual: 10.10.12.1/24
vrf: VRF10
- name: Vlan3009
tenant: TENANT1
type: underlay_peering
shutdown: false
description: 'MLAG_PEER_L3_iBGP: vrf VRF10'
vrf: VRF10
mtu: 1500
ip_address: 10.255.1.101/31
- name: Vlan21
tenant: TENANT1
description: VRF11_VLAN21
shutdown: false
ip_address_virtual: 10.10.21.1/24
vrf: VRF11
- name: Vlan22
tenant: TENANT1
description: VRF11_VLAN22
shutdown: false
ip_address_virtual: 10.10.22.1/24
vrf: VRF11
- name: Vlan3010
tenant: TENANT1
type: underlay_peering
shutdown: false
description: 'MLAG_PEER_L3_iBGP: vrf VRF11'
vrf: VRF11
mtu: 1500
ip_address: 10.255.1.101/31
port_channel_interfaces:
- name: Port-Channel3
description: MLAG_PEER_dc1-leaf2a_Po3
type: switched
shutdown: false
mode: trunk
trunk_groups:
- LEAF_PEER_L3
- MLAG
- name: Port-Channel8
description: DC1-LEAF2C_Po1
type: switched
shutdown: false
mode: trunk
vlans: 11-12,21-22,3401-3402
mlag: 8
- name: Port-Channel5
description: dc1-leaf2-server1_PortChannel dc1-leaf2-server1
type: switched
shutdown: false
mode: trunk
vlans: 11-12,21-22
native_vlan: 4092
spanning_tree_portfast: edge
mlag: 5
ethernet_interfaces:
- name: Ethernet3
peer: dc1-leaf2a
peer_interface: Ethernet3
peer_type: mlag_peer
description: MLAG_PEER_dc1-leaf2a_Ethernet3
type: port-channel-member
shutdown: false
channel_group:
id: 3
mode: active
- name: Ethernet4
peer: dc1-leaf2a
peer_interface: Ethernet4
peer_type: mlag_peer
description: MLAG_PEER_dc1-leaf2a_Ethernet4
type: port-channel-member
shutdown: false
channel_group:
id: 3
mode: active
- name: Ethernet1
peer: dc1-spine1
peer_interface: Ethernet4
peer_type: spine
description: P2P_LINK_TO_DC1-SPINE1_Ethernet4
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.13/31
- name: Ethernet2
peer: dc1-spine2
peer_interface: Ethernet4
peer_type: spine
description: P2P_LINK_TO_DC1-SPINE2_Ethernet4
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.15/31
- name: Ethernet8
peer: dc1-leaf2c
peer_interface: Ethernet2
peer_type: l2leaf
description: DC1-LEAF2C_Ethernet2
shutdown: false
type: port-channel-member
channel_group:
id: 8
mode: active
- name: Ethernet6
peer: dc2-leaf2b
peer_interface: Ethernet6
peer_type: l3leaf
description: P2P_LINK_TO_dc2-leaf2b_Ethernet6
type: routed
shutdown: false
mtu: 1500
ip_address: 192.168.100.2/31
- name: Ethernet5
peer: dc1-leaf2-server1
peer_interface: PCI2
peer_type: server
description: dc1-leaf2-server1_PCI2
shutdown: false
type: port-channel-member
channel_group:
id: 5
mode: active
mlag_configuration:
domain_id: DC1_L3_LEAF2
local_interface: Vlan4094
peer_address: 10.255.1.68
peer_link: Port-Channel3
reload_delay_mlag: '300'
reload_delay_non_mlag: '330'
route_maps:
- name: RM-MLAG-PEER-IN
sequence_numbers:
- sequence: 10
type: permit
set:
- origin incomplete
description: Make routes learned over MLAG Peer-link less preferred on spines to ensure optimal routing
- name: RM-CONN-2-BGP
sequence_numbers:
- sequence: 10
type: permit
match:
- ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
shutdown: false
ip_address: 10.255.0.6/32
- name: Loopback1
description: VTEP_VXLAN_Tunnel_Source
shutdown: false
ip_address: 10.255.1.5/32
- name: Loopback10
description: VRF10_VTEP_DIAGNOSTICS
shutdown: false
vrf: VRF10
ip_address: 10.255.10.6/32
- name: Loopback11
description: VRF11_VTEP_DIAGNOSTICS
shutdown: false
vrf: VRF11
ip_address: 10.255.11.6/32
prefix_lists:
- name: PL-LOOPBACKS-EVPN-OVERLAY
sequence_numbers:
- sequence: 10
action: permit 10.255.0.0/27 eq 32
- sequence: 20
action: permit 10.255.1.0/27 eq 32
router_bfd:
multihop:
interval: 300
min_rx: 300
multiplier: 3
ip_igmp_snooping:
globally_enabled: true
ip_virtual_router_mac_address: 00:1c:73:00:00:99
vxlan_interface:
Vxlan1:
description: dc1-leaf2b_VTEP
vxlan:
udp_port: 4789
source_interface: Loopback1
virtual_router_encapsulation_mac_address: mlag-system-id
vlans:
- id: 11
vni: 10011
- id: 12
vni: 10012
- id: 21
vni: 10021
- id: 22
vni: 10022
- id: 3401
vni: 13401
- id: 3402
vni: 13402
vrfs:
- name: VRF10
vni: 10
- name: VRF11
vni: 11
virtual_source_nat_vrfs:
- name: VRF10
ip_address: 10.255.10.6
- name: VRF11
ip_address: 10.255.11.6
dns_domain: dc1.local