forked from aristanetworks/avd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dc2-spine2.yml
179 lines (179 loc) · 4.15 KB
/
dc2-spine2.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
hostname: dc2-spine2
metadata:
platform: vEOS-lab
is_deployed: true
router_bgp:
as: '65200'
router_id: 10.255.128.12
bgp:
default:
ipv4_unicast: false
maximum_paths:
paths: 4
ecmp: 4
peer_groups:
- 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
next_hop_unchanged: true
address_family_ipv4:
peer_groups:
- name: IPv4-UNDERLAY-PEERS
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
neighbors:
- ip_address: 10.255.255.107
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65201'
peer: dc2-leaf1a
description: dc2-leaf1a_Ethernet2
- ip_address: 10.255.255.111
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65201'
peer: dc2-leaf1b
description: dc2-leaf1b_Ethernet2
- ip_address: 10.255.255.115
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65202'
peer: dc2-leaf2a
description: dc2-leaf2a_Ethernet2
- ip_address: 10.255.255.119
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65202'
peer: dc2-leaf2b
description: dc2-leaf2b_Ethernet2
- ip_address: 10.255.128.13
peer_group: EVPN-OVERLAY-PEERS
peer: dc2-leaf1a
description: dc2-leaf1a
remote_as: '65201'
- ip_address: 10.255.128.14
peer_group: EVPN-OVERLAY-PEERS
peer: dc2-leaf1b
description: dc2-leaf1b
remote_as: '65201'
- ip_address: 10.255.128.15
peer_group: EVPN-OVERLAY-PEERS
peer: dc2-leaf2a
description: dc2-leaf2a
remote_as: '65202'
- ip_address: 10.255.128.16
peer_group: EVPN-OVERLAY-PEERS
peer: dc2-leaf2b
description: dc2-leaf2b
remote_as: '65202'
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
activate: true
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: none
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
management_interfaces:
- name: Management1
description: oob_management
shutdown: false
vrf: MGMT
ip_address: 172.16.1.22/24
gateway: 172.16.1.1
type: oob
management_api_http:
enable_vrfs:
- name: MGMT
enable_https: true
https_ssl_profile: eAPI_SSL_Profile
ethernet_interfaces:
- name: Ethernet1
peer: dc2-leaf1a
peer_interface: Ethernet2
peer_type: l3leaf
description: P2P_LINK_TO_DC2-LEAF1A_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.106/31
- name: Ethernet2
peer: dc2-leaf1b
peer_interface: Ethernet2
peer_type: l3leaf
description: P2P_LINK_TO_DC2-LEAF1B_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.110/31
- name: Ethernet3
peer: dc2-leaf2a
peer_interface: Ethernet2
peer_type: l3leaf
description: P2P_LINK_TO_DC2-LEAF2A_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.114/31
- name: Ethernet4
peer: dc2-leaf2b
peer_interface: Ethernet2
peer_type: l3leaf
description: P2P_LINK_TO_DC2-LEAF2B_Ethernet2
shutdown: false
mtu: 1500
type: routed
ip_address: 10.255.255.118/31
loopback_interfaces:
- name: Loopback0
description: EVPN_Overlay_Peering
shutdown: false
ip_address: 10.255.128.12/32
prefix_lists:
- name: PL-LOOPBACKS-EVPN-OVERLAY
sequence_numbers:
- sequence: 10
action: permit 10.255.128.0/27 eq 32
route_maps:
- name: RM-CONN-2-BGP
sequence_numbers:
- sequence: 10
type: permit
match:
- ip address prefix-list PL-LOOPBACKS-EVPN-OVERLAY
router_bfd:
multihop:
interval: 300
min_rx: 300
multiplier: 3