all.yml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. ---
  2. # This file holds variables relevant to all sites and devices.
  3. #
  4. # SNMP variables
  5. snmp_auth_proto: sha
  6. snmp_priv_proto: des
  7. snmp_user: CLEUR
  8. # Core variables
  9. core_hsrp_vip_v4_suffix: "254"
  10. core_hsrp_vip_v6_suffix: "fe"
  11. core_hsrp_v4_track: "3"
  12. core_hsrp_v6_track: "5"
  13. # Base IPv4 Variables
  14. base_major_net: "10"
  15. # Base IPv6 Variables
  16. base_v6_prefix: "2a05:f8c0:2"
  17. # OSPF Variables
  18. ospf_pid: "1"
  19. # IDF Variables
  20. stretched_idf_id: "252"
  21. # DHCP variables
  22. dhcp_servers:
  23. - 10.100.253.9
  24. - 10.100.254.9
  25. # TACACS+ variables
  26. tacacs_group_name: ISE
  27. tacacs_host_timeout: "10"
  28. tacacs_servers:
  29. - { host: 10.100.253.7 }
  30. - { host: 10.100.254.7 }
  31. # Port-channel variables
  32. port_channels:
  33. port-channel99: True
  34. port-channel66: False
  35. port-channel67: False
  36. port-channel11: False
  37. port-channel12: False
  38. # VMware variables
  39. cluster_vswitch:
  40. FlexPod: vSwitch0
  41. HyperFlex-DC1: vswitch-hx-vm-network
  42. HyperFlex-DC2: vswitch-hx-vm-network
  43. # ACL variables
  44. # TODO: Automate the update of these templates
  45. v4_acl_name: IPV4-ACL-COMMON_VLAN
  46. v4_acl_template:
  47. - remark STANDARD-PERMITS-v1
  48. - remark HELP-SERVER
  49. - permit tcp any host 10.100.252.5 eq www
  50. - permit tcp any host 10.100.253.5 eq www
  51. - permit tcp any host 10.100.254.5 eq www
  52. - permit tcp any eq 22 host 10.100.252.5 gt 1024
  53. - permit tcp any eq 22 host 10.100.253.5 gt 1024
  54. - permit tcp any eq 22 host 10.100.254.5 gt 1024
  55. - permit tcp any eq 23 host 10.100.252.5 gt 1024
  56. - permit tcp any eq 23 host 10.100.253.5 gt 1024
  57. - permit tcp any eq 23 host 10.100.254.5 gt 1024
  58. - remark PING-SWEEPER
  59. - permit icmp any host 10.100.252.5 echo-reply
  60. - permit icmp any host 10.100.253.5 echo-reply
  61. - permit icmp any host 10.100.254.5 echo-reply
  62. - remark PERMIT-DHCP
  63. - permit udp any any eq bootps
  64. - remark PERMIT-DNS
  65. - permit udp any host 10.100.252.6 eq domain
  66. - permit udp any host 10.100.253.6 eq domain
  67. - permit udp any host 10.100.254.6 eq domain
  68. - remark PERMIT-NTP
  69. - permit udp any host 10.100.253.4 eq ntp
  70. - permit udp any host 10.100.254.4 eq ntp
  71. - remark PERMIT-AP-ONBOARDING
  72. - permit ip any host 10.130.0.7
  73. - permit ip any host 10.130.0.9
  74. - remark PERMIT-MULTICAST-v1
  75. - permit ip any 224.0.0.0 15.255.255.255
  76. - remark PERMIT-IGMP
  77. - permit igmp any any
  78. - remark END-STANDARD-PERMITS-v1
  79. - remark PERMIT-INTER-VLAN-TRAFFIC-SITEWIDE-v1
  80. - permit ip 10.2.0.0 0.0.255.255 10.2.0.0 0.0.255.255
  81. - permit ip 10.3.0.0 0.0.255.255 10.3.0.0 0.0.255.255
  82. - permit ip 10.7.0.0 0.0.255.255 10.7.0.0 0.0.255.255
  83. - permit ip 10.16.0.0 0.0.255.255 10.16.0.0 0.0.255.255
  84. - permit ip 10.17.0.0 0.0.255.255 10.17.0.0 0.0.255.255
  85. - permit ip 10.18.0.0 0.0.255.255 10.18.0.0 0.0.255.255
  86. - permit ip 10.19.0.0 0.0.255.255 10.19.0.0 0.0.255.255
  87. - permit ip 10.20.0.0 0.0.255.255 10.20.0.0 0.0.255.255
  88. - permit ip 10.21.0.0 0.0.255.255 10.21.0.0 0.0.255.255
  89. - permit ip 10.22.0.0 0.0.255.255 10.22.0.0 0.0.255.255
  90. - permit ip 10.23.0.0 0.0.255.255 10.23.0.0 0.0.255.255
  91. - permit ip 10.24.0.0 0.0.255.255 10.24.0.0 0.0.255.255
  92. - permit ip 10.25.0.0 0.0.255.255 10.25.0.0 0.0.255.255
  93. - permit ip 10.32.0.0 0.0.255.255 10.32.0.0 0.0.255.255
  94. - permit ip 10.33.0.0 0.0.255.255 10.33.0.0 0.0.255.255
  95. - permit ip 10.34.0.0 0.0.255.255 10.34.0.0 0.0.255.255
  96. - permit ip 10.35.0.0 0.0.255.255 10.35.0.0 0.0.255.255
  97. - permit ip 10.36.0.0 0.0.255.255 10.36.0.0 0.0.255.255
  98. - permit ip 10.38.0.0 0.0.255.255 10.38.0.0 0.0.255.255
  99. - permit ip 10.39.0.0 0.0.255.255 10.39.0.0 0.0.255.255
  100. - permit ip 10.40.0.0 0.0.255.255 10.40.0.0 0.0.255.255
  101. - permit ip 10.41.0.0 0.0.255.255 10.41.0.0 0.0.255.255
  102. - permit ip 10.42.0.0 0.0.255.255 10.42.0.0 0.0.255.255
  103. - permit ip 10.43.0.0 0.0.255.255 10.43.0.0 0.0.255.255
  104. - permit ip 10.100.0.0 0.0.255.255 10.100.0.0 0.0.255.255
  105. - permit ip 10.127.0.0 0.0.255.255 10.127.0.0 0.0.255.255
  106. - remark PERMIT-VLAN16-to-VLAN23-for-LABS
  107. - permit ip 10.16.0.0 0.0.255.255 10.23.0.0 0.0.255.255
  108. - permit ip 10.23.0.0 0.0.255.255 10.16.0.0 0.0.255.255
  109. - remark DENY-INTERNAL-v1
  110. - deny ip any 10.0.0.0 0.255.255.255
  111. - deny ip any 172.16.0.0 0.15.255.255
  112. - deny ip any 192.168.0.0 0.0.255.255
  113. - remark DENY-INTERNET-FOR-VLAN2-Quarantine-v1
  114. - deny ip 10.2.0.0 0.0.255.255 any
  115. - remark PERMIT-INTERNET-v1
  116. - permit ip any any
  117. v6_acl_name: IPV6-ACL-COMMON-VLAN
  118. v6_acl_template:
  119. - remark ACL-V6
  120. - remark ACE-V6-STANDARD-PERMITS
  121. - remark PERMIT-ND
  122. - permit icmp any any nd-ns
  123. - permit icmp any any nd-na
  124. - remark PERMIT-ICMP
  125. - permit icmp any any router-solicitation
  126. - permit icmp any any packet-too-big
  127. - permit icmp any any time-exceeded
  128. - permit icmp any any echo-reply
  129. - permit icmp any any echo-request
  130. - remark PERMIT-DNS CPNR
  131. - permit udp any host 2a05:f8c0:0002:64fd::6 eq domain
  132. - permit tcp any host 2a05:f8c0:0002:64fd::6 eq domain
  133. - permit udp any host 2a05:f8c0:0002:64fd::6a eq domain
  134. - permit tcp any host 2a05:f8c0:0002:64fd::6a eq domain
  135. - remark PERMIT-NTP
  136. - permit udp any host 2a05:f8c0:0002:64fd::04
  137. - permit udp any host 2a05:f8c0:0002:64fd::68
  138. - remark PERMIT-MULTICAST
  139. - permit ipv6 any ff00::/8
  140. - remark PERMIT-MLD
  141. - permit icmp any any mld-report
  142. - permit icmp any any mld-v2-report
  143. - remark END-STANDARD-PERMITS
  144. - remark PERMIT-INTER-VLAN-TRAFFIC-SITEWIDE
  145. - permit ipv6 2a05:f8c0:0002:0200::/56 2a05:f8c0:0002:0200::/56
  146. - permit ipv6 2a05:f8c0:0002:0300::/56 2a05:f8c0:0002:0300::/56
  147. - permit ipv6 2a05:f8c0:0002:0700::/56 2a05:f8c0:0002:0700::/56
  148. - permit ipv6 2a05:f8c0:0002:1000::/56 2a05:f8c0:0002:1000::/56
  149. - permit ipv6 2a05:f8c0:0002:1100::/56 2a05:f8c0:0002:1100::/56
  150. - permit ipv6 2a05:f8c0:0002:1200::/56 2a05:f8c0:0002:1200::/56
  151. - permit ipv6 2a05:f8c0:0002:1300::/56 2a05:f8c0:0002:1300::/56
  152. - permit ipv6 2a05:f8c0:0002:1400::/56 2a05:f8c0:0002:1400::/56
  153. - permit ipv6 2a05:f8c0:0002:1500::/56 2a05:f8c0:0002:1500::/56
  154. - permit ipv6 2a05:f8c0:0002:1600::/56 2a05:f8c0:0002:1600::/56
  155. - permit ipv6 2a05:f8c0:0002:1700::/56 2a05:f8c0:0002:1700::/56
  156. - permit ipv6 2a05:f8c0:0002:1800::/56 2a05:f8c0:0002:1800::/56
  157. - permit ipv6 2a05:f8c0:0002:1900::/56 2a05:f8c0:0002:1900::/56
  158. - permit ipv6 2a05:f8c0:0002:2000::/56 2a05:f8c0:0002:2000::/56
  159. - permit ipv6 2a05:f8c0:0002:2100::/56 2a05:f8c0:0002:2100::/56
  160. - permit ipv6 2a05:f8c0:0002:2200::/56 2a05:f8c0:0002:2200::/56
  161. - permit ipv6 2a05:f8c0:0002:2300::/56 2a05:f8c0:0002:2300::/56
  162. - permit ipv6 2a05:f8c0:0002:2400::/56 2a05:f8c0:0002:2400::/56
  163. - permit ipv6 2a05:f8c0:0002:2600::/56 2a05:f8c0:0002:2600::/56
  164. - permit ipv6 2a05:f8c0:0002:2700::/56 2a05:f8c0:0002:2700::/56
  165. - permit ipv6 2a05:f8c0:0002:2800::/56 2a05:f8c0:0002:2800::/56
  166. - permit ipv6 2a05:f8c0:0002:2900::/56 2a05:f8c0:0002:2900::/56
  167. - permit ipv6 2a05:f8c0:0002:2a00::/56 2a05:f8c0:0002:2a00::/56
  168. - permit ipv6 2a05:f8c0:0002:2b00::/56 2a05:f8c0:0002:2b00::/56
  169. - permit ipv6 2a05:f8c0:0002:6400::/56 2a05:f8c0:0002:6400::/56
  170. - permit ipv6 2a05:f8c0:0002:7f00::/56 2a05:f8c0:0002:7f00::/56
  171. - remark remark PERMIT-VLAN16-to-VLAN23-for-LABS
  172. - permit ipv6 2a05:f8c0:0002:1000::/56 2a05:f8c0:0002:1700::/56
  173. - permit ipv6 2a05:f8c0:0002:1700::/56 2a05:f8c0:0002:1000::/56
  174. - remark DENY-INTERNAL
  175. - deny ipv6 any 2a05:f8c0:0002::/48
  176. - remark DENY-INTERNET-FOR-VLAN2-Quarantine
  177. - deny ipv6 2a05:f8c0:0002:0200::/56 any
  178. - remark ACE-V6-PERMIT-INTERNET
  179. - permit ipv6 any any