diff options
Diffstat (limited to 'examples/tg15/netconf/distro3.cfg')
-rw-r--r-- | examples/tg15/netconf/distro3.cfg | 2045 |
1 files changed, 2045 insertions, 0 deletions
diff --git a/examples/tg15/netconf/distro3.cfg b/examples/tg15/netconf/distro3.cfg new file mode 100644 index 0000000..a4a1c69 --- /dev/null +++ b/examples/tg15/netconf/distro3.cfg @@ -0,0 +1,2045 @@ +## Last commit: 2015-04-02 19:45:46 CEST by technet +version 14.1X53-D15.2; +system { + host-name rs1.distro3; + auto-snapshot; + time-zone Europe/Oslo; + authentication-order [ tacplus password ]; + root-authentication { + } + name-server { + 2a02:ed02:1ee7::66; + 2a02:ed02:1337::2; + } + login { + user technet { + uid 2000; + class super-user; + authentication { + } + } + } + services { + ssh; + } + syslog { + user * { + any emergency; + } + host 185.12.59.18 { + any info; + authorization info; + port 515; + } + file messages { + any notice; + authorization info; + } + file interactive-commands { + interactive-commands any; + } + file log-autoconfig { + any any; + match Autoconfig-script; + } + } + commit synchronize; + ntp { + server 2001:700:100:2::6; + } +} +chassis { + aggregated-devices { + ethernet { + device-count 32; + } + } + alarm { + management-ethernet { + link-down ignore; + } + } +} +interfaces { + interface-range aps { + member-range ge-3/0/0 to ge-3/0/47; + description Access-point; + unit 0 { + family ethernet-switching { + vlan { + members aps; + } + } + } + } + interface-range sflow { + member-range ge-0/0/0 to ge-0/0/47; + member-range xe-0/1/0 to xe-0/1/3; + member-range ge-1/0/0 to ge-1/0/47; + member-range xe-1/1/0 to xe-1/1/3; + member-range ge-2/0/0 to ge-2/0/47; + member-range xe-2/1/0 to xe-2/1/3; + member-range ge-3/0/0 to ge-3/0/47; + member-range xe-3/1/0 to xe-3/1/3; + } + ge-0/0/0 { + description "e29-1 access / ae0"; + ether-options { + 802.3ad ae0; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/1 { + description "e29-2 access / ae1"; + ether-options { + 802.3ad ae1; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/2 { + description "e31-1 access / ae2"; + ether-options { + 802.3ad ae2; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/3 { + description "e31-2 access / ae3"; + ether-options { + 802.3ad ae3; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/4 { + description "e33-1 access / ae4"; + ether-options { + 802.3ad ae4; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/5 { + description "e33-2 access / ae5"; + ether-options { + 802.3ad ae5; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/6 { + description "e35-1 access / ae6"; + ether-options { + 802.3ad ae6; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/7 { + description "e35-2 access / ae7"; + inactive: ether-options { + 802.3ad ae7; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/8 { + description "e37-1 access / ae8"; + ether-options { + 802.3ad ae8; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/9 { + description "e37-2 access / ae9"; + ether-options { + 802.3ad ae9; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/10 { + description "e39-1 access / ae10"; + inactive: ether-options { + 802.3ad ae10; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/11 { + description "e39-2 access / ae11"; + ether-options { + 802.3ad ae11; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/12 { + description "e41-1 access / ae12"; + ether-options { + 802.3ad ae12; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/13 { + description "e41-2 access / ae13"; + ether-options { + 802.3ad ae13; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/14 { + description "e43-1 access / ae14"; + ether-options { + 802.3ad ae14; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/15 { + description "e43-2 access / ae15"; + ether-options { + 802.3ad ae15; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + xe-0/1/0 { + description "rs1.core xe-1/0/3"; + ether-options { + 802.3ad ae31; + } + } + ge-1/0/0 { + description e29-1; + ether-options { + 802.3ad ae0; + } + } + ge-1/0/1 { + description e29-2; + ether-options { + 802.3ad ae1; + } + } + ge-1/0/2 { + description e31-1; + ether-options { + 802.3ad ae2; + } + } + ge-1/0/3 { + description e31-2; + ether-options { + 802.3ad ae3; + } + } + ge-1/0/4 { + description e33-1; + ether-options { + 802.3ad ae4; + } + } + ge-1/0/5 { + description e33-2; + ether-options { + 802.3ad ae5; + } + } + ge-1/0/6 { + description e35-1; + ether-options { + 802.3ad ae6; + } + } + ge-1/0/7 { + description e35-2; + ether-options { + 802.3ad ae7; + } + } + ge-1/0/8 { + description e37-1; + ether-options { + 802.3ad ae8; + } + } + ge-1/0/9 { + description e37-2; + ether-options { + 802.3ad ae9; + } + } + ge-1/0/10 { + description e39-1; + ether-options { + 802.3ad ae10; + } + } + ge-1/0/11 { + description e39-2; + ether-options { + 802.3ad ae11; + } + } + ge-1/0/12 { + description e41-1; + ether-options { + 802.3ad ae12; + } + } + ge-1/0/13 { + description e41-2; + ether-options { + 802.3ad ae13; + } + } + ge-1/0/14 { + description e43-1; + ether-options { + 802.3ad ae14; + } + } + ge-1/0/15 { + description e43-2; + ether-options { + 802.3ad ae15; + } + } + xe-1/1/0 { + description "rs1.backstage xe-0/1/1"; + unit 0 { + family inet { + address 151.216.128.23/31; + } + family inet6 { + address 2a02:ed02:fffe::23/127; + } + } + } + ge-2/0/0 { + description e29-1; + ether-options { + 802.3ad ae0; + } + } + ge-2/0/1 { + description e29-2; + ether-options { + 802.3ad ae1; + } + } + ge-2/0/2 { + description e31-1; + ether-options { + 802.3ad ae2; + } + } + ge-2/0/3 { + description e31-2; + ether-options { + 802.3ad ae3; + } + } + ge-2/0/4 { + description e33-1; + ether-options { + 802.3ad ae4; + } + } + ge-2/0/5 { + description e33-2; + ether-options { + 802.3ad ae5; + } + } + ge-2/0/6 { + description e35-1; + ether-options { + 802.3ad ae6; + } + } + ge-2/0/7 { + description e35-2; + ether-options { + 802.3ad ae7; + } + } + ge-2/0/8 { + description e37-1; + ether-options { + 802.3ad ae8; + } + } + ge-2/0/9 { + description e37-2; + ether-options { + 802.3ad ae9; + } + } + ge-2/0/10 { + description e39-1; + ether-options { + 802.3ad ae10; + } + } + ge-2/0/11 { + description e39-2; + ether-options { + 802.3ad ae11; + } + } + ge-2/0/12 { + description e41-1; + ether-options { + 802.3ad ae12; + } + } + ge-2/0/13 { + description e41-2; + ether-options { + 802.3ad ae13; + } + } + ge-2/0/14 { + description e43-1; + ether-options { + 802.3ad ae14; + } + } + ge-2/0/15 { + description e43-2; + ether-options { + 802.3ad ae15; + } + } + xe-2/1/0 { + description "rs1.core xe-0/0/3"; + ether-options { + 802.3ad ae31; + } + } + ae0 { + description "e29-1 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e29-1 ]; + } + } + } + } + ae1 { + description "e29-2 ae1"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e29-2 ]; + } + } + } + } + ae2 { + description "e31-1 ae2"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e31-1 ]; + } + } + } + } + ae3 { + description "e31-2 ae3"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e31-2 ]; + } + } + } + } + ae4 { + description "e33-1 ae4"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e33-1 ]; + } + } + } + } + ae5 { + description "e33-2 ae5"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e33-2 ]; + } + } + } + } + ae6 { + description "e35-1 ae6"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e35-1 ]; + } + } + } + } + ae7 { + description "e35-2 ae7"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e35-2 ]; + } + } + } + } + ae8 { + description "e37-1 ae8"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e37-1 ]; + } + } + } + } + ae9 { + description "e37-2 ae9"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e37-2 ]; + } + } + } + } + ae10 { + description "e39-1 ae10"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e39-1 ]; + } + } + } + } + ae11 { + description "e39-2 ae11"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e39-2 ]; + } + } + } + } + ae12 { + description "e41-1 ae12"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e41-1 ]; + } + } + } + } + ae13 { + description "e41-2 ae13"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e41-2 ]; + } + } + } + } + ae14 { + description "e43-1 ae14"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e43-1 ]; + } + } + } + } + ae15 { + description "e43-2 ae15"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e43-2 ]; + } + } + } + } + ae31 { + description "rs1.core ae6"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family inet { + address 151.216.128.37/31; + } + family inet6 { + address 2a02:ed02:fffe::37/127; + } + } + } + lo0 { + unit 0 { + family inet { + filter { + input v4-mgmt; + } + address 151.216.255.4/32; + } + family inet6 { + filter { + input v6-mgmt; + } + address 2a02:ed02:ffff::4/128; + } + } + } + vlan { + unit 666 { + family inet { + address 151.216.180.193/26; + } + family inet6 { + address 2a02:ed02:180d::1/64; + } + } + unit 667 { + family inet { + address 151.216.178.193/26; + } + family inet6 { + address 2a02:ed02:178d::1/64; + } + } + unit 1291 { + description e29-1; + family inet { + address 151.216.141.129/26; + } + family inet6 { + address 2a02:ed02:141c::1/64; + } + } + unit 1292 { + description e29-2; + family inet { + address 151.216.141.193/26; + } + family inet6 { + address 2a02:ed02:141d::1/64; + } + } + unit 1311 { + description e31-1; + family inet { + address 151.216.142.1/26; + } + family inet6 { + address 2a02:ed02:142a::1/64; + } + } + unit 1312 { + description e31-2; + family inet { + address 151.216.142.65/26; + } + family inet6 { + address 2a02:ed02:142b::1/64; + } + } + unit 1331 { + description e33-1; + family inet { + address 151.216.142.129/26; + } + family inet6 { + address 2a02:ed02:142c::1/64; + } + } + unit 1332 { + description e33-2; + family inet { + address 151.216.142.193/26; + } + family inet6 { + address 2a02:ed02:142d::1/64; + } + } + unit 1351 { + description e35-1; + family inet { + address 151.216.143.1/26; + } + family inet6 { + address 2a02:ed02:143a::1/64; + } + } + unit 1352 { + description e35-2; + family inet { + address 151.216.143.65/26; + } + family inet6 { + address 2a02:ed02:143b::1/64; + } + } + unit 1371 { + description e37-1; + family inet { + address 151.216.143.129/26; + } + family inet6 { + address 2a02:ed02:143c::1/64; + } + } + unit 1372 { + description e37-2; + family inet { + address 151.216.143.193/26; + } + family inet6 { + address 2a02:ed02:143d::1/64; + } + } + unit 1391 { + description e39-1; + family inet { + address 151.216.144.1/26; + } + family inet6 { + address 2a02:ed02:144a::1/64; + } + } + unit 1392 { + description e39-2; + family inet { + address 151.216.144.65/26; + } + family inet6 { + address 2a02:ed02:144b::1/64; + } + } + unit 1411 { + description e41-1; + family inet { + address 151.216.144.129/26; + } + family inet6 { + address 2a02:ed02:144c::1/64; + } + } + unit 1412 { + description e41-2; + family inet { + address 151.216.144.193/26; + } + family inet6 { + address 2a02:ed02:144d::1/64; + } + } + unit 1431 { + description e43-1; + family inet { + address 151.216.145.1/26; + } + family inet6 { + address 2a02:ed02:145a::1/64; + } + } + unit 1432 { + description e43-2; + family inet { + address 151.216.145.65/26; + } + family inet6 { + address 2a02:ed02:145b::1/64; + } + } + } +} +snmp { + community <removed> { + client-list-name mgmt; + } +} +forwarding-options { + inactive: helpers { + bootp { + server 185.12.59.66; + interface { + vlan.666 { + server 185.12.59.11; + source-address-giaddr; + dhcp-option82 { + circuit-id { + prefix hostname; + } + } + } + vlan.667; + vlan.1291; + vlan.1292; + vlan.1311; + vlan.1312; + vlan.1331; + vlan.1332; + vlan.1351; + vlan.1352; + vlan.1371; + vlan.1372; + vlan.1391; + vlan.1392; + vlan.1411; + vlan.1412; + vlan.1431; + vlan.1432; + } + } + } + dhcp-relay { + dhcpv6 { + group edge-switches { + active-server-group v6-edge-switches; + overrides; + interface vlan.667; + interface vlan.1291; + interface vlan.1292; + interface vlan.1311; + interface vlan.1312; + interface vlan.1331; + interface vlan.1332; + interface vlan.1351; + interface vlan.1352; + interface vlan.1371; + interface vlan.1372; + interface vlan.1391; + interface vlan.1392; + interface vlan.1411; + interface vlan.1412; + interface vlan.1431; + interface vlan.1432; + } + server-group { + v6-edge-switches { + 2a02:ed02:1ee7::66; + } + } + } + server-group { + v4-edge-switches { + 185.12.59.2; + 185.12.59.66; + } + v4-autoconfig { + 185.12.59.66; + } + } + group edge-switches { + active-server-group v4-edge-switches; + overrides { + trust-option-82; + } + interface vlan.667; + interface vlan.1291; + interface vlan.1292; + interface vlan.1311; + interface vlan.1312; + interface vlan.1331; + interface vlan.1332; + interface vlan.1351; + interface vlan.1352; + interface vlan.1371; + interface vlan.1372; + interface vlan.1391; + interface vlan.1392; + interface vlan.1411; + interface vlan.1412; + interface vlan.1431; + interface vlan.1432; + } + group autoconfig { + active-server-group v4-autoconfig; + relay-option-82 { + circuit-id { + prefix { + host-name; + } + include-irb-and-l2; + } + } + interface vlan.666; + } + } +} +event-options { + policy ae0down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae0$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/0 unit 0"; + "deactivate interfaces ge-0/0/0 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae0 went down so removed ge-0/0/0 from bundle"; + } + } + } + } + policy ae0up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae0$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/0 unit 0"; + "activate interfaces ge-0/0/0 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae0 came up so added ge-0/0/0 to bundle"; + } + } + } + } + policy ae1down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae1$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/1 unit 0"; + "deactivate interfaces ge-0/0/1 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae1 went down so removed ge-0/0/1 from bundle"; + } + } + } + } + policy ae1up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae1$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/1 unit 0"; + "activate interfaces ge-0/0/1 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae1 came up so added ge-0/0/1 to bundle"; + } + } + } + } + policy ae2down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae2$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/2 unit 0"; + "deactivate interfaces ge-0/0/2 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae2 went down so removed ge-0/0/2 from bundle"; + } + } + } + } + policy ae2up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae2$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/2 unit 0"; + "activate interfaces ge-0/0/2 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae2 came up so added ge-0/0/2 to bundle"; + } + } + } + } + policy ae3down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae3$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/3 unit 0"; + "deactivate interfaces ge-0/0/3 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae3 went down so removed ge-0/0/3 from bundle"; + } + } + } + } + policy ae3up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae3$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/3 unit 0"; + "activate interfaces ge-0/0/3 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae3 came up so added ge-0/0/3 to bundle"; + } + } + } + } + policy ae4down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae4$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/4 unit 0"; + "deactivate interfaces ge-0/0/4 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae4 went down so removed ge-0/0/4 from bundle"; + } + } + } + } + policy ae4up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae4$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/4 unit 0"; + "activate interfaces ge-0/0/4 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae4 came up so added ge-0/0/4 to bundle"; + } + } + } + } + policy ae5down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae5$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/5 unit 0"; + "deactivate interfaces ge-0/0/5 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae5 went down so removed ge-0/0/5 from bundle"; + } + } + } + } + policy ae5up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae5$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/5 unit 0"; + "activate interfaces ge-0/0/5 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae5 came up so added ge-0/0/5 to bundle"; + } + } + } + } + policy ae6down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae6$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/6 unit 0"; + "deactivate interfaces ge-0/0/6 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae6 went down so removed ge-0/0/6 from bundle"; + } + } + } + } + policy ae6up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae6$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/6 unit 0"; + "activate interfaces ge-0/0/6 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae6 came up so added ge-0/0/6 to bundle"; + } + } + } + } + policy ae7down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae7$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/7 unit 0"; + "deactivate interfaces ge-0/0/7 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae7 went down so removed ge-0/0/7 from bundle"; + } + } + } + } + policy ae7up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae7$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/7 unit 0"; + "activate interfaces ge-0/0/7 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae7 came up so added ge-0/0/7 to bundle"; + } + } + } + } + policy ae8down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae8$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/8 unit 0"; + "deactivate interfaces ge-0/0/8 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae8 went down so removed ge-0/0/8 from bundle"; + } + } + } + } + policy ae8up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae8$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/8 unit 0"; + "activate interfaces ge-0/0/8 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae8 came up so added ge-0/0/8 to bundle"; + } + } + } + } + policy ae9down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae9$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/9 unit 0"; + "deactivate interfaces ge-0/0/9 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae9 went down so removed ge-0/0/9 from bundle"; + } + } + } + } + policy ae9up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae9$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/9 unit 0"; + "activate interfaces ge-0/0/9 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae9 came up so added ge-0/0/9 to bundle"; + } + } + } + } + policy ae10down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae10$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/10 unit 0"; + "deactivate interfaces ge-0/0/10 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae10 went down so removed ge-0/0/10 from bundle"; + } + } + } + } + policy ae10up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae10$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/10 unit 0"; + "activate interfaces ge-0/0/10 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae10 came up so added ge-0/0/10 to bundle"; + } + } + } + } + policy ae11down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae11$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/11 unit 0"; + "deactivate interfaces ge-0/0/11 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae11 went down so removed ge-0/0/11 from bundle"; + } + } + } + } + policy ae11up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae11$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/11 unit 0"; + "activate interfaces ge-0/0/11 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae11 came up so added ge-0/0/11 to bundle"; + } + } + } + } + policy ae12down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae12$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/12 unit 0"; + "deactivate interfaces ge-0/0/12 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae12 went down so removed ge-0/0/12 from bundle"; + } + } + } + } + policy ae12up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae12$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/12 unit 0"; + "activate interfaces ge-0/0/12 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae12 came up so added ge-0/0/12 to bundle"; + } + } + } + } + policy ae13down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae13$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/13 unit 0"; + "deactivate interfaces ge-0/0/13 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae13 went down so removed ge-0/0/13 from bundle"; + } + } + } + } + policy ae13up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae13$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/13 unit 0"; + "activate interfaces ge-0/0/13 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae13 came up so added ge-0/0/13 to bundle"; + } + } + } + } + policy ae14down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae14$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/14 unit 0"; + "deactivate interfaces ge-0/0/14 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae14 went down so removed ge-0/0/14 from bundle"; + } + } + } + } + policy ae14up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae14$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/14 unit 0"; + "activate interfaces ge-0/0/14 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae14 came up so added ge-0/0/14 to bundle"; + } + } + } + } + policy ae15down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae15$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/15 unit 0"; + "deactivate interfaces ge-0/0/15 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae15 went down so removed ge-0/0/15 from bundle"; + } + } + } + } + policy ae15up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae15$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/15 unit 0"; + "activate interfaces ge-0/0/15 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae15 came up so added ge-0/0/15 to bundle"; + } + } + } + } +} +protocols { + + + + igmp { + interface vlan.65 { + group-policy v4-multicast; + } + } + + + + mld { + interface vlan.65 { + group-policy v6-multicast; + } + } + router-advertisement { + interface vlan.65 { + max-advertisement-interval 30; + managed-configuration; + } + interface vlan.1291 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1292 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1311 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1312 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1331 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1332 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1351 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1352 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1371 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1372 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1391 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1392 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1411 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1412 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1431 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1432 { + min-advertisement-interval 15; + managed-configuration; + } + } + + + + ospf { + export [ redistribute-direct redistribute-static ]; + reference-bandwidth 1000g; + area 0.0.0.0 { + interface ae31.0; + interface xe-1/1/0.0; + } + } + + + + ospf3 { + export [ redistribute-direct redistribute-static ]; + reference-bandwidth 1000g; + area 0.0.0.0 { + interface ae31.0; + interface xe-1/1/0.0; + } + } + pim { + rp { + static { + address 2a02:ed02:ffff::11; + address 151.216.255.11; + } + } + } + sflow { + agent-id 151.216.255.4; + polling-interval 3600; + sample-rate { + ingress 10000; + egress 10000; + } + source-ip 151.216.255.4; + collector <removed>; + interfaces sflow; + } + lldp { + interface all; + } + lldp-med { + interface all; + } +} +policy-options { + prefix-list v4-mgmt { + /* NOC clients */ + 151.216.254.0/24; + /* Servers */ + 185.12.59.0/26; + } + prefix-list v6-mgmt { + /* NOC clients */ + 2a02:ed02:254::/64; + /* Servers */ + 2a02:ed02:1337::/64; + } + prefix-list mgmt { + /* NOC clients */ + 151.216.254.0/24; + /* Servers */ + 185.12.59.0/26; + /* NOC clients */ + 2a02:ed02:254::/64; + /* Servers */ + 2a02:ed02:1337::/64; + } + s + policy-statement redistribute-direct { + from protocol direct; + then { + external { + type 1; + } + accept; + } + } + policy-statement redistribute-static { + from protocol static; + then { + external { + type 1; + } + accept; + } + } + policy-statement v4-multicast { + term accept-our { + from { + route-filter 233.139.58.0/24 orlonger; + source-address-filter 185.12.59.0/26 orlonger; + source-address-filter 151.216.254.0/24 orlonger; + } + then accept; + } + term reject-all { + then reject; + } + } + policy-statement v6-multicast { + term accept-our { + from { + route-filter ff35:2001:67c:2e44::/120 orlonger; + source-address-filter 2a02:ed02:1337::/64 orlonger; + source-address-filter 2a02:ed02:252::/64 orlonger; + } + } + term reject-all { + then reject; + } + } +} +firewall { + family inet { + filter v4-mgmt { + term accept-ssh { + from { + source-prefix-list { + v4-mgmt; + } + destination-port 22; + } + then accept; + } + term discard-ssh { + from { + destination-port 22; + } + then { + discard; + } + } + term accept-all { + then accept; + } + } + } + family inet6 { + filter v6-mgmt { + term accept-ssh { + from { + source-prefix-list { + v6-mgmt; + } + destination-port 22; + } + then accept; + } + term discard-ssh { + from { + destination-port 22; + } + then discard; + } + term accept-all { + then accept; + } + } + } +} +virtual-chassis { + preprovisioned; + member 0 { + role routing-engine; + serial-number <removed>; + } + member 1 { + role line-card; + serial-number <removed>; + } + member 2 { + role routing-engine; + serial-number <removed>; + } + member 3 { + role line-card; + serial-number <removed>; + } +} +vlans { + aps { + vlan-id 667; + l3-interface vlan.667; + } + e29-1 { + vlan-id 1291; + l3-interface vlan.1291; + } + e29-2 { + vlan-id 1292; + l3-interface vlan.1292; + } + e31-1 { + vlan-id 1311; + l3-interface vlan.1311; + } + e31-2 { + vlan-id 1312; + l3-interface vlan.1312; + } + e33-1 { + vlan-id 1331; + l3-interface vlan.1331; + } + e33-2 { + vlan-id 1332; + l3-interface vlan.1332; + } + e35-1 { + vlan-id 1351; + l3-interface vlan.1351; + } + e35-2 { + vlan-id 1352; + l3-interface vlan.1352; + } + e37-1 { + vlan-id 1371; + l3-interface vlan.1371; + } + e37-2 { + vlan-id 1372; + l3-interface vlan.1372; + } + e39-1 { + vlan-id 1391; + l3-interface vlan.1391; + } + e39-2 { + vlan-id 1392; + l3-interface vlan.1392; + } + e41-1 { + vlan-id 1411; + l3-interface vlan.1411; + } + e41-2 { + vlan-id 1412; + l3-interface vlan.1412; + } + e43-1 { + vlan-id 1431; + l3-interface vlan.1431; + } + e43-2 { + vlan-id 1432; + l3-interface vlan.1432; + } + mgmt { + vlan-id 666; + l3-interface vlan.666; + } +} +poe { + interface aps; +} |