From c857fd566ec9079d31f396d338bd539948206959 Mon Sep 17 00:00:00 2001 From: Karl Newell Date: Fri, 21 Feb 2020 18:28:58 -0500 Subject: [PATCH] Update templating --- .../2020-02-21@16:55:31/10.39.0.100.config | 158 ++++++++++ .../2020-02-21@16:55:31/10.39.0.101.config | 212 ++++++++++++++ .../2020-02-21@16:55:31/10.39.0.102.config | 149 ++++++++++ .../2020-02-21@16:55:31/10.39.0.103.config | 178 ++++++++++++ .../2020-02-21@16:55:31/10.39.0.104.config | 168 +++++++++++ .../2020-02-21@16:55:31/10.39.0.105.config | 133 +++++++++ .../2020-02-21@16:55:31/10.39.0.106.config | 113 +++++++ .../2020-02-21@16:55:31/10.39.0.107.config | 123 ++++++++ .../2020-02-21@16:55:31/10.39.0.108.config | 113 +++++++ .../2020-02-21@17:43:16/10.39.0.100.config | 204 +++++++++++++ .../2020-02-21@17:43:16/10.39.0.101.config | 204 +++++++++++++ .../2020-02-21@17:43:16/10.39.0.102.config | 183 ++++++++++++ .../2020-02-21@17:43:16/10.39.0.103.config | 275 ++++++++++++++++++ .../2020-02-21@17:43:16/10.39.0.104.config | 168 +++++++++++ .../2020-02-21@17:43:16/10.39.0.105.config | 160 ++++++++++ .../2020-02-21@17:43:16/10.39.0.106.config | 153 ++++++++++ .../2020-02-21@17:43:16/10.39.0.107.config | 123 ++++++++ .../2020-02-21@17:43:16/10.39.0.108.config | 113 +++++++ .../2020-02-21@17:50:52/10.39.0.100.config | 204 +++++++++++++ .../2020-02-21@17:50:52/10.39.0.101.config | 204 +++++++++++++ .../2020-02-21@17:50:52/10.39.0.102.config | 183 ++++++++++++ .../2020-02-21@17:50:52/10.39.0.103.config | 275 ++++++++++++++++++ .../2020-02-21@17:50:52/10.39.0.104.config | 256 ++++++++++++++++ .../2020-02-21@17:50:52/10.39.0.105.config | 160 ++++++++++ .../2020-02-21@17:50:52/10.39.0.106.config | 153 ++++++++++ .../2020-02-21@17:50:52/10.39.0.107.config | 149 ++++++++++ .../2020-02-21@17:50:52/10.39.0.108.config | 152 ++++++++++ .../2020-02-21@18:19:20/10.39.0.100.config | 204 +++++++++++++ .../2020-02-21@18:19:20/10.39.0.101.config | 204 +++++++++++++ .../2020-02-21@18:19:20/10.39.0.102.config | 210 +++++++++++++ .../2020-02-21@18:19:20/10.39.0.103.config | 275 ++++++++++++++++++ .../2020-02-21@18:19:20/10.39.0.104.config | 256 ++++++++++++++++ .../2020-02-21@18:19:20/10.39.0.105.config | 169 +++++++++++ .../2020-02-21@18:19:20/10.39.0.106.config | 153 ++++++++++ .../2020-02-21@18:19:20/10.39.0.107.config | 158 ++++++++++ .../2020-02-21@18:19:20/10.39.0.108.config | 152 ++++++++++ .../2020-02-21@18:28:26/10.39.0.100.config | 211 ++++++++++++++ .../2020-02-21@18:28:26/10.39.0.101.config | 204 +++++++++++++ .../2020-02-21@18:28:26/10.39.0.102.config | 210 +++++++++++++ .../2020-02-21@18:28:26/10.39.0.103.config | 275 ++++++++++++++++++ .../2020-02-21@18:28:26/10.39.0.104.config | 258 ++++++++++++++++ .../2020-02-21@18:28:26/10.39.0.105.config | 169 +++++++++++ .../2020-02-21@18:28:26/10.39.0.106.config | 153 ++++++++++ .../2020-02-21@18:28:26/10.39.0.107.config | 158 ++++++++++ .../2020-02-21@18:28:26/10.39.0.108.config | 152 ++++++++++ files/epe/config/epe-vmx0-config.txt | 33 ++- files/epe/config/epe-vmx1-config.txt | 36 ++- files/epe/config/epe-vmx2-config.txt | 24 +- files/epe/config/epe-vmx3-config.txt | 35 ++- files/epe/config/epe-vmx4-config.txt | 34 ++- files/epe/config/epe-vmx5-config.txt | 24 +- files/epe/config/epe-vmx6-config.txt | 22 +- files/epe/config/epe-vmx7-config.txt | 23 +- files/epe/config/epe-vmx8-config.txt | 22 +- files/epe/epe_nodes.yml | 70 +++-- files/epe/tasks/epe-vmx0_task.yml | 32 ++ files/epe/tasks/epe-vmx1_task.yml | 32 ++ files/epe/tasks/epe-vmx2_task.yml | 32 ++ files/epe/tasks/epe-vmx3_task.yml | 32 ++ files/epe/tasks/epe-vmx4_task.yml | 32 ++ files/epe/tasks/epe-vmx5_task.yml | 32 ++ files/epe/tasks/epe-vmx6_task.yml | 32 ++ files/epe/tasks/epe-vmx7_task.yml | 32 ++ files/epe/tasks/epe-vmx8_task.yml | 32 ++ lab-deploy.yml | 6 +- templates/core-to-nodes.j2 | 10 +- templates/junos.j2 | 12 +- vars_files/core-model-epe.yml | 63 ++-- 68 files changed, 8774 insertions(+), 165 deletions(-) create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.100.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.101.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.102.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.103.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.104.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.105.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.106.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.107.config create mode 100644 files/epe/backup/2020-02-21@16:55:31/10.39.0.108.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.100.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.101.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.102.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.103.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.104.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.105.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.106.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.107.config create mode 100644 files/epe/backup/2020-02-21@17:43:16/10.39.0.108.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.100.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.101.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.102.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.103.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.104.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.105.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.106.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.107.config create mode 100644 files/epe/backup/2020-02-21@17:50:52/10.39.0.108.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.100.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.101.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.102.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.103.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.104.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.105.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.106.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.107.config create mode 100644 files/epe/backup/2020-02-21@18:19:20/10.39.0.108.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.100.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.101.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.102.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.103.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.104.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.105.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.106.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.107.config create mode 100644 files/epe/backup/2020-02-21@18:28:26/10.39.0.108.config create mode 100644 files/epe/tasks/epe-vmx0_task.yml create mode 100644 files/epe/tasks/epe-vmx1_task.yml create mode 100644 files/epe/tasks/epe-vmx2_task.yml create mode 100644 files/epe/tasks/epe-vmx3_task.yml create mode 100644 files/epe/tasks/epe-vmx4_task.yml create mode 100644 files/epe/tasks/epe-vmx5_task.yml create mode 100644 files/epe/tasks/epe-vmx6_task.yml create mode 100644 files/epe/tasks/epe-vmx7_task.yml create mode 100644 files/epe/tasks/epe-vmx8_task.yml diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.100.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.100.config new file mode 100644 index 0000000..2970bfb --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.100.config @@ -0,0 +1,158 @@ + +## Last commit: 2020-02-21 15:47:15 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx0; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.1.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.100/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 10.10.10.10/32; + } + family iso { + address 49.0001.0010.0100.1000.00; + } + family inet6 { + address fec0:0:0:1111::0/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 10.10.10.10; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 10.10.10.10; + family inet { + unicast; + } + export __Ansible_Core_export; + neighbor 2.2.2.2; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.101.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.101.config new file mode 100644 index 0000000..32a8d12 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.101.config @@ -0,0 +1,212 @@ + +## Last commit: 2020-02-21 15:47:15 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx1; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx0; + unit 0 { + family inet { + address 10.0.1.2/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx2; + unit 0 { + family inet { + address 10.0.12.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/2 { + description epe-vmx3; + unit 0 { + family inet { + address 10.0.13.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/3 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.14.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.101/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 1.1.1.1/32; + } + family iso { + address 49.0001.0010.0100.1001.00; + } + family inet6 { + address fec0:0:0:1111::1/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 1.1.1.1; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/1.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/2.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/3.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + mpls { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + bgp { + group Core { + type internal; + local-address 1.1.1.1; + family inet { + unicast; + } + export __Ansible_Core_export; + neighbor 2.2.2.2; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + interface ge-0/0/3; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.102.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.102.config new file mode 100644 index 0000000..379b29b --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.102.config @@ -0,0 +1,149 @@ + +## Last commit: 2020-02-21 15:47:16 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx2; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.12.2/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.102/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 2.2.2.2/32; + } + family iso { + address 49.0001.0010.0100.1002.00; + } + family inet6 { + address fec0:0:0:1111::2/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 2.2.2.2; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 2.2.2.2; + family inet { + unicast; + } + cluster 2.2.2.2; + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.103.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.103.config new file mode 100644 index 0000000..b39a7b1 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.103.config @@ -0,0 +1,178 @@ + +## Last commit: 2020-02-21 15:48:36 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx3; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.13.3/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx5; + unit 0 { + family inet { + address 10.1.35.3/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx5; + unit 0 { + family inet { + address 10.2.35.3/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.103/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 3.3.3.3/32; + } + family iso { + address 49.0001.0010.0100.1003.00; + } + family inet6 { + address fec0:0:0:1111::3/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 3.3.3.3; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 3.3.3.3; + family inet { + unicast; + } + export __Ansible_Core_export; + neighbor 2.2.2.2; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.104.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.104.config new file mode 100644 index 0000000..6511439 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.104.config @@ -0,0 +1,168 @@ + +## Last commit: 2020-02-21 15:48:36 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx4; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.14.4/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.47.4/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.104/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 4.4.4.4/32; + } + family iso { + address 49.0001.0010.0100.1004.00; + } + family inet6 { + address fec0:0:0:1111::4/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 4.4.4.4; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 4.4.4.4; + family inet { + unicast; + } + export __Ansible_Core_export; + neighbor 2.2.2.2; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.105.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.105.config new file mode 100644 index 0000000..52217a4 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.105.config @@ -0,0 +1,133 @@ + +## Last commit: 2020-02-21 15:28:12 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx5; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx3; + unit 0 { + family inet { + address 10.1.35.5/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx3; + unit 0 { + family inet { + address 10.2.35.5/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx6; + unit 0 { + family inet { + address 10.0.56.5/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.105/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 5.5.5.5/32; + } + family inet6 { + address fec0:0:0:1111::5/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 5.5.5.5; + autonomous-system 64497; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.106.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.106.config new file mode 100644 index 0000000..4172f7c --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.106.config @@ -0,0 +1,113 @@ + +## Last commit: 2020-02-21 15:28:13 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx6; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx5; + unit 0 { + family inet { + address 10.0.56.6/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.106/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 6.6.6.6/32; + } + family inet6 { + address fec0:0:0:1111::6/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 6.6.6.6; + autonomous-system 64498; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.107.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.107.config new file mode 100644 index 0000000..5083f67 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.107.config @@ -0,0 +1,123 @@ + +## Last commit: 2020-02-21 15:28:12 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx7; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.47.7/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx8; + unit 0 { + family inet { + address 10.0.78.7/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.107/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 7.7.7.7/32; + } + family inet6 { + address fec0:0:0:1111::7/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 7.7.7.7; + autonomous-system 64497; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@16:55:31/10.39.0.108.config b/files/epe/backup/2020-02-21@16:55:31/10.39.0.108.config new file mode 100644 index 0000000..7e28652 --- /dev/null +++ b/files/epe/backup/2020-02-21@16:55:31/10.39.0.108.config @@ -0,0 +1,113 @@ + +## Last commit: 2020-02-21 15:28:13 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx8; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.78.8/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.108/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 8.8.8.8/32; + } + family inet6 { + address fec0:0:0:1111::8/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 8.8.8.8; + autonomous-system 64499; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.100.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.100.config new file mode 100644 index 0000000..a09ca64 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.100.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:22 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx0; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.1.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.100/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 10.10.10.10/32; + } + family iso { + address 49.0001.0010.0100.1000.00; + } + family inet6 { + address fec0:0:0:1111::0/128; + } + } + } +} +policy-options { + prefix-list server_v4_prefix { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-svr-pre { + term 1 { + from { + prefix-list server_v4_prefix; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_prefix; + } + then accept; + } + } + policy-statement nhs { + then { + next-hop self; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 10.10.10.10; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + label-switched-path to_asbr1_r3 { + to 3.3.3.3; + } + label-switched-path to_asbr2_r4 { + to 4.4.4.4; + } + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 10.10.10.10; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast; + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + } + export [ __Ansible_Core_export exp-svr-pre nhs ]; + neighbor 2.2.2.2; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.101.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.101.config new file mode 100644 index 0000000..7248301 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.101.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:02 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx1; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx0; + unit 0 { + family inet { + address 10.0.1.2/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx2; + unit 0 { + family inet { + address 10.0.12.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/2 { + description epe-vmx3; + unit 0 { + family inet { + address 10.0.13.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/3 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.14.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.101/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 1.1.1.1/32; + } + family iso { + address 49.0001.0010.0100.1001.00; + } + family inet6 { + address fec0:0:0:1111::1/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 1.1.1.1; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/1.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/2.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/3.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + mpls { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + interface ge-0/0/3; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.102.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.102.config new file mode 100644 index 0000000..e0fafb6 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.102.config @@ -0,0 +1,183 @@ + +## Last commit: 2020-02-21 16:18:11 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx2; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.12.2/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.102/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 2.2.2.2/32; + } + family iso { + address 49.0001.0010.0100.1002.00; + } + family inet6 { + address fec0:0:0:1111::2/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 2.2.2.2; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + group Core { + type internal; + local-address 2.2.2.2; + family inet { + unicast; + } + cluster 2.2.2.2; + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; + } + advertise-inactive; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.103.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.103.config new file mode 100644 index 0000000..a83c00b --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.103.config @@ -0,0 +1,275 @@ + +## Last commit: 2020-02-21 16:34:16 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx3; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.13.3/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx5; + unit 0 { + family inet { + address 10.1.35.3/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx5; + unit 0 { + family inet { + address 10.2.35.3/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.103/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 3.3.3.3/32; + } + family iso { + address 49.0001.0010.0100.1003.00; + } + family inet6 { + address fec0:0:0:1111::3/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + prefix-list server_v6_pre { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 3.3.3.3; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 3.3.3.3; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export [ __Ansible_Core_export exp-arp-to-rrs ]; + neighbor 2.2.2.2; + } + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.1.35.5 { + egress-te; + } + neighbor 10.2.35.5 { + egress-te; + } + } + log-updown; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.104.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.104.config new file mode 100644 index 0000000..6511439 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.104.config @@ -0,0 +1,168 @@ + +## Last commit: 2020-02-21 15:48:36 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx4; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.14.4/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.47.4/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.104/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 4.4.4.4/32; + } + family iso { + address 49.0001.0010.0100.1004.00; + } + family inet6 { + address fec0:0:0:1111::4/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 4.4.4.4; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 4.4.4.4; + family inet { + unicast; + } + export __Ansible_Core_export; + neighbor 2.2.2.2; + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.105.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.105.config new file mode 100644 index 0000000..9c40b9a --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.105.config @@ -0,0 +1,160 @@ + +## Last commit: 2020-02-21 16:28:57 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx5; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx3; + unit 0 { + family inet { + address 10.1.35.5/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx3; + unit 0 { + family inet { + address 10.2.35.5/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx6; + unit 0 { + family inet { + address 10.0.56.5/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.105/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 5.5.5.5/32; + } + family inet6 { + address fec0:0:0:1111::5/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 5.5.5.5; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.1.35.3; + neighbor 10.2.35.3; + } + group Peer1-H1 { + type external; + family inet { + unicast; + } + neighbor 10.0.56.6 { + peer-as 64498; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.106.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.106.config new file mode 100644 index 0000000..0eb81ae --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.106.config @@ -0,0 +1,153 @@ + +## Last commit: 2020-02-21 16:36:27 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx6; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx5; + unit 0 { + family inet { + address 10.0.56.6/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.106/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 6.6.6.6/32; + address 17.17.17.1/32; + address 17.17.17.2/32; + address 17.17.17.3/32; + address 17.17.17.4/32; + address 17.17.17.5/32; + address 17.17.17.6/32; + address 17.17.17.7/32; + address 17.17.17.8/32; + address 17.17.17.9/32; + } + family inet6 { + address fec0:0:0:1111::6/128; + address ::17.17.17.1/128; + address ::17.17.17.2/128; + address ::17.17.17.3/128; + address ::17.17.17.4/128; + address ::17.17.17.5/128; + address ::17.17.17.6/128; + address ::17.17.17.7/128; + address ::17.17.17.8/128; + address ::17.17.17.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + from protocol [ direct local ]; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 6.6.6.6; + autonomous-system 64498; +} +protocols { + bgp { + group H1-Peer1 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.56.5 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.107.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.107.config new file mode 100644 index 0000000..5083f67 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.107.config @@ -0,0 +1,123 @@ + +## Last commit: 2020-02-21 15:28:12 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx7; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.47.7/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx8; + unit 0 { + family inet { + address 10.0.78.7/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.107/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 7.7.7.7/32; + } + family inet6 { + address fec0:0:0:1111::7/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 7.7.7.7; + autonomous-system 64497; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@17:43:16/10.39.0.108.config b/files/epe/backup/2020-02-21@17:43:16/10.39.0.108.config new file mode 100644 index 0000000..7e28652 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:43:16/10.39.0.108.config @@ -0,0 +1,113 @@ + +## Last commit: 2020-02-21 15:28:13 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx8; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.78.8/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.108/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 8.8.8.8/32; + } + family inet6 { + address fec0:0:0:1111::8/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 8.8.8.8; + autonomous-system 64499; +} +protocols { + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.100.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.100.config new file mode 100644 index 0000000..a09ca64 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.100.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:22 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx0; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.1.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.100/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 10.10.10.10/32; + } + family iso { + address 49.0001.0010.0100.1000.00; + } + family inet6 { + address fec0:0:0:1111::0/128; + } + } + } +} +policy-options { + prefix-list server_v4_prefix { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-svr-pre { + term 1 { + from { + prefix-list server_v4_prefix; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_prefix; + } + then accept; + } + } + policy-statement nhs { + then { + next-hop self; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 10.10.10.10; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + label-switched-path to_asbr1_r3 { + to 3.3.3.3; + } + label-switched-path to_asbr2_r4 { + to 4.4.4.4; + } + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 10.10.10.10; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast; + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + } + export [ __Ansible_Core_export exp-svr-pre nhs ]; + neighbor 2.2.2.2; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.101.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.101.config new file mode 100644 index 0000000..7248301 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.101.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:02 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx1; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx0; + unit 0 { + family inet { + address 10.0.1.2/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx2; + unit 0 { + family inet { + address 10.0.12.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/2 { + description epe-vmx3; + unit 0 { + family inet { + address 10.0.13.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/3 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.14.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.101/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 1.1.1.1/32; + } + family iso { + address 49.0001.0010.0100.1001.00; + } + family inet6 { + address fec0:0:0:1111::1/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 1.1.1.1; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/1.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/2.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/3.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + mpls { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + interface ge-0/0/3; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.102.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.102.config new file mode 100644 index 0000000..e0fafb6 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.102.config @@ -0,0 +1,183 @@ + +## Last commit: 2020-02-21 16:18:11 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx2; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.12.2/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.102/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 2.2.2.2/32; + } + family iso { + address 49.0001.0010.0100.1002.00; + } + family inet6 { + address fec0:0:0:1111::2/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 2.2.2.2; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + group Core { + type internal; + local-address 2.2.2.2; + family inet { + unicast; + } + cluster 2.2.2.2; + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; + } + advertise-inactive; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.103.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.103.config new file mode 100644 index 0000000..a83c00b --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.103.config @@ -0,0 +1,275 @@ + +## Last commit: 2020-02-21 16:34:16 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx3; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.13.3/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx5; + unit 0 { + family inet { + address 10.1.35.3/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx5; + unit 0 { + family inet { + address 10.2.35.3/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.103/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 3.3.3.3/32; + } + family iso { + address 49.0001.0010.0100.1003.00; + } + family inet6 { + address fec0:0:0:1111::3/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + prefix-list server_v6_pre { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 3.3.3.3; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 3.3.3.3; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export [ __Ansible_Core_export exp-arp-to-rrs ]; + neighbor 2.2.2.2; + } + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.1.35.5 { + egress-te; + } + neighbor 10.2.35.5 { + egress-te; + } + } + log-updown; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.104.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.104.config new file mode 100644 index 0000000..f6d2b82 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.104.config @@ -0,0 +1,256 @@ + +## Last commit: 2020-02-21 16:41:12 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx4; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.14.4/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.47.4/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.104/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 4.4.4.4/32; + } + family iso { + address 49.0001.0010.0100.1004.00; + } + family inet6 { + address fec0:0:0:1111::4/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_pre { + ::1.1.1.1/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 4.4.4.4; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 4.4.4.4; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export [ __Ansible_Core_export exp-arp-to-rrs ]; + neighbor 2.2.2.2; + } + group Peer5-6-lan { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.0.47.7; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.105.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.105.config new file mode 100644 index 0000000..9c40b9a --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.105.config @@ -0,0 +1,160 @@ + +## Last commit: 2020-02-21 16:28:57 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx5; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx3; + unit 0 { + family inet { + address 10.1.35.5/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx3; + unit 0 { + family inet { + address 10.2.35.5/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx6; + unit 0 { + family inet { + address 10.0.56.5/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.105/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 5.5.5.5/32; + } + family inet6 { + address fec0:0:0:1111::5/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 5.5.5.5; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.1.35.3; + neighbor 10.2.35.3; + } + group Peer1-H1 { + type external; + family inet { + unicast; + } + neighbor 10.0.56.6 { + peer-as 64498; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.106.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.106.config new file mode 100644 index 0000000..0eb81ae --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.106.config @@ -0,0 +1,153 @@ + +## Last commit: 2020-02-21 16:36:27 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx6; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx5; + unit 0 { + family inet { + address 10.0.56.6/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.106/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 6.6.6.6/32; + address 17.17.17.1/32; + address 17.17.17.2/32; + address 17.17.17.3/32; + address 17.17.17.4/32; + address 17.17.17.5/32; + address 17.17.17.6/32; + address 17.17.17.7/32; + address 17.17.17.8/32; + address 17.17.17.9/32; + } + family inet6 { + address fec0:0:0:1111::6/128; + address ::17.17.17.1/128; + address ::17.17.17.2/128; + address ::17.17.17.3/128; + address ::17.17.17.4/128; + address ::17.17.17.5/128; + address ::17.17.17.6/128; + address ::17.17.17.7/128; + address ::17.17.17.8/128; + address ::17.17.17.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + from protocol [ direct local ]; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 6.6.6.6; + autonomous-system 64498; +} +protocols { + bgp { + group H1-Peer1 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.56.5 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.107.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.107.config new file mode 100644 index 0000000..f9c5945 --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.107.config @@ -0,0 +1,149 @@ + +## Last commit: 2020-02-21 16:42:43 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx7; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.47.7/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx8; + unit 0 { + family inet { + address 10.0.78.7/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.107/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 7.7.7.7/32; + } + family inet6 { + address fec0:0:0:1111::7/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 7.7.7.7; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.0.47.4; + } + group Peer2-H2 { + type external; + family inet { + unicast; + } + neighbor 10.0.78.8 { + peer-as 64499; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@17:50:52/10.39.0.108.config b/files/epe/backup/2020-02-21@17:50:52/10.39.0.108.config new file mode 100644 index 0000000..d669e0e --- /dev/null +++ b/files/epe/backup/2020-02-21@17:50:52/10.39.0.108.config @@ -0,0 +1,152 @@ + +## Last commit: 2020-02-21 16:43:32 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx8; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.78.8/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.108/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 8.8.8.8/32; + address 18.18.18.1/32; + address 18.18.18.2/32; + address 18.18.18.3/32; + address 18.18.18.4/32; + address 18.18.18.5/32; + address 18.18.18.6/32; + address 18.18.18.7/32; + address 18.18.18.8/32; + address 18.18.18.9/32; + } + family inet6 { + address fec0:0:0:1111::8/128; + address ::18.18.18.1/128; + address ::18.18.18.2/128; + address ::18.18.18.3/128; + address ::18.18.18.4/128; + address ::18.18.18.5/128; + address ::18.18.18.6/128; + address ::18.18.18.7/128; + address ::18.18.18.8/128; + address ::18.18.18.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + then reject; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 8.8.8.8; + autonomous-system 64499; +} +protocols { + bgp { + group H2-Peer2 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.78.7 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.100.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.100.config new file mode 100644 index 0000000..a09ca64 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.100.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:22 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx0; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.1.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.100/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 10.10.10.10/32; + } + family iso { + address 49.0001.0010.0100.1000.00; + } + family inet6 { + address fec0:0:0:1111::0/128; + } + } + } +} +policy-options { + prefix-list server_v4_prefix { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-svr-pre { + term 1 { + from { + prefix-list server_v4_prefix; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_prefix; + } + then accept; + } + } + policy-statement nhs { + then { + next-hop self; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 10.10.10.10; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + label-switched-path to_asbr1_r3 { + to 3.3.3.3; + } + label-switched-path to_asbr2_r4 { + to 4.4.4.4; + } + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 10.10.10.10; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast; + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + } + export [ __Ansible_Core_export exp-svr-pre nhs ]; + neighbor 2.2.2.2; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.101.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.101.config new file mode 100644 index 0000000..7248301 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.101.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:02 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx1; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx0; + unit 0 { + family inet { + address 10.0.1.2/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx2; + unit 0 { + family inet { + address 10.0.12.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/2 { + description epe-vmx3; + unit 0 { + family inet { + address 10.0.13.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/3 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.14.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.101/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 1.1.1.1/32; + } + family iso { + address 49.0001.0010.0100.1001.00; + } + family inet6 { + address fec0:0:0:1111::1/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 1.1.1.1; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/1.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/2.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/3.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + mpls { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + interface ge-0/0/3; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.102.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.102.config new file mode 100644 index 0000000..34595b7 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.102.config @@ -0,0 +1,210 @@ + +## Last commit: 2020-02-21 16:55:05 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx2; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.12.2/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.102/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 2.2.2.2/32; + } + family iso { + address 49.0001.0010.0100.1002.00; + } + family inet6 { + address fec0:0:0:1111::2/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 2.2.2.2; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + group Core { + type internal; + local-address 2.2.2.2; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + cluster 2.2.2.2; + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; + } + advertise-inactive; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.103.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.103.config new file mode 100644 index 0000000..f7c5157 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.103.config @@ -0,0 +1,275 @@ + +## Last commit: 2020-02-21 17:06:07 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx3; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.13.3/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx5; + unit 0 { + family inet { + address 10.1.35.3/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx5; + unit 0 { + family inet { + address 10.2.35.3/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.103/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 3.3.3.3/32; + } + family iso { + address 49.0001.0010.0100.1003.00; + } + family inet6 { + address fec0:0:0:1111::3/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + prefix-list server_v6_pre { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 3.3.3.3; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 3.3.3.3; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export exp-arp-to-rrs; + neighbor 2.2.2.2; + } + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.1.35.5 { + egress-te; + } + neighbor 10.2.35.5 { + egress-te; + } + } + log-updown; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.104.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.104.config new file mode 100644 index 0000000..f6d2b82 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.104.config @@ -0,0 +1,256 @@ + +## Last commit: 2020-02-21 16:41:12 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx4; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.14.4/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.47.4/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.104/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 4.4.4.4/32; + } + family iso { + address 49.0001.0010.0100.1004.00; + } + family inet6 { + address fec0:0:0:1111::4/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_pre { + ::1.1.1.1/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 4.4.4.4; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 4.4.4.4; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export [ __Ansible_Core_export exp-arp-to-rrs ]; + neighbor 2.2.2.2; + } + group Peer5-6-lan { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.0.47.7; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.105.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.105.config new file mode 100644 index 0000000..8d851ab --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.105.config @@ -0,0 +1,169 @@ + +## Last commit: 2020-02-21 17:12:03 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx5; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx3; + unit 0 { + family inet { + address 10.1.35.5/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx3; + unit 0 { + family inet { + address 10.2.35.5/24; + } + family inet6; + } + } + inactive: ge-0/0/2 { + description epe-vmx6; + unit 0 { + family inet { + address 10.0.56.5/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.105/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 5.5.5.5/32; + address 57.57.57.1/32; + address 57.57.57.2/32; + address 57.57.57.3/32; + address 57.57.57.4/32; + address 57.57.57.5/32; + address 57.57.57.6/32; + address 57.57.57.7/32; + address 57.57.57.8/32; + address 57.57.57.9/32; + } + family inet6 { + address fec0:0:0:1111::5/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 5.5.5.5; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.1.35.3; + neighbor 10.2.35.3; + } + group Peer1-H1 { + type external; + family inet { + unicast; + } + neighbor 10.0.56.6 { + peer-as 64498; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.106.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.106.config new file mode 100644 index 0000000..0eb81ae --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.106.config @@ -0,0 +1,153 @@ + +## Last commit: 2020-02-21 16:36:27 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx6; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx5; + unit 0 { + family inet { + address 10.0.56.6/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.106/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 6.6.6.6/32; + address 17.17.17.1/32; + address 17.17.17.2/32; + address 17.17.17.3/32; + address 17.17.17.4/32; + address 17.17.17.5/32; + address 17.17.17.6/32; + address 17.17.17.7/32; + address 17.17.17.8/32; + address 17.17.17.9/32; + } + family inet6 { + address fec0:0:0:1111::6/128; + address ::17.17.17.1/128; + address ::17.17.17.2/128; + address ::17.17.17.3/128; + address ::17.17.17.4/128; + address ::17.17.17.5/128; + address ::17.17.17.6/128; + address ::17.17.17.7/128; + address ::17.17.17.8/128; + address ::17.17.17.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + from protocol [ direct local ]; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 6.6.6.6; + autonomous-system 64498; +} +protocols { + bgp { + group H1-Peer1 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.56.5 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.107.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.107.config new file mode 100644 index 0000000..b166e04 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.107.config @@ -0,0 +1,158 @@ + +## Last commit: 2020-02-21 17:12:30 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx7; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.47.7/24; + } + family inet6; + } + } + inactive: ge-0/0/1 { + description epe-vmx8; + unit 0 { + family inet { + address 10.0.78.7/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.107/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 7.7.7.7/32; + address 57.57.57.1/32; + address 57.57.57.2/32; + address 57.57.57.3/32; + address 57.57.57.4/32; + address 57.57.57.5/32; + address 57.57.57.6/32; + address 57.57.57.7/32; + address 57.57.57.8/32; + address 57.57.57.9/32; + } + family inet6 { + address fec0:0:0:1111::7/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 7.7.7.7; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.0.47.4; + } + group Peer2-H2 { + type external; + family inet { + unicast; + } + neighbor 10.0.78.8 { + peer-as 64499; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@18:19:20/10.39.0.108.config b/files/epe/backup/2020-02-21@18:19:20/10.39.0.108.config new file mode 100644 index 0000000..d669e0e --- /dev/null +++ b/files/epe/backup/2020-02-21@18:19:20/10.39.0.108.config @@ -0,0 +1,152 @@ + +## Last commit: 2020-02-21 16:43:32 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx8; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.78.8/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.108/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 8.8.8.8/32; + address 18.18.18.1/32; + address 18.18.18.2/32; + address 18.18.18.3/32; + address 18.18.18.4/32; + address 18.18.18.5/32; + address 18.18.18.6/32; + address 18.18.18.7/32; + address 18.18.18.8/32; + address 18.18.18.9/32; + } + family inet6 { + address fec0:0:0:1111::8/128; + address ::18.18.18.1/128; + address ::18.18.18.2/128; + address ::18.18.18.3/128; + address ::18.18.18.4/128; + address ::18.18.18.5/128; + address ::18.18.18.6/128; + address ::18.18.18.7/128; + address ::18.18.18.8/128; + address ::18.18.18.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + then reject; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 8.8.8.8; + autonomous-system 64499; +} +protocols { + bgp { + group H2-Peer2 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.78.7 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.100.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.100.config new file mode 100644 index 0000000..5e9e641 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.100.config @@ -0,0 +1,211 @@ + +## Last commit: 2020-02-21 17:15:08 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx0; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.1.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.100/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 10.10.10.10/32; + } + family iso { + address 49.0001.0010.0100.1000.00; + } + family inet6 { + address fec0:0:0:1111::0/128; + } + } + } +} +policy-options { + prefix-list server_v4_prefix { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-svr-pre { + term 1 { + from { + prefix-list server_v4_prefix; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_prefix; + } + then accept; + } + } + policy-statement nhs { + then { + next-hop self; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 10.10.10.10; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + label-switched-path to_asbr1_r3 { + to 3.3.3.3; + } + label-switched-path to_asbr2_r4 { + to 4.4.4.4; + } + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 10.10.10.10; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + } + export [ __Ansible_Core_export exp-svr-pre nhs ]; + neighbor 2.2.2.2; + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.101.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.101.config new file mode 100644 index 0000000..7248301 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.101.config @@ -0,0 +1,204 @@ + +## Last commit: 2020-02-21 16:16:02 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx1; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx0; + unit 0 { + family inet { + address 10.0.1.2/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx2; + unit 0 { + family inet { + address 10.0.12.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/2 { + description epe-vmx3; + unit 0 { + family inet { + address 10.0.13.1/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/3 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.14.1/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.101/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 1.1.1.1/32; + } + family iso { + address 49.0001.0010.0100.1001.00; + } + family inet6 { + address fec0:0:0:1111::1/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 1.1.1.1; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/1.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/2.0 { + point-to-point; + level 2 metric 1000; + } + interface ge-0/0/3.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + mpls { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + interface ge-0/0/3; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.102.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.102.config new file mode 100644 index 0000000..34595b7 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.102.config @@ -0,0 +1,210 @@ + +## Last commit: 2020-02-21 16:55:05 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx2; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.12.2/24; + } + family iso; + family inet6; + family mpls; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.102/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 2.2.2.2/32; + } + family iso { + address 49.0001.0010.0100.1002.00; + } + family inet6 { + address fec0:0:0:1111::2/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 2.2.2.2; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + group Core { + type internal; + local-address 2.2.2.2; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + cluster 2.2.2.2; + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; + } + advertise-inactive; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.103.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.103.config new file mode 100644 index 0000000..f7c5157 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.103.config @@ -0,0 +1,275 @@ + +## Last commit: 2020-02-21 17:06:07 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx3; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.13.3/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx5; + unit 0 { + family inet { + address 10.1.35.3/24; + } + family inet6; + } + } + ge-0/0/2 { + description epe-vmx5; + unit 0 { + family inet { + address 10.2.35.3/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.103/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 3.3.3.3/32; + } + family iso { + address 49.0001.0010.0100.1003.00; + } + family inet6 { + address fec0:0:0:1111::3/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_prefix { + fec0:0:0:1111::0/128; + } + prefix-list server_v6_pre { + fec0:0:0:1111::0/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 3.3.3.3; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 3.3.3.3; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export exp-arp-to-rrs; + neighbor 2.2.2.2; + } + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.1.35.5 { + egress-te; + } + neighbor 10.2.35.5 { + egress-te; + } + } + log-updown; + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.104.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.104.config new file mode 100644 index 0000000..f81db77 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.104.config @@ -0,0 +1,258 @@ + +## Last commit: 2020-02-21 17:21:34 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx4; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx1; + unit 0 { + family inet { + address 10.0.14.4/24; + } + family iso; + family inet6; + family mpls; + } + } + ge-0/0/1 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.47.4/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.104/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 4.4.4.4/32; + } + family iso { + address 49.0001.0010.0100.1004.00; + } + family inet6 { + address fec0:0:0:1111::4/128; + } + } + } +} +policy-options { + prefix-list server_v4_pre { + 10.10.10.10/32; + } + prefix-list server_v6_pre { + ::1.1.1.1/128; + } + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } + policy-statement exp-arp-to-rrs { + term 1 { + from { + protocol arp; + rib inet.3; + } + then { + next-hop self; + accept; + } + } + term 2 { + from { + protocol arp; + rib inet6.3; + } + then { + next-hop self; + accept; + } + } + term 3 { + from protocol bgp; + then accept; + } + term 4 { + then reject; + } + } + policy-statement exp_server_v4_v6_peers { + term 1 { + from { + prefix-list server_v4_pre; + } + then accept; + } + term 2 { + from { + prefix-list server_v6_pre; + } + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 4.4.4.4; + autonomous-system 64496; +} +protocols { + isis { + level 1 disable; + level 2 wide-metrics-only; + interface ge-0/0/0.0 { + point-to-point; + level 2 metric 1000; + } + interface lo0.0 { + passive; + } + } + rsvp { + interface ge-0/0/0.0; + } + mpls { + interface ge-0/0/0.0; + } + bgp { + group Core { + type internal; + local-address 4.4.4.4; + family inet { + labeled-unicast { + rib { + inet.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + family inet6 { + labeled-unicast { + rib { + inet6.3; + } + } + unicast { + add-path { + receive; + send { + path-count 6; + } + } + } + } + export exp-arp-to-rrs; + neighbor 2.2.2.2; + } + group Peer5-6-lan { + type external; + family inet { + unicast; + } + export exp_server_v4_v6_peers; + peer-as 64497; + neighbor 10.0.47.7 { + egress-te; + } + } + } + ldp { + interface all; + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.105.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.105.config new file mode 100644 index 0000000..8d851ab --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.105.config @@ -0,0 +1,169 @@ + +## Last commit: 2020-02-21 17:12:03 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx5; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx3; + unit 0 { + family inet { + address 10.1.35.5/24; + } + family inet6; + } + } + ge-0/0/1 { + description epe-vmx3; + unit 0 { + family inet { + address 10.2.35.5/24; + } + family inet6; + } + } + inactive: ge-0/0/2 { + description epe-vmx6; + unit 0 { + family inet { + address 10.0.56.5/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.105/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 5.5.5.5/32; + address 57.57.57.1/32; + address 57.57.57.2/32; + address 57.57.57.3/32; + address 57.57.57.4/32; + address 57.57.57.5/32; + address 57.57.57.6/32; + address 57.57.57.7/32; + address 57.57.57.8/32; + address 57.57.57.9/32; + } + family inet6 { + address fec0:0:0:1111::5/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 5.5.5.5; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.1.35.3; + neighbor 10.2.35.3; + } + group Peer1-H1 { + type external; + family inet { + unicast; + } + neighbor 10.0.56.6 { + peer-as 64498; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + interface ge-0/0/2; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.106.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.106.config new file mode 100644 index 0000000..0eb81ae --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.106.config @@ -0,0 +1,153 @@ + +## Last commit: 2020-02-21 16:36:27 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx6; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx5; + unit 0 { + family inet { + address 10.0.56.6/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.106/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 6.6.6.6/32; + address 17.17.17.1/32; + address 17.17.17.2/32; + address 17.17.17.3/32; + address 17.17.17.4/32; + address 17.17.17.5/32; + address 17.17.17.6/32; + address 17.17.17.7/32; + address 17.17.17.8/32; + address 17.17.17.9/32; + } + family inet6 { + address fec0:0:0:1111::6/128; + address ::17.17.17.1/128; + address ::17.17.17.2/128; + address ::17.17.17.3/128; + address ::17.17.17.4/128; + address ::17.17.17.5/128; + address ::17.17.17.6/128; + address ::17.17.17.7/128; + address ::17.17.17.8/128; + address ::17.17.17.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + from protocol [ direct local ]; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 6.6.6.6; + autonomous-system 64498; +} +protocols { + bgp { + group H1-Peer1 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.56.5 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.107.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.107.config new file mode 100644 index 0000000..b166e04 --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.107.config @@ -0,0 +1,158 @@ + +## Last commit: 2020-02-21 17:12:30 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx7; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx4; + unit 0 { + family inet { + address 10.0.47.7/24; + } + family inet6; + } + } + inactive: ge-0/0/1 { + description epe-vmx8; + unit 0 { + family inet { + address 10.0.78.7/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.107/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 7.7.7.7/32; + address 57.57.57.1/32; + address 57.57.57.2/32; + address 57.57.57.3/32; + address 57.57.57.4/32; + address 57.57.57.5/32; + address 57.57.57.6/32; + address 57.57.57.7/32; + address 57.57.57.8/32; + address 57.57.57.9/32; + } + family inet6 { + address fec0:0:0:1111::7/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 7.7.7.7; + autonomous-system 64497; +} +protocols { + bgp { + group Peer1-lan-1 { + type external; + family inet { + unicast; + } + export exp-lo0; + peer-as 64496; + neighbor 10.0.47.4; + } + group Peer2-H2 { + type external; + family inet { + unicast; + } + neighbor 10.0.78.8 { + peer-as 64499; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + interface ge-0/0/1; + } +} diff --git a/files/epe/backup/2020-02-21@18:28:26/10.39.0.108.config b/files/epe/backup/2020-02-21@18:28:26/10.39.0.108.config new file mode 100644 index 0000000..d669e0e --- /dev/null +++ b/files/epe/backup/2020-02-21@18:28:26/10.39.0.108.config @@ -0,0 +1,152 @@ + +## Last commit: 2020-02-21 16:43:32 UTC by salt +version 20190606.224121_builder.r1033375; +system { + host-name epe-vmx8; + root-authentication { + encrypted-password "$5$mcE0Hfiq$JfBeC3QSAvnd1tjqlOhlYXDgVrwvd6S4G3oVj5wiMO7"; + } + login { + user salt { + uid 2001; + class super-user; + authentication { + encrypted-password "$5$yp7ziGTI$F5F.6AUlR8hDK2JIsw5WRrTLex/yTCWH3iSR1Auk293"; + ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjxY2hLZ+ju5wdK4GYNhKGgnS8EWLBoEVpo+xQkhDzkTiBx3HGAnmARcVV0B9MqrHZl1omdnirJeygWzVbVY4yPUqGgEcUsTTq9fvK4AjTwtaoB5txAosaOnZq0zewmuZ6EMi6E3RND6A3FGXkf1Il2jg3I8k/dGqdyFI80B7sWy90fk+EqsGMPxVc+l5vAtY2jm84ellxxzBsulxfCSKPH86hZ1GqZ8A1ZBWITu15NjQw0aGssSYGMMTa1T8eFyY4hHWqqdwgOlODg9mZwwP1JdJH79SRoTOjqGGixuAFDGAgH3fNX6u8wTmYya/z7WXH6B2XwiiaZYdcyEbMLPZt"; + } + } + } + services { + ssh { + root-login allow; + } + extension-service { + request-response { + grpc { + clear-text; + max-connections 10; + skip-authentication; + } + } + } + netconf { + ssh; + traceoptions { + file nc.txt size 1m world-readable; + flag all; + } + } + } + no-redirects; + syslog { + user * { + any emergency; + } + file messages { + any any; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + } +} +chassis { + network-services enhanced-ip; +} +interfaces { + ge-0/0/0 { + description epe-vmx7; + unit 0 { + family inet { + address 10.0.78.8/24; + } + family inet6; + } + } + fxp0 { + description "OOB to MGMT Network"; + unit 0 { + family inet { + address 10.39.0.108/21; + } + } + } + lo0 { + unit 0 { + family inet { + address 8.8.8.8/32; + address 18.18.18.1/32; + address 18.18.18.2/32; + address 18.18.18.3/32; + address 18.18.18.4/32; + address 18.18.18.5/32; + address 18.18.18.6/32; + address 18.18.18.7/32; + address 18.18.18.8/32; + address 18.18.18.9/32; + } + family inet6 { + address fec0:0:0:1111::8/128; + address ::18.18.18.1/128; + address ::18.18.18.2/128; + address ::18.18.18.3/128; + address ::18.18.18.4/128; + address ::18.18.18.5/128; + address ::18.18.18.6/128; + address ::18.18.18.7/128; + address ::18.18.18.8/128; + address ::18.18.18.9/128; + } + } + } +} +policy-options { + policy-statement LOAD-BALANCE { + then { + load-balance per-packet; + } + } + policy-statement exp-lo0 { + term 1 { + from interface lo0.0; + then accept; + } + term 2 { + then reject; + } + } +} +routing-options { + static { + route 0.0.0.0/0 { + next-hop 10.39.0.1; + no-readvertise; + preference 255; + } + } + forwarding-table { + export LOAD-BALANCE; + } + router-id 8.8.8.8; + autonomous-system 64499; +} +protocols { + bgp { + group H2-Peer2 { + type external; + family inet { + unicast; + } + export exp-lo0; + neighbor 10.0.78.7 { + peer-as 64497; + } + } + } + lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; + interface ge-0/0/0; + } +} diff --git a/files/epe/config/epe-vmx0-config.txt b/files/epe/config/epe-vmx0-config.txt index 3176806..ac5f510 100644 --- a/files/epe/config/epe-vmx0-config.txt +++ b/files/epe/config/epe-vmx0-config.txt @@ -105,14 +105,18 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 400; - ipv6-index 600; + bgp { + group Core { + type internal; + export __Ansible_Core_export; + local-address 10.10.10.10; + family inet { + unicast; } + neighbor 2.2.2.2; } + } + isis { level 1 disable; level 2 wide-metrics-only; interface ge-0/0/0.0 { @@ -123,10 +127,15 @@ protocols { passive; } } + rsvp { + interface ge-0/0/0.0; + } mpls { interface ge-0/0/0.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; } } @@ -136,4 +145,16 @@ policy-options { load-balance per-packet; } } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } } diff --git a/files/epe/config/epe-vmx1-config.txt b/files/epe/config/epe-vmx1-config.txt index d411058..fdd0db8 100644 --- a/files/epe/config/epe-vmx1-config.txt +++ b/files/epe/config/epe-vmx1-config.txt @@ -141,14 +141,18 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 401; - ipv6-index 601; + bgp { + group Core { + type internal; + export __Ansible_Core_export; + local-address 1.1.1.1; + family inet { + unicast; } + neighbor 2.2.2.2; } + } + isis { level 1 disable; level 2 wide-metrics-only; interface ge-0/0/0.0 { @@ -171,6 +175,12 @@ protocols { passive; } } + rsvp { + interface ge-0/0/0.0; + interface ge-0/0/1.0; + interface ge-0/0/2.0; + interface ge-0/0/3.0; + } mpls { interface ge-0/0/0.0; interface ge-0/0/1.0; @@ -178,6 +188,8 @@ protocols { interface ge-0/0/3.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; interface ge-0/0/1; interface ge-0/0/2; @@ -190,4 +202,16 @@ policy-options { load-balance per-packet; } } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } } diff --git a/files/epe/config/epe-vmx2-config.txt b/files/epe/config/epe-vmx2-config.txt index 16e7ece..f5ccce9 100644 --- a/files/epe/config/epe-vmx2-config.txt +++ b/files/epe/config/epe-vmx2-config.txt @@ -105,14 +105,21 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 402; - ipv6-index 602; + bgp { + group Core { + type internal; + local-address 2.2.2.2; + cluster 2.2.2.2; + family inet { + unicast; } + neighbor 10.10.10.10; + neighbor 1.1.1.1; + neighbor 3.3.3.3; + neighbor 4.4.4.4; } + } + isis { level 1 disable; level 2 wide-metrics-only; interface ge-0/0/0.0 { @@ -123,10 +130,15 @@ protocols { passive; } } + rsvp { + interface ge-0/0/0.0; + } mpls { interface ge-0/0/0.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; } } diff --git a/files/epe/config/epe-vmx3-config.txt b/files/epe/config/epe-vmx3-config.txt index ba4a1a5..04f85f2 100644 --- a/files/epe/config/epe-vmx3-config.txt +++ b/files/epe/config/epe-vmx3-config.txt @@ -125,14 +125,18 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 403; - ipv6-index 603; + bgp { + group Core { + type internal; + export __Ansible_Core_export; + local-address 3.3.3.3; + family inet { + unicast; } + neighbor 2.2.2.2; } + } + isis { level 1 disable; level 2 wide-metrics-only; interface ge-0/0/0.0 { @@ -143,12 +147,15 @@ protocols { passive; } } + rsvp { + interface ge-0/0/0.0; + } mpls { interface ge-0/0/0.0; - interface ge-0/0/1.0; - interface ge-0/0/2.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; interface ge-0/0/1; interface ge-0/0/2; @@ -160,4 +167,16 @@ policy-options { load-balance per-packet; } } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } } diff --git a/files/epe/config/epe-vmx4-config.txt b/files/epe/config/epe-vmx4-config.txt index 683ca01..14bbcbc 100644 --- a/files/epe/config/epe-vmx4-config.txt +++ b/files/epe/config/epe-vmx4-config.txt @@ -115,14 +115,18 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 404; - ipv6-index 604; + bgp { + group Core { + type internal; + export __Ansible_Core_export; + local-address 4.4.4.4; + family inet { + unicast; } + neighbor 2.2.2.2; } + } + isis { level 1 disable; level 2 wide-metrics-only; interface ge-0/0/0.0 { @@ -133,11 +137,15 @@ protocols { passive; } } + rsvp { + interface ge-0/0/0.0; + } mpls { interface ge-0/0/0.0; - interface ge-0/0/1.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; interface ge-0/0/1; } @@ -148,4 +156,16 @@ policy-options { load-balance per-packet; } } + policy-statement __Ansible_Core_export { + term ebgp { + from { + protocol bgp; + external; + } + then { + next-hop self; + accept; + } + } + } } diff --git a/files/epe/config/epe-vmx5-config.txt b/files/epe/config/epe-vmx5-config.txt index bf7f876..08c1d03 100644 --- a/files/epe/config/epe-vmx5-config.txt +++ b/files/epe/config/epe-vmx5-config.txt @@ -101,16 +101,13 @@ interfaces { address fec0:0:0:1111::5/128; } - family iso { - address 49.0001.0010.0100.1005.00; - } } } } routing-options { router-id 5.5.5.5; - autonomous-system 64496; + autonomous-system 64497; forwarding-table { export LOAD-BALANCE; } @@ -123,26 +120,11 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 405; - ipv6-index 605; - } - } - level 1 disable; - level 2 wide-metrics-only; - interface lo0.0 { - passive; - } - } mpls { - interface ge-0/0/0.0; - interface ge-0/0/1.0; - interface ge-0/0/2.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; interface ge-0/0/1; interface ge-0/0/2; diff --git a/files/epe/config/epe-vmx6-config.txt b/files/epe/config/epe-vmx6-config.txt index a901fb5..1d4d9c4 100644 --- a/files/epe/config/epe-vmx6-config.txt +++ b/files/epe/config/epe-vmx6-config.txt @@ -81,16 +81,13 @@ interfaces { address fec0:0:0:1111::6/128; } - family iso { - address 49.0001.0010.0100.1006.00; - } } } } routing-options { router-id 6.6.6.6; - autonomous-system 64496; + autonomous-system 64498; forwarding-table { export LOAD-BALANCE; } @@ -103,24 +100,11 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 406; - ipv6-index 606; - } - } - level 1 disable; - level 2 wide-metrics-only; - interface lo0.0 { - passive; - } - } mpls { - interface ge-0/0/0.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; } } diff --git a/files/epe/config/epe-vmx7-config.txt b/files/epe/config/epe-vmx7-config.txt index 1ed0187..d23f397 100644 --- a/files/epe/config/epe-vmx7-config.txt +++ b/files/epe/config/epe-vmx7-config.txt @@ -91,16 +91,13 @@ interfaces { address fec0:0:0:1111::7/128; } - family iso { - address 49.0001.0010.0100.1007.00; - } } } } routing-options { router-id 7.7.7.7; - autonomous-system 64496; + autonomous-system 64497; forwarding-table { export LOAD-BALANCE; } @@ -113,25 +110,11 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 407; - ipv6-index 607; - } - } - level 1 disable; - level 2 wide-metrics-only; - interface lo0.0 { - passive; - } - } mpls { - interface ge-0/0/0.0; - interface ge-0/0/1.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; interface ge-0/0/1; } diff --git a/files/epe/config/epe-vmx8-config.txt b/files/epe/config/epe-vmx8-config.txt index 08844aa..ed233af 100644 --- a/files/epe/config/epe-vmx8-config.txt +++ b/files/epe/config/epe-vmx8-config.txt @@ -81,16 +81,13 @@ interfaces { address fec0:0:0:1111::8/128; } - family iso { - address 49.0001.0010.0100.1008.00; - } } } } routing-options { router-id 8.8.8.8; - autonomous-system 64496; + autonomous-system 64499; forwarding-table { export LOAD-BALANCE; } @@ -103,24 +100,11 @@ routing-options { } } protocols { - isis { - source-packet-routing { - srgb start-label 16000 index-range 8000; - node-segment { - ipv4-index 408; - ipv6-index 608; - } - } - level 1 disable; - level 2 wide-metrics-only; - interface lo0.0 { - passive; - } - } mpls { - interface ge-0/0/0.0; } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; interface ge-0/0/0; } } diff --git a/files/epe/epe_nodes.yml b/files/epe/epe_nodes.yml index d75f765..70f7f0f 100644 --- a/files/epe/epe_nodes.yml +++ b/files/epe/epe_nodes.yml @@ -15,21 +15,27 @@ nodes: mgmt: 10.39.0.100 rid: 10.10.10.10 rid6: fec0:0:0:1111::0 - sid: 400 - sid6: 600 iso: 49.0001.0010.0100.1000.00 + rsvp: True + asn: 64496 switches: - epe-vmx0-0--epe-vmx1-0 links: ge-0/0/0.0: { ip: 10.0.1.1, remote: epe-vmx1, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} + bgp: + ibgp: + peers: + - 2.2.2.2 + af: + - inet epe-vmx1: mgmt: 10.39.0.101 rid: 1.1.1.1 rid6: fec0:0:0:1111::1 - sid: 401 - sid6: 601 iso: 49.0001.0010.0100.1001.00 + rsvp: True + asn: 64496 switches: - epe-vmx0-0--epe-vmx1-0 - epe-vmx1-1--epe-vmx2-0 @@ -40,26 +46,42 @@ nodes: ge-0/0/1.0: { ip: 10.0.12.1, remote: epe-vmx2, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} ge-0/0/2.0: { ip: 10.0.13.1, remote: epe-vmx3, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} ge-0/0/3.0: { ip: 10.0.14.1, remote: epe-vmx4, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} + bgp: + ibgp: + peers: + - 2.2.2.2 + af: + - inet epe-vmx2: mgmt: 10.39.0.102 rid: 2.2.2.2 rid6: fec0:0:0:1111::2 - sid: 402 - sid6: 602 iso: 49.0001.0010.0100.1002.00 + rsvp: True + asn: 64496 switches: - epe-vmx1-1--epe-vmx2-0 links: ge-0/0/0.0: { ip: 10.0.12.2, remote: epe-vmx1, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} + bgp: + ibgp: + rr: true + peers: + - 10.10.10.10 + - 1.1.1.1 + - 3.3.3.3 + - 4.4.4.4 + af: + - inet epe-vmx3: mgmt: 10.39.0.103 rid: 3.3.3.3 rid6: fec0:0:0:1111::3 - sid: 403 - sid6: 603 iso: 49.0001.0010.0100.1003.00 + rsvp: True + asn: 64496 switches: - epe-vmx1-2--epe-vmx3-0 - epe-vmx3-1--epe-vmx5-0 @@ -68,28 +90,38 @@ nodes: ge-0/0/0.0: { ip: 10.0.13.3, remote: epe-vmx1, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} ge-0/0/1.0: { ip: 10.1.35.3, remote: epe-vmx5, mask: 24, cost: 1000, vlan: 0} ge-0/0/2.0: { ip: 10.2.35.3, remote: epe-vmx5, mask: 24, cost: 1000, vlan: 0} + bgp: + ibgp: + peers: + - 2.2.2.2 + af: + - inet epe-vmx4: mgmt: 10.39.0.104 rid: 4.4.4.4 rid6: fec0:0:0:1111::4 - sid: 404 - sid6: 604 iso: 49.0001.0010.0100.1004.00 + rsvp: True + asn: 64496 switches: - epe-vmx1-3--epe-vmx4-0 - epe-vmx4-1--epe-vmx7-0 links: ge-0/0/0.0: { ip: 10.0.14.4, remote: epe-vmx1, mask: 24, cost: 1000, vlan: 0, mpls: True, iso: True} ge-0/0/1.0: { ip: 10.0.47.4, remote: epe-vmx7, mask: 24, cost: 1000, vlan: 0} + bgp: + ibgp: + peers: + - 2.2.2.2 + af: + - inet epe-vmx5: mgmt: 10.39.0.105 rid: 5.5.5.5 rid6: fec0:0:0:1111::5 - sid: 405 - sid6: 605 - iso: 49.0001.0010.0100.1005.00 + asn: 64497 switches: - epe-vmx3-1--epe-vmx5-0 - epe-vmx3-2--epe-vmx5-1 @@ -103,9 +135,7 @@ nodes: mgmt: 10.39.0.106 rid: 6.6.6.6 rid6: fec0:0:0:1111::6 - sid: 406 - sid6: 606 - iso: 49.0001.0010.0100.1006.00 + asn: 64498 switches: - epe-vmx5-2--epe-vmx6-0 links: @@ -115,9 +145,7 @@ nodes: mgmt: 10.39.0.107 rid: 7.7.7.7 rid6: fec0:0:0:1111::7 - sid: 407 - sid6: 607 - iso: 49.0001.0010.0100.1007.00 + asn: 64497 switches: - epe-vmx4-1--epe-vmx7-0 - epe-vmx7-1--epe-vmx8-0 @@ -129,9 +157,7 @@ nodes: mgmt: 10.39.0.108 rid: 8.8.8.8 rid6: fec0:0:0:1111::8 - sid: 408 - sid6: 608 - iso: 49.0001.0010.0100.1008.00 + asn: 64499 switches: - epe-vmx7-1--epe-vmx8-0 links: diff --git a/files/epe/tasks/epe-vmx0_task.yml b/files/epe/tasks/epe-vmx0_task.yml new file mode 100644 index 0000000..365a3f0 --- /dev/null +++ b/files/epe/tasks/epe-vmx0_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx0-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx0-br-int" + - name: "epe-vmx0-0--epe-vmx1-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx1_task.yml b/files/epe/tasks/epe-vmx1_task.yml new file mode 100644 index 0000000..a9fad42 --- /dev/null +++ b/files/epe/tasks/epe-vmx1_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx1-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx1-br-int" + - name: "epe-vmx0-0--epe-vmx1-0" + device_type: vmxnet3 + - name: "epe-vmx1-1--epe-vmx2-0" + device_type: vmxnet3 + - name: "epe-vmx1-2--epe-vmx3-0" + device_type: vmxnet3 + - name: "epe-vmx1-3--epe-vmx4-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx2_task.yml b/files/epe/tasks/epe-vmx2_task.yml new file mode 100644 index 0000000..b1821f0 --- /dev/null +++ b/files/epe/tasks/epe-vmx2_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx2-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx2-br-int" + - name: "epe-vmx1-1--epe-vmx2-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx3_task.yml b/files/epe/tasks/epe-vmx3_task.yml new file mode 100644 index 0000000..92ef68b --- /dev/null +++ b/files/epe/tasks/epe-vmx3_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx3-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx3-br-int" + - name: "epe-vmx1-2--epe-vmx3-0" + device_type: vmxnet3 + - name: "epe-vmx3-1--epe-vmx5-0" + device_type: vmxnet3 + - name: "epe-vmx3-2--epe-vmx5-1" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx4_task.yml b/files/epe/tasks/epe-vmx4_task.yml new file mode 100644 index 0000000..ea5d7d2 --- /dev/null +++ b/files/epe/tasks/epe-vmx4_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx4-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx4-br-int" + - name: "epe-vmx1-3--epe-vmx4-0" + device_type: vmxnet3 + - name: "epe-vmx4-1--epe-vmx7-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx5_task.yml b/files/epe/tasks/epe-vmx5_task.yml new file mode 100644 index 0000000..d9bc557 --- /dev/null +++ b/files/epe/tasks/epe-vmx5_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx5-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx5-br-int" + - name: "epe-vmx3-1--epe-vmx5-0" + device_type: vmxnet3 + - name: "epe-vmx3-2--epe-vmx5-1" + device_type: vmxnet3 + - name: "epe-vmx5-2--epe-vmx6-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx6_task.yml b/files/epe/tasks/epe-vmx6_task.yml new file mode 100644 index 0000000..861999e --- /dev/null +++ b/files/epe/tasks/epe-vmx6_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx6-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx6-br-int" + - name: "epe-vmx5-2--epe-vmx6-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx7_task.yml b/files/epe/tasks/epe-vmx7_task.yml new file mode 100644 index 0000000..95b9e93 --- /dev/null +++ b/files/epe/tasks/epe-vmx7_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx7-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx7-br-int" + - name: "epe-vmx4-1--epe-vmx7-0" + device_type: vmxnet3 + - name: "epe-vmx7-1--epe-vmx8-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/files/epe/tasks/epe-vmx8_task.yml b/files/epe/tasks/epe-vmx8_task.yml new file mode 100644 index 0000000..066c649 --- /dev/null +++ b/files/epe/tasks/epe-vmx8_task.yml @@ -0,0 +1,32 @@ + - name: Update vmx networking + vmware_guest: + hostname: "{{ esxi_hostname }}" + username: "{{ esxi_username }}" + password: "{{ esxi_password }}" + esxi_hostname: "{{ esxi_hostname }}" + validate_certs: False + name: "epe-vmx8-vfpc" + folder: / + datastore: datastore2 + networks: + - name: NS-DEV-NAT + - name: "epe-vmx8-br-int" + - name: "epe-vmx7-1--epe-vmx8-0" + device_type: vmxnet3 + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + - name: "DUMMY" + start_connected: False + hardware: + num_cpus: 3 + memory_mb: 8192 + state: present + delegate_to: localhost diff --git a/lab-deploy.yml b/lab-deploy.yml index 7cee987..0c840cf 100644 --- a/lab-deploy.yml +++ b/lab-deploy.yml @@ -107,14 +107,18 @@ delegate_to: localhost - name: Sort node switches - hosts: localhost + hosts: "{{ variable_hosts }}" tags: sort_switches gather_facts: no + vars_files: + - "{{ topo_dir }}/{{ variable_hosts }}_nodes.yml" tasks: - name: Sort node switches command: "{{ ansible_python_interpreter }} {{ playbook_dir }}/files/switch_sort.py {{ playbook_dir }}/{{ topo_dir }}/{{ variable_hosts }}_nodes.yml" args: chdir: "{{ playbook_dir }}" + delegate_to: localhost + run_once: True - name: Generate update network task hosts: "{{ variable_hosts }}" diff --git a/templates/core-to-nodes.j2 b/templates/core-to-nodes.j2 index f1675e5..64b87a0 100644 --- a/templates/core-to-nodes.j2 +++ b/templates/core-to-nodes.j2 @@ -29,12 +29,20 @@ nodes: {% if node.iso is defined %} iso: {{ node.iso }} {% endif %} +{% if node.rsvp is defined %} + rsvp: {{ node.rsvp }} +{% endif %} {% if node.ldp is defined %} ldp: {{ node.ldp }} {% endif %} {% if node.l3vpn is defined %} l3vpn: {{ node.l3vpn }} {% endif %} +{% if node.asn is defined %} + asn: {{ node.asn }} +{% else %} + asn: {{ common.bgp_asn }} +{% endif %} {% if node.lags is defined %} lags: {% for lag in lags %} @@ -74,7 +82,7 @@ nodes: {{ core_link(link.right_port,link.right_ip,link.mask|default(''),link.cost|default(''),link.vlan|default('0'),link.left,link.mpls|default(''),link.iso|default('')) }} {% endif %} {% endfor %} -{% if bgp is defined %} +{% if (bgp is defined) and (node.rid in bgp.rr or node.rid in bgp.clients) %} bgp: ibgp: {% if node.rid in bgp.rr %} diff --git a/templates/junos.j2 b/templates/junos.j2 index b620221..863419d 100644 --- a/templates/junos.j2 +++ b/templates/junos.j2 @@ -154,13 +154,13 @@ interfaces { #} routing-options { router-id {{ node.rid }}; - autonomous-system {{ common.bgp_asn }}; + autonomous-system {{ node.asn }}; forwarding-table { export LOAD-BALANCE; } static { route 0.0.0.0/0 { - next-hop 10.39.0.1; + next-hop {{ common.gateway }}; no-readvertise; preference 255; } @@ -242,6 +242,7 @@ protocols { #} {% if node.iso is defined %} isis { +{% if node.sid is defined %} source-packet-routing { srgb start-label 16000 index-range 8000; node-segment { @@ -251,6 +252,7 @@ protocols { {% endif %} } } +{% endif %} level 1 disable; level 2 wide-metrics-only; {% for intf, intf_attr in node.links.items()|sort %} @@ -289,7 +291,9 @@ protocols { {% if node.rsvp is defined %} rsvp { {% for intf, intf_attr in node.links.items()|sort %} +{% if intf_attr.mpls is defined %} interface {{intf}}; +{% endif %} {% endfor %} } {% endif %} @@ -300,10 +304,14 @@ protocols { #} mpls { {% for intf, intf_attr in node.links.items()|sort %} +{% if intf_attr.mpls is defined %} interface {{intf}}; +{% endif %} {% endfor %} } lldp { + port-id-subtype interface-name; + neighbour-port-info-display port-id; {% for intf, intf_attr in node.links.items()|sort %} interface {{intf.split('.')[0]}}; {% endfor %} diff --git a/vars_files/core-model-epe.yml b/vars_files/core-model-epe.yml index fcba511..7018e7a 100644 --- a/vars_files/core-model-epe.yml +++ b/vars_files/core-model-epe.yml @@ -9,73 +9,82 @@ nodes: mgmt: 10.39.0.100 rid: 10.10.10.10 rid6: fec0:0:0:1111::0 - sid: 400 - sid6: 600 + # sid: 400 + # sid6: 600 iso: 49.0001.0010.0100.1000.00 + rsvp: True - name: epe-vmx1 mgmt: 10.39.0.101 rid: 1.1.1.1 rid6: fec0:0:0:1111::1 - sid: 401 - sid6: 601 + # sid: 401 + # sid6: 601 iso: 49.0001.0010.0100.1001.00 + rsvp: True - name: epe-vmx2 mgmt: 10.39.0.102 rid: 2.2.2.2 rid6: fec0:0:0:1111::2 - sid: 402 - sid6: 602 + # sid: 402 + # sid6: 602 iso: 49.0001.0010.0100.1002.00 + rsvp: True - name: epe-vmx3 mgmt: 10.39.0.103 rid: 3.3.3.3 rid6: fec0:0:0:1111::3 - sid: 403 - sid6: 603 + # sid: 403 + # sid6: 603 iso: 49.0001.0010.0100.1003.00 + rsvp: True - name: epe-vmx4 mgmt: 10.39.0.104 rid: 4.4.4.4 rid6: fec0:0:0:1111::4 - sid: 404 - sid6: 604 + # sid: 404 + # sid6: 604 iso: 49.0001.0010.0100.1004.00 + rsvp: True - name: epe-vmx5 mgmt: 10.39.0.105 rid: 5.5.5.5 rid6: fec0:0:0:1111::5 - sid: 405 - sid6: 605 - iso: 49.0001.0010.0100.1005.00 + # sid: 405 + # sid6: 605 + # iso: 49.0001.0010.0100.1005.00 + asn: 64497 - name: epe-vmx6 mgmt: 10.39.0.106 rid: 6.6.6.6 rid6: fec0:0:0:1111::6 - sid: 406 - sid6: 606 - iso: 49.0001.0010.0100.1006.00 + # sid: 406 + # sid6: 606 + # iso: 49.0001.0010.0100.1006.00 + asn: 64498 - name: epe-vmx7 mgmt: 10.39.0.107 rid: 7.7.7.7 rid6: fec0:0:0:1111::7 - sid: 407 - sid6: 607 - iso: 49.0001.0010.0100.1007.00 + # sid: 407 + # sid6: 607 + # iso: 49.0001.0010.0100.1007.00 + asn: 64497 - name: epe-vmx8 mgmt: 10.39.0.108 rid: 8.8.8.8 rid6: fec0:0:0:1111::8 - sid: 408 - sid6: 608 - iso: 49.0001.0010.0100.1008.00 + # sid: 408 + # sid6: 608 + # iso: 49.0001.0010.0100.1008.00 + asn: 64499 links: @@ -108,11 +117,11 @@ links: mask: 24, cost: 1000, mpls: False, iso: False } -# bgp: -# rr: [192.168.0.4, 192.168.0.7] -# clients: [192.168.0.1, 192.168.0.2, 192.168.0.8, 192.168.0.9] -# af: -# - inet +bgp: + rr: [2.2.2.2] + clients: [10.10.10.10, 3.3.3.3, 4.4.4.4] + af: + - inet # - inet6 # - inet-vpn