diff options
Diffstat (limited to 'examples/tg15/netconf/distro5.cfg')
-rw-r--r-- | examples/tg15/netconf/distro5.cfg | 2228 |
1 files changed, 2228 insertions, 0 deletions
diff --git a/examples/tg15/netconf/distro5.cfg b/examples/tg15/netconf/distro5.cfg new file mode 100644 index 0000000..e4d83f2 --- /dev/null +++ b/examples/tg15/netconf/distro5.cfg @@ -0,0 +1,2228 @@ +## Last commit: 2015-04-02 19:48:29 CEST by technet +version 14.1X53-D15.2; +system { + host-name rs1.distro5; + 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; + } + } + 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 "e45-3 access / ae0"; + ether-options { + 802.3ad ae0; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/1 { + description "e45-4 access / ae1"; + ether-options { + 802.3ad ae1; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/2 { + description "e47-3 access / ae2"; + inactive: ether-options { + 802.3ad ae2; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/3 { + description "e47-4 access / ae3"; + inactive: ether-options { + 802.3ad ae3; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/4 { + description "e49-3 access / ae4"; + inactive: ether-options { + 802.3ad ae4; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/5 { + description "e49-4 access / ae5"; + inactive: ether-options { + 802.3ad ae5; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/6 { + description "e51-3 access / ae6"; + ether-options { + 802.3ad ae6; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/7 { + description "e51-4 access / ae7"; + ether-options { + 802.3ad ae7; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/8 { + description "e53-3 access / ae8"; + ether-options { + 802.3ad ae8; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/9 { + description "e53-4 access / ae9"; + inactive: ether-options { + 802.3ad ae9; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/10 { + description "e55-3 access / ae10"; + ether-options { + 802.3ad ae10; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/11 { + description "e55-4 access / ae11"; + inactive: ether-options { + 802.3ad ae11; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/12 { + description "e57-3 access / ae12"; + ether-options { + 802.3ad ae12; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/13 { + description "e57-4 access / ae13"; + ether-options { + 802.3ad ae13; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/14 { + description "e59-3 access / ae14"; + ether-options { + 802.3ad ae14; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/15 { + description "e59-4 access / ae15"; + inactive: ether-options { + 802.3ad ae15; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/16 { + description "e61-3 access / ae16"; + ether-options { + 802.3ad ae16; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + ge-0/0/17 { + description "e61-4 access / ae17"; + ether-options { + 802.3ad ae17; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members mgmt; + } + } + } + } + xe-0/1/0 { + description "rs1.core xe-1/0/5"; + ether-options { + 802.3ad ae31; + } + } + ge-1/0/0 { + description e45-3; + ether-options { + 802.3ad ae0; + } + } + ge-1/0/1 { + description e45-4; + ether-options { + 802.3ad ae1; + } + } + ge-1/0/2 { + description e47-3; + ether-options { + 802.3ad ae2; + } + } + ge-1/0/3 { + description e47-4; + ether-options { + 802.3ad ae3; + } + } + ge-1/0/4 { + description e49-3; + ether-options { + 802.3ad ae4; + } + } + ge-1/0/5 { + description e49-4; + ether-options { + 802.3ad ae5; + } + } + ge-1/0/6 { + description e51-3; + ether-options { + 802.3ad ae6; + } + } + ge-1/0/7 { + description e51-4; + ether-options { + 802.3ad ae7; + } + } + ge-1/0/8 { + description e53-3; + ether-options { + 802.3ad ae8; + } + } + ge-1/0/9 { + description e53-4; + ether-options { + 802.3ad ae9; + } + } + ge-1/0/10 { + description e55-3; + ether-options { + 802.3ad ae10; + } + } + ge-1/0/11 { + description e55-4; + ether-options { + 802.3ad ae11; + } + } + ge-1/0/12 { + description e57-3; + ether-options { + 802.3ad ae12; + } + } + ge-1/0/13 { + description e57-4; + ether-options { + 802.3ad ae13; + } + } + ge-1/0/14 { + description e59-3; + ether-options { + 802.3ad ae14; + } + } + ge-1/0/15 { + description e59-4; + ether-options { + 802.3ad ae15; + } + } + ge-1/0/16 { + description e61-3; + ether-options { + 802.3ad ae16; + } + } + ge-1/0/17 { + description e61-4; + ether-options { + 802.3ad ae17; + } + } + ge-2/0/0 { + description e45-3; + ether-options { + 802.3ad ae0; + } + } + ge-2/0/1 { + description e45-4; + ether-options { + 802.3ad ae1; + } + } + ge-2/0/2 { + description e47-3; + ether-options { + 802.3ad ae2; + } + } + ge-2/0/3 { + description e47-4; + ether-options { + 802.3ad ae3; + } + } + ge-2/0/4 { + description e49-3; + ether-options { + 802.3ad ae4; + } + } + ge-2/0/5 { + description e49-4; + ether-options { + 802.3ad ae5; + } + } + ge-2/0/6 { + description e51-3; + ether-options { + 802.3ad ae6; + } + } + ge-2/0/7 { + description e51-4; + ether-options { + 802.3ad ae7; + } + } + ge-2/0/8 { + description e53-3; + ether-options { + 802.3ad ae8; + } + } + ge-2/0/9 { + description e53-4; + ether-options { + 802.3ad ae9; + } + } + ge-2/0/10 { + description e55-3; + ether-options { + 802.3ad ae10; + } + } + ge-2/0/11 { + description e55-4; + ether-options { + 802.3ad ae11; + } + } + ge-2/0/12 { + description e57-3; + ether-options { + 802.3ad ae12; + } + } + ge-2/0/13 { + description e57-4; + ether-options { + 802.3ad ae13; + } + } + ge-2/0/14 { + description e59-3; + ether-options { + 802.3ad ae14; + } + } + ge-2/0/15 { + description e59-4; + ether-options { + 802.3ad ae15; + } + } + ge-2/0/16 { + description e61-3; + ether-options { + 802.3ad ae16; + } + } + ge-2/0/17 { + description e61-4; + ether-options { + 802.3ad ae17; + } + } + xe-2/1/0 { + description "rs1.core xe-0/0/5"; + ether-options { + 802.3ad ae31; + } + } + ae0 { + description "e45-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e45-3 ]; + } + } + } + } + ae1 { + description "e45-4 ae1"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e45-4 ]; + } + } + } + } + ae2 { + description "e47-3 ae2"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e47-3 ]; + } + } + } + } + ae3 { + description "e47-4 ae3"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e47-4 ]; + } + } + } + } + ae4 { + description "e49-3 ae4"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e49-3 ]; + } + } + } + } + ae5 { + description "e49-4 ae5"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e49-4 ]; + } + } + } + } + ae6 { + description "e51-3 ae6"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e51-3 ]; + } + } + } + } + ae7 { + description "e51-4 ae7"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e51-4 ]; + } + } + } + } + ae8 { + description "e53-3 ae8"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e53-3 ]; + } + } + } + } + ae9 { + description "e53-4 ae9"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e53-4 ]; + } + } + } + } + ae10 { + description "e55-3 ae10"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e55-3 ]; + } + } + } + } + ae11 { + description "e55-4 ae11"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e55-4 ]; + } + } + } + } + ae12 { + description "e57-3 ae12"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e57-3 ]; + } + } + } + } + ae13 { + description "e57-4 ae13"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e57-4 ]; + } + } + } + } + ae14 { + description "e59-3 ae14"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e59-3 ]; + } + } + } + } + ae15 { + description "e59-4 ae15"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e59-4 ]; + } + } + } + } + ae16 { + description "e61-3 ae16"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e61-3 ]; + } + } + } + } + ae17 { + description "e61-4 ae17"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ mgmt e61-4 ]; + } + } + } + } + ae31 { + description "rs1.core ae8"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family inet { + address 151.216.128.35/31; + } + family inet6 { + address 2a02:ed02:fffe::35/127; + } + } + } + lo0 { + unit 0 { + family inet { + filter { + input v4-mgmt; + } + address 151.216.255.6/32; + } + family inet6 { + filter { + input v6-mgmt; + } + address 2a02:ed02:ffff::6/128; + } + } + } + vlan { + unit 666 { + family inet { + address 151.216.181.65/26; + } + family inet6 { + address 2a02:ed02:181b::1/64; + } + } + unit 667 { + family inet { + address 151.216.179.65/26; + } + family inet6 { + address 2a02:ed02:179b::1/64; + } + } + unit 1453 { + description e45-3; + family inet { + address 151.216.146.1/26; + } + family inet6 { + address 2a02:ed02:146a::1/64; + } + } + unit 1454 { + description e45-4; + family inet { + address 151.216.146.65/26; + } + family inet6 { + address 2a02:ed02:146b::1/64; + } + } + unit 1473 { + description e47-3; + family inet { + address 151.216.147.1/26; + } + family inet6 { + address 2a02:ed02:147a::1/64; + } + } + unit 1474 { + description e47-4; + family inet { + address 151.216.147.65/26; + } + family inet6 { + address 2a02:ed02:147b::1/64; + } + } + unit 1493 { + description e49-3; + family inet { + address 151.216.148.1/26; + } + family inet6 { + address 2a02:ed02:148a::1/64; + } + } + unit 1494 { + description e49-4; + family inet { + address 151.216.148.65/26; + } + family inet6 { + address 2a02:ed02:148b::1/64; + } + } + unit 1513 { + description e51-3; + family inet { + address 151.216.149.1/26; + } + family inet6 { + address 2a02:ed02:149a::1/64; + } + } + unit 1514 { + description e51-4; + family inet { + address 151.216.149.65/26; + } + family inet6 { + address 2a02:ed02:149b::1/64; + } + } + unit 1533 { + description e53-3; + family inet { + address 151.216.150.1/26; + } + family inet6 { + address 2a02:ed02:150a::1/64; + } + } + unit 1534 { + description e53-4; + family inet { + address 151.216.150.65/26; + } + family inet6 { + address 2a02:ed02:150b::1/64; + } + } + unit 1553 { + description e55-3; + family inet { + address 151.216.151.1/26; + } + family inet6 { + address 2a02:ed02:151a::1/64; + } + } + unit 1554 { + description e55-4; + family inet { + address 151.216.151.65/26; + } + family inet6 { + address 2a02:ed02:151b::1/64; + } + } + unit 1573 { + description e57-3; + family inet { + address 151.216.152.1/26; + } + family inet6 { + address 2a02:ed02:152a::1/64; + } + } + unit 1574 { + description e57-4; + family inet { + address 151.216.152.65/26; + } + family inet6 { + address 2a02:ed02:152b::1/64; + } + } + unit 1593 { + description e59-3; + family inet { + address 151.216.153.1/26; + } + family inet6 { + address 2a02:ed02:153a::1/64; + } + } + unit 1594 { + description e59-4; + family inet { + address 151.216.153.65/26; + } + family inet6 { + address 2a02:ed02:153b::1/64; + } + } + unit 1613 { + description e61-3; + family inet { + address 151.216.154.1/26; + } + family inet6 { + address 2a02:ed02:154a::1/64; + } + } + unit 1614 { + description e61-4; + family inet { + address 151.216.154.65/26; + } + family inet6 { + address 2a02:ed02:154b::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.1453; + vlan.1454; + vlan.1473; + vlan.1474; + vlan.1493; + vlan.1494; + vlan.1513; + vlan.1514; + vlan.1533; + vlan.1534; + vlan.1553; + vlan.1554; + vlan.1573; + vlan.1574; + vlan.1593; + vlan.1594; + vlan.1613; + vlan.1614; + } + } + } + dhcp-relay { + dhcpv6 { + group edge-switches { + active-server-group v6-edge-switches; + overrides; + interface vlan.667; + interface vlan.1453; + interface vlan.1454; + interface vlan.1473; + interface vlan.1474; + interface vlan.1493; + interface vlan.1494; + interface vlan.1513; + interface vlan.1514; + interface vlan.1533; + interface vlan.1534; + interface vlan.1553; + interface vlan.1554; + interface vlan.1573; + interface vlan.1574; + interface vlan.1593; + interface vlan.1594; + interface vlan.1613; + interface vlan.1614; + } + 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.1453; + interface vlan.1454; + interface vlan.1473; + interface vlan.1474; + interface vlan.1493; + interface vlan.1494; + interface vlan.1513; + interface vlan.1514; + interface vlan.1533; + interface vlan.1534; + interface vlan.1553; + interface vlan.1554; + interface vlan.1573; + interface vlan.1574; + interface vlan.1593; + interface vlan.1594; + interface vlan.1613; + interface vlan.1614; + } + 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"; + } + } + } + } + policy ae16down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae16$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/16 unit 0"; + "deactivate interfaces ge-0/0/16 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae16 went down so removed ge-0/0/16 from bundle"; + } + } + } + } + policy ae16up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae16$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/16 unit 0"; + "activate interfaces ge-0/0/16 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae16 came up so added ge-0/0/16 to bundle"; + } + } + } + } + policy ae17down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae17$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "activate interfaces ge-0/0/17 unit 0"; + "deactivate interfaces ge-0/0/17 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae17 went down so removed ge-0/0/17 from bundle"; + } + } + } + } + policy ae17up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae17$"; + } + then { + change-configuration { + retry count 10 interval 10; + commands { + "deactivate interfaces ge-0/0/17 unit 0"; + "activate interfaces ge-0/0/17 ether-options"; + } + user-name technet; + commit-options { + log "Autoconfig-script: ae17 came up so added ge-0/0/17 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.1453 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1454 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1473 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1474 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1493 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1494 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1513 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1514 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1533 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1534 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1553 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1554 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1573 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1574 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1593 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1594 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1613 { + min-advertisement-interval 15; + managed-configuration; + } + interface vlan.1614 { + min-advertisement-interval 15; + managed-configuration; + } + } + + + + ospf { + export [ redistribute-direct redistribute-static ]; + reference-bandwidth 1000g; + area 0.0.0.0 { + interface ae31.0; + } + } + + + + ospf3 { + export [ redistribute-direct redistribute-static ]; + reference-bandwidth 1000g; + area 0.0.0.0 { + interface ae31.0; + } + } + pim { + rp { + static { + address 2a02:ed02:ffff::11; + address 151.216.255.11; + } + } + } + sflow { + agent-id 151.216.255.6; + polling-interval 3600; + sample-rate { + ingress 10000; + egress 10000; + } + source-ip 151.216.255.6; + 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; + } + + 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; + } + e45-3 { + vlan-id 1453; + l3-interface vlan.1453; + } + e45-4 { + vlan-id 1454; + l3-interface vlan.1454; + } + e47-3 { + vlan-id 1473; + l3-interface vlan.1473; + } + e47-4 { + vlan-id 1474; + l3-interface vlan.1474; + } + e49-3 { + vlan-id 1493; + l3-interface vlan.1493; + } + e49-4 { + vlan-id 1494; + l3-interface vlan.1494; + } + e51-3 { + vlan-id 1513; + l3-interface vlan.1513; + } + e51-4 { + vlan-id 1514; + l3-interface vlan.1514; + } + e53-3 { + vlan-id 1533; + l3-interface vlan.1533; + } + e53-4 { + vlan-id 1534; + l3-interface vlan.1534; + } + e55-3 { + vlan-id 1553; + l3-interface vlan.1553; + } + e55-4 { + vlan-id 1554; + l3-interface vlan.1554; + } + e57-3 { + vlan-id 1573; + l3-interface vlan.1573; + } + e57-4 { + vlan-id 1574; + l3-interface vlan.1574; + } + e59-3 { + vlan-id 1593; + l3-interface vlan.1593; + } + e59-4 { + vlan-id 1594; + l3-interface vlan.1594; + } + e61-3 { + vlan-id 1613; + l3-interface vlan.1613; + } + e61-4 { + vlan-id 1614; + l3-interface vlan.1614; + } + mgmt { + vlan-id 666; + l3-interface vlan.666; + } +} +poe { + interface aps; +} |