-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathdefaults.yml
More file actions
539 lines (538 loc) · 17 KB
/
Copy pathdefaults.yml
File metadata and controls
539 lines (538 loc) · 17 KB
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
# Copyright (c) 2024 Cisco Systems, Inc. and its affiliates
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# SPDX-License-Identifier: MIT
---
factory_defaults:
vxlan:
global:
ebgp:
bgp_asn_mode: Multi-AS
leaf_same_bgp_asn: false
bgp_asn_auto_allocation: true
anycast_gateway_mac: 20:20:00:00:00:aa
auth_proto: MD5
enable_nxapi_http: false
nxapi_http_port: 80
enable_nxapi_https: true
nxapi_https_port: 443
overlay_mode: cli
greenfield_cleanup: Disable
layer2_vni_range:
from: 30000
to: 49000
layer3_vni_range:
from: 50000
to: 59000
layer2_vlan_range:
from: 2300
to: 2999
layer3_vlan_range:
from: 2000
to: 2299
enable_l3_vni_no_vlan: false
vpc:
peer_link_vlan: 3600
peer_keep_alive: management
auto_recovery_time: 360
delay_restore_time: 150
peer_link_port_channel_id: 500
ipv6_nd_sync: true
advertise_pip: false
advertise_pip_border_only: true
advertise_pip_border_gateway: false
domain_id_range: 1-1000
fabric_vpc_qos: false
fabric_vpc_qos_policy_name: spine_qos_for_fabric_vpc_peering
netflow:
enable: false
ptp:
enable: false
domain_id: 0
lb_id: 0
snmp_server_host_trap: true
bootstrap:
enable_bootstrap: false
enable_local_dhcp_server: false
enable_cdp_mgmt: false
ibgp:
route_reflectors: 2
anycast_gateway_mac: 20:20:00:00:00:aa
auth_proto: MD5
enable_nxapi_http: false
nxapi_http_port: 80
enable_nxapi_https: true
nxapi_https_port: 443
overlay_mode: cli
greenfield_cleanup: Disable
layer2_vni_range:
from: 30000
to: 49000
layer3_vni_range:
from: 50000
to: 59000
layer2_vlan_range:
from: 2300
to: 2999
layer3_vlan_range:
from: 2000
to: 2299
enable_l3_vni_no_vlan: false
vpc:
peer_link_vlan: 3600
peer_keep_alive: management
auto_recovery_time: 360
delay_restore_time: 150
peer_link_port_channel_id: 500
ipv6_nd_sync: true
advertise_pip: false
advertise_pip_border_only: true
domain_id_range: 1-1000
fabric_vpc_qos: false
fabric_vpc_qos_policy_name: spine_qos_for_fabric_vpc_peering
spanning_tree:
root_bridge_protocol: unmanaged
vlan_range:
- from: 1
to: 3967
mst_instance_range:
- from: 0
bridge_priority: 0
netflow:
enable: false
ptp:
enable: false
domain_id: 0
lb_id: 0
snmp_server_host_trap: true
bootstrap:
enable_bootstrap: false
enable_local_dhcp_server: false
enable_cdp_mgmt: false
tcam_allocation: true
mpls_handoff:
enable: false
loopback_id: 101
loopback_ip_range: 10.101.0.0/25
isis_net_area_number: "0001"
external:
auth_proto: MD5
enable_nxapi_http: false
nxapi_http_port: 80
enable_nxapi_https: true
nxapi_https_port: 443
netflow:
enable: false
ptp:
enable: false
domain_id: 0
lb_id: 0
snmp_server_host_trap: true
bootstrap:
enable_bootstrap: false
enable_local_dhcp_server: false
enable_cdp_mgmt: false
topology:
switches:
routing_loopback_id: 0
vtep_loopback_id: 1
interface_breakouts:
module: 1
from: 1
to: 1
map: 10g-4x
enable_during_bootstrap: false
interfaces:
topology_switch_access_interface:
description: "NetAsCode Access Interface"
mtu: jumbo
speed: auto
enabled: true
access_vlan: 1
spanning_tree_portfast: true
enable_bpdu_guard: true
duplex: auto
orphan_port: false
enable_qos: false
monitor: false
fec: auto
topology_switch_trunk_interface:
description: "NetAsCode Trunk Interface"
mtu: jumbo
speed: auto
enabled: true
trunk_allowed_vlans: none
spanning_tree_portfast: true
enable_bpdu_guard: true
duplex: auto
orphan_port: false
native_vlan: ""
enable_qos: false
monitor: false
fec: auto
topology_switch_access_po_interface:
description: "NetAsCode Access PO Interface"
mtu: jumbo
speed: auto
enabled: true
access_vlan: 1
pc_mode: active
spanning_tree_portfast: true
enable_bpdu_guard: true
duplex: auto
orphan_port: false
disable_lacp_suspend_individual: false
enable_lacp_vpc_convergence: false
lacp_port_priority: 32768
lacp_rate: normal
enable_qos: false
monitor: false
topology_switch_trunk_po_interface:
description: "NetAsCode Trunk PO Interface"
mtu: jumbo
speed: auto
enabled: true
trunk_allowed_vlans: none
pc_mode: active
spanning_tree_portfast: true
enable_bpdu_guard: true
duplex: auto
orphan_port: false
native_vlan: ""
disable_lacp_suspend_individual: false
enable_lacp_vpc_convergence: false
lacp_port_priority: 32768
lacp_rate: normal
enable_qos: false
monitor: false
topology_switch_dot1q_interface:
description: "NetAsCode Dot1q Interface"
mtu: jumbo
speed: auto
enabled: true
access_vlan: 1
spanning_tree_portfast: true
enable_bpdu_guard: true
duplex: auto
orphan_port: false
fec: auto
topology_switch_routed_interface:
description: "NetAsCode Routed Interface"
mtu: 9216
speed: auto
enabled: true
enable_qos: false
fec: auto
topology_switch_routed_sub_interface:
description: "NetAsCode Routed Sub Interface"
mtu: 9216
speed: auto
enabled: true
topology_switch_routed_po_interface:
description: "NetAsCode Routed PO Interface"
mtu: 9216
speed: auto
enabled: true
pc_mode: active
enable_qos: false
topology_switch_loopback_interface:
description: "NetAsCode Loopback Interface"
enabled: true
poap:
bootstrap: false
discovery_creds: false
vpc_peers:
domain_id: 1
keepalive_hold_time: 3
fabric_links:
mtu: 9216
admin_state: true
edge_connections:
source_interface_mtu: 9216
source_interface_enabled: true
bgp_section:
bgp_password_enable: true
underlay:
general:
routing_protocol: ospf
enable_ipv6_underlay: false
replication_mode: multicast
manual_underlay_allocation: false
underlay_routing_loopback_id: 0
underlay_vtep_loopback_id: 1
underlay_routing_protocol_tag: UNDERLAY
intra_fabric_interface_mtu: 9216
layer2_host_interface_mtu: 9216
unshut_host_interfaces: true
ipv4:
fabric_interface_numbering: p2p
subnet_mask: 30
underlay_routing_loopback_ip_range: 10.2.0.0/22
underlay_vtep_loopback_ip_range: 10.3.0.0/22
underlay_rp_loopback_ip_range: 10.254.254.0/24
underlay_subnet_ip_range: 10.4.0.0/16
ipv6:
enable_ipv6_link_local_address: true
underlay_subnet_mask: 126
underlay_routing_loopback_ip_range: fd00::a02:0/119
underlay_vtep_loopback_ip_range: fd00::a03:0/118
underlay_rp_loopback_ip_range: fd00::254:254:0/118
underlay_subnet_ip_range: fd00::a04:0/112
ospf:
area_id: 0.0.0.0
authentication_enable: false
authentication_key_id: 127
isis:
level: level-2
net_area_number: "0001"
network_point_to_point: true
authentication_enable: false
authentication_key_id: 127
overload_bit: true
overload_bit_elapsed_time: 60
bgp:
authentication_enable: false
authentication_key_type: 3
max_paths: 4 # Review
multicast:
rendezvous_points: 2
rp_mode: asm
underlay_rp_loopback_id: 254
enable_mvpn_vri_id_range: true
ipv4:
group_subnet: 239.1.1.0/25
authentication_enable: false
trm_enable: false
trm_default_group: 239.1.1.0
ipv6:
group_subnet: ff1e::/121
trmv6_enable: false
trmv6_default_group: "ff1e::" # Quote due to ending in colon to avoid YAML error
underlay_primary_rp_loopback_id: 2
underlay_backup_rp_loopback_id: 3
underlay_second_backup_rp_loopback_id: 4
underlay_third_backup_rp_loopback_id: 5
bfd:
enable: false
ibgp: false
ospf: false
pim: false
isis: false
authentication_enable: false
authentication_key_id: 100
overlay:
vrfs:
vrf_description: "Configured by Ansible NetAsCode"
vrf_intf_desc: "Configured by Ansible NetAsCode"
vrf_int_mtu: 9216
loopback_route_tag: 12345
max_bgp_paths: 1
max_ibgp_paths: 2
ipv6_linklocal_enable: true
adv_host_routes: false
adv_default_routes: true
static_default_route: true
disable_rt_auto: false
netflow_enable: false
no_rp: false
rp_external: false
redist_direct_routemap: FABRIC-RMAP-REDIST-SUBNET
ipv6_redist_direct_routemap: FABRIC-RMAP-REDIST-SUBNET
trm_enable: false
trm_bgw_msite: false
# Staging trmv6 attributes for later usage after low-level collection adds support.
# trmv6_no_rp: false
# trmv6_rp_external: false
# trmv6_enable: false
networks:
net_description: "Configured by Ansible NetAsCode"
is_l2_only: false
arp_suppress: false
l3gw_on_border: false
mtu_l3intf: 9216
multicast_group_address: 239.1.1.1
netflow_enable: false
route_target_both: false
route_tag: 12345
trm_enable: false
# Staging trmv6 attribute for later usage after low-level collection adds support.
# trmv6_enable: false
vrf_attach_groups:
switches: []
network_attach_groups:
switches: []
policy:
template_name: switch_freeform
priority: 500
overlay_extensions:
vrf_lites:
ospf:
areas:
area_type: standard
default_area: 0
distance: 110
bfd:
enabled: false
default_information_originate:
always: false
nssa:
default_information_originate: false
no_redistribution: false
no_summary: false
translate:
always: false
supress_fa: false
never: false
bgp:
best_path_as_path_relax: false
graceful_restart: true
graceful_restart_helper: false
address_family_ipv4_unicast:
additional_paths_receive: false
additional_paths_send: false
default_originate: false
ebgp_distance: 20
ibgp_distance: 200
local_distance: 220
address_family_ipv6_unicast:
additional_paths_receive: false
additional_paths_send: false
default_originate: false
ebgp_distance: 20
ibgp_distance: 200
local_distance: 220
switches:
interfaces:
ospf:
auth_type: none
auth_key_id: 0
cost: 1
passive_interface: false
mtu_ignore: false
advertise_subnet: false
bfd:
enabled: false
hello_interval: 10
dead_interval: 40
network_type: broadcast
priority: 1
lsa_retransmit_interval: 5
lsa_transmit_delay: 1
bgp_peers:
next_hop_self: false
bfd:
enabled: false
disable_connected_check: false
remove_private_as: false
remove_private_as_all: false
address_family_ipv4_unicast:
send_community: false
send_ext_community: false
allow_as_in: false
allow_as_in_number: 3
as_override: false
route_reflector_client: false
default_originate: false
next_hop_self: false
address_family_ipv6_unicast:
send_community: false
send_ext_community: false
allow_as_in: false
allow_as_in_number: 3
as_override: false
route_reflector_client: false
default_originate: false
next_hop_self: false
multisite:
layer2_vni_range:
from: 30000
to: 49000
layer3_vni_range:
from: 50000
to: 59000
enable_ipv6_underlay: false
anycast_gateway_mac: 20:20:00:00:00:aa
vtep_loopback_id: 100
bgw_ip_tag: 54321
ipv4_vtep_loopback_range: 10.10.0.0/24
ipv6_vtep_loopback_range: fd00::a10:0/120
overlay_dci:
deployment_method: Direct_To_BGWS
route_server:
redistribute_direct: false
ip_tag: 54321
ipv4_dci_subnet_range: 10.10.1.0/24
ipv4_dci_subnet_mask: 30
ipv6_dci_subnet_range: fd00::a11:0/120
ipv6_dci_subnet_mask: 126
underlay_autoconfig: true
enable_bgp_send_community: false
enable_bgp_log_neighbor_change: false
enable_bgp_bfd: false
delay_restore: 300
enable_ebgp_password: false
enable_trm: false
overlay:
vrfs:
vrf_description: "Configured by Ansible NetAsCode"
vrf_intf_desc: "Configured by Ansible NetAsCode"
vrf_int_mtu: 9216
loopback_route_tag: 12345
max_bgp_paths: 1
max_ibgp_paths: 2
ipv6_linklocal_enable: true
adv_host_routes: false
adv_default_routes: true
static_default_route: true
disable_rt_auto: false
netflow_enable: false
no_rp: false
rp_external: false
redist_direct_routemap: FABRIC-RMAP-REDIST-SUBNET
ipv6_redist_direct_routemap: FABRIC-RMAP-REDIST-SUBNET
trm_enable: false
trm_bgw_msite: false
networks:
net_description: "Configured by Ansible NetAsCode"
is_l2_only: false
arp_suppress: false
l3gw_on_border: false
mtu_l3intf: 9216
multicast_group_address: 239.1.1.1
netflow_enable: false
route_target_both: false
route_tag: 12345
trm_enable: false
isn:
auth_proto: MD5
sub_int_range: 2-511
enable_nxapi_http: false
nxapi_http_port: 80
enable_nxapi_https: true
nxapi_https_port: 443
netflow:
enable: false
ptp:
enable: false
domain_id: 0
lb_id: 0
snmp_server_host_trap: true
bootstrap:
enable_bootstrap: false
enable_local_dhcp_server: false