-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDC2_FABRIC.yml
141 lines (120 loc) · 3.68 KB
/
DC2_FABRIC.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
---
# L3LS Fabric Values - update these values with caution, some changes could be disruptive.
fabric_name: DC2_FABRIC
# Point to Point Network Summary range, assigned as /31 for each uplink interfaces
# Assign range larger then total [ spines * total potential leafs * 2 ]
underlay_p2p_network_summary: 172.31.252.0/24
# IP address range for evpn loopback for all switches in fabric, assigned as /32s
# Assign range larger then total spines + total leafs switches
overlay_loopback_network_summary: 192.168.253.0/24
# VTEP VXLAN Tunnel source loopback IP for leaf switches, assigned in /32s
# Assign range larger then total leaf switches
vtep_loopback_network_summary: 192.168.254.0/24
# mlag pair IP assignment - assign blocks - Assign range larger then total spines + total leafs switches
mlag_ips:
leaf_peer_l3: 10.255.253.0/24
mlag_peer: 10.255.254.0/24
# Enable vlan aware bundles
vxlan_vlan_aware_bundles: true
# bgp peer groups passwords
bgp_peer_groups:
IPv4_UNDERLAY_PEERS:
password: "AQQvKeimxJu+uGQ/yYvv9w=="
EVPN_OVERLAY_PEERS:
password: "q+VNViP5i4rVjW1cxFv2wA=="
MLAG_IPv4_UNDERLAY_PEER:
password: "vnEaG8gMeQf3d3cN6PktXQ=="
# Spine Switches
spine:
platform: vEOS-LAB
bgp_as: 65200
leaf_as_range: 65101-65132
nodes:
DC2-SPINE1:
id: 1
mgmt_ip: 192.168.200.151/24
DC2-SPINE2:
id: 2
mgmt_ip: 192.168.200.152/24
# Leaf switch groups
# A maximum of two nodes can form a leaf group
# When two nodes are in a leaf group this will automatically form mlag pair
l3leaf:
defaults:
platform: vEOS-LAB
spines: [ DC2-SPINE1, DC2-SPINE2 ]
uplink_to_spine_interfaces: [ Ethernet1, Ethernet2 ]
mlag_interfaces: [ Ethernet3, Ethernet4 ]
spanning_tree_mode: mstp
spanning_tree_priority: 4096
virtual_router_mac_address : 00:dc:00:00:00:0b
node_groups:
DC2_LEAF1:
bgp_as: 65201
mlag_interfaces: [ Ethernet13, Ethernet14 ]
filter:
tenants: [ all ]
tags: [ all ]
nodes:
DC2-LEAF1A:
id: 1
mgmt_ip: 192.168.200.153/24
spine_interfaces: [ Ethernet1, Ethernet1 ]
DC2-LEAF1B:
id: 2
mgmt_ip: 192.168.200.154/24
spine_interfaces: [ Ethernet2, Ethernet2 ]
# DC2_BL1:
# bgp_as: 65202
# filter:
# tenants: [ all ]
# tags: [ wan ]
# nodes:
# DC2-BL1A:
# id: 3
# mgmt_ip: 192.168.200.155/24
# spine_interfaces: [ Ethernet3, Ethernet3 ]
# DC2-BL1B:
# id: 4
# mgmt_ip: 192.168.200.156/24
# spine_interfaces: [ Ethernet4, Ethernet4 ]
l2leaf:
defaults:
platform: vEOS-LAB
uplink_interfaces: [ Ethernet1, Ethernet2 ]
mlag_interfaces: [ Ethernet3, Ethernet4 ]
spanning_tree_mode: mstp
spanning_tree_priority: 16384
node_groups:
DC2_L2LEAF1:
parent_l3leafs: [ DC2-LEAF1A, DC2-LEAF1B ]
filter:
tenants: [ Tenant_A ]
tags: [ opzone, web, app ]
nodes:
DC2-L2LEAF1A:
id: 5
mgmt_ip: 192.168.200.157/24
l3leaf_interfaces: [ Ethernet3, Ethernet3 ]
#### Override for vEOS Lab Caveats ####
# Disable update wait-for-convergence and update wait-for-install, which is not supported in vEOS-LAB.
spine_bgp_defaults:
# - update wait-for-convergence
# - update wait-install
- no bgp default ipv4-unicast
- distance bgp 20 200 200
leaf_bgp_defaults:
# - update wait-install
- no bgp default ipv4-unicast
- distance bgp 20 200 200
# Upodate p2p mtu 9000 -> 1500
p2p_uplinks_mtu: 1500
# Adjust default bfd values
bfd_multihop:
interval: 1200
min_rx: 1200
multiplier: 3
cv_configlets:
containers:
DC2_FABRIC:
- DC2-CUSTOM_ALIASES