diff options
Diffstat (limited to 'examples/tg23/netconfig/d3.floor.tg23.gathering.org.conf')
-rw-r--r-- | examples/tg23/netconfig/d3.floor.tg23.gathering.org.conf | 1676 |
1 files changed, 1676 insertions, 0 deletions
diff --git a/examples/tg23/netconfig/d3.floor.tg23.gathering.org.conf b/examples/tg23/netconfig/d3.floor.tg23.gathering.org.conf new file mode 100644 index 0000000..ce45e87 --- /dev/null +++ b/examples/tg23/netconfig/d3.floor.tg23.gathering.org.conf @@ -0,0 +1,1676 @@ +## ex3300-48p +## Last commit: 2023-04-09 09:06:21 CEST by tech +version 15.1R7-S13; +system { + host-name d3.floor; + auto-snapshot; + domain-name tg23.gathering.org; + time-zone Europe/Oslo; + /* tacacs primary, failbacks to local users */ + authentication-order tacplus; + ports { + console log-out-on-disconnect; + } + root-authentication { + encrypted-password "<removed>"; ## SECRET-DATA + } + name-server { + 2a06:5841:f:d::101; + 2a06:5841:f:e::132; + } + tacplus-server { + <removed> { + secret "<removed>"; ## SECRET-DATA + source-address 185.110.148.21; + } + } + login { + user api { + uid 2001; + class super-user; + authentication { + ssh-ed25519 "<removed>"; ## SECRET-DATA + } + } + user tech { + uid 2000; + class super-user; + authentication { + encrypted-password "<removed>"; ## SECRET-DATA + } + } + } + services { + ssh { + root-login deny; + no-tcp-forwarding; + protocol-version v2; + client-alive-count-max 2; + client-alive-interval 300; + connection-limit 50; + rate-limit 5; + } + netconf { + ssh { + port 830; + } + } + } + syslog { + user * { + any emergency; + } + host log.tg23.gathering.org { + any warning; + authorization info; + daemon warning; + user warning; + change-log any; + interactive-commands any; + match "!(.*License.*)"; + allow-duplicates; + facility-override local7; + explicit-priority; + } + /* Oxidized syslog */ + host 185.110.148.112 { + interactive-commands notice; + match UI_COMMIT_COMPLETED; + source-address 185.110.148.21; + } + /* Local logging of syslog message */ + file messages { + any notice; + authorization info; + /* Fjerner mye graps i loggene */ + match "!(.*License.*|.*EX-BCM PIC.*|.*mojito_i2c_read.*|.*qsfp_tk_read_mem_page.*)"; + } + /* Local logging of all user-commands typed in the CLI */ + file interactive-commands { + interactive-commands any; + match "UI_CMDLINE_READ_LINE|UI_COMMIT_COMPLETED"; + } + } + commit synchronize; + ntp { + /* ntp.uio.no */ + server 2001:700:100:2::6; + } +} +chassis { + aggregated-devices { + ethernet { + device-count 32; + } + } + alarm { + management-ethernet { + link-down ignore; + } + } +} +interfaces { + interface-range all-ports { + member ge-*/*/*; + member xe-*/*/*; + member et-*/*/*; + } + interface-range aps { + member-range ge-0/0/36 to ge-0/0/47; + member-range ge-1/0/36 to ge-1/0/47; + member-range ge-2/0/36 to ge-2/0/47; + description "C: AP - VLAN 777 untagged (mgmt) - VLAN 778 tagged"; + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members ssid-the-gathering; + } + native-vlan-id 777; + } + } + } + ge-0/0/0 { + description "G: e17-3 ge-0/0/44 (ae100)"; + inactive: ether-options { + 802.3ad ae100; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/1 { + description "G: e17-4 ge-0/0/44 (ae101)"; + ether-options { + 802.3ad ae101; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/2 { + description "G: e19-3 ge-0/0/44 (ae102)"; + inactive: ether-options { + 802.3ad ae102; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/3 { + description "G: e19-4 ge-0/0/44 (ae103)"; + ether-options { + 802.3ad ae103; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/4 { + description "G: e21-3 ge-0/0/44 (ae104)"; + ether-options { + 802.3ad ae104; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/5 { + description "G: e21-4 ge-0/0/44 (ae105)"; + ether-options { + 802.3ad ae105; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/6 { + description "G: e23-3 ge-0/0/44 (ae106)"; + ether-options { + 802.3ad ae106; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/7 { + description "G: e23-4 ge-0/0/44 (ae107)"; + ether-options { + 802.3ad ae107; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/8 { + description "G: e25-3 ge-0/0/44 (ae108)"; + ether-options { + 802.3ad ae108; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/9 { + description "G: e25-4 ge-0/0/44 (ae109)"; + ether-options { + 802.3ad ae109; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/10 { + description "G: e27-3 ge-0/0/44 (ae110)"; + ether-options { + 802.3ad ae110; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/11 { + description "G: e27-4 ge-0/0/44 (ae111)"; + ether-options { + 802.3ad ae111; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/12 { + description "G: e29-3 ge-0/0/44 (ae112)"; + inactive: ether-options { + 802.3ad ae112; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/13 { + description "G: e29-4 ge-0/0/44 (ae113)"; + ether-options { + 802.3ad ae113; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/14 { + description "G: e31-3 ge-0/0/44 (ae114)"; + ether-options { + 802.3ad ae114; + } + inactive: unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + ge-0/0/15 { + description "G: e31-4 ge-0/0/44 (ae115)"; + inactive: ether-options { + 802.3ad ae115; + } + unit 0 { + family ethernet-switching { + port-mode access; + vlan { + members edge-mgmt; + } + } + } + } + xe-0/1/0 { + description "G: d1.roof xe-0/0/2 (ae0)"; + ether-options { + 802.3ad ae0; + } + } + ge-1/0/0 { + description "G: e17-3 ge-0/0/45 (ae100)"; + ether-options { + 802.3ad ae100; + } + } + ge-1/0/1 { + description "G: e17-4 ge-0/0/45 (ae101)"; + ether-options { + 802.3ad ae101; + } + } + ge-1/0/2 { + description "G: e19-3 ge-0/0/45 (ae102)"; + ether-options { + 802.3ad ae102; + } + } + ge-1/0/3 { + description "G: e19-4 ge-0/0/45 (ae103)"; + ether-options { + 802.3ad ae103; + } + } + ge-1/0/4 { + description "G: e21-3 ge-0/0/45 (ae104)"; + ether-options { + 802.3ad ae104; + } + } + ge-1/0/5 { + description "G: e21-4 ge-0/0/45 (ae105)"; + ether-options { + 802.3ad ae105; + } + } + ge-1/0/6 { + description "G: e23-3 ge-0/0/45 (ae106)"; + ether-options { + 802.3ad ae106; + } + } + ge-1/0/7 { + description "G: e23-4 ge-0/0/45 (ae107)"; + ether-options { + 802.3ad ae107; + } + } + ge-1/0/8 { + description "G: e25-3 ge-0/0/45 (ae108)"; + ether-options { + 802.3ad ae108; + } + } + ge-1/0/9 { + description "G: e25-4 ge-0/0/45 (ae109)"; + ether-options { + 802.3ad ae109; + } + } + ge-1/0/10 { + description "G: e27-3 ge-0/0/45 (ae110)"; + ether-options { + 802.3ad ae110; + } + } + ge-1/0/11 { + description "G: e27-4 ge-0/0/45 (ae111)"; + ether-options { + 802.3ad ae111; + } + } + ge-1/0/12 { + description "G: e29-3 ge-0/0/45 (ae112)"; + ether-options { + 802.3ad ae112; + } + } + ge-1/0/13 { + description "G: e29-4 ge-0/0/45 (ae113)"; + ether-options { + 802.3ad ae113; + } + } + ge-1/0/14 { + description "G: e31-3 ge-0/0/45 (ae114)"; + ether-options { + 802.3ad ae114; + } + } + ge-1/0/15 { + description "G: e31-4 ge-0/0/45 (ae115)"; + ether-options { + 802.3ad ae115; + } + } + xe-1/1/0 { + description "G: d1.roof xe-1/0/2 (ae0)"; + ether-options { + 802.3ad ae0; + } + } + ge-2/0/0 { + description "G: e17-3 ge-0/0/46 (ae100)"; + ether-options { + 802.3ad ae100; + } + } + ge-2/0/1 { + description "G: e17-4 ge-0/0/46 (ae101)"; + ether-options { + 802.3ad ae101; + } + } + ge-2/0/2 { + description "G: e19-3 ge-0/0/46 (ae102)"; + ether-options { + 802.3ad ae102; + } + } + ge-2/0/3 { + description "G: e19-4 ge-0/0/46 (ae103)"; + ether-options { + 802.3ad ae103; + } + } + ge-2/0/4 { + description "G: e21-3 ge-0/0/46 (ae104)"; + ether-options { + 802.3ad ae104; + } + } + ge-2/0/5 { + description "G: e21-4 ge-0/0/46 (ae105)"; + ether-options { + 802.3ad ae105; + } + } + ge-2/0/6 { + description "G: e23-3 ge-0/0/46 (ae106)"; + ether-options { + 802.3ad ae106; + } + } + ge-2/0/7 { + description "G: e23-4 ge-0/0/46 (ae107)"; + ether-options { + 802.3ad ae107; + } + } + ge-2/0/8 { + description "G: e25-3 ge-0/0/46 (ae108)"; + ether-options { + 802.3ad ae108; + } + } + ge-2/0/9 { + description "G: e25-4 ge-0/0/46 (ae109)"; + ether-options { + 802.3ad ae109; + } + } + ge-2/0/10 { + description "G: e27-3 ge-0/0/46 (ae110)"; + ether-options { + 802.3ad ae110; + } + } + ge-2/0/11 { + description "G: e27-4 ge-0/0/46 (ae111)"; + ether-options { + 802.3ad ae111; + } + } + ge-2/0/12 { + description "G: e29-3 ge-0/0/46 (ae112)"; + ether-options { + 802.3ad ae112; + } + } + ge-2/0/13 { + description "G: e29-4 ge-0/0/46 (ae113)"; + ether-options { + 802.3ad ae113; + } + } + ge-2/0/14 { + description "G: e31-3 ge-0/0/46 (ae114)"; + ether-options { + 802.3ad ae114; + } + } + ge-2/0/15 { + description "G: e31-4 ge-0/0/46 (ae115)"; + ether-options { + 802.3ad ae115; + } + } + ae0 { + description "B: d1.roof ae11"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members all; + } + } + } + } + ae100 { + description "B: e17-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e17-3 ]; + } + } + } + } + ae101 { + description "B: e17-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e17-4 ]; + } + } + } + } + ae102 { + description "B: e19-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e19-3 ]; + } + } + } + } + ae103 { + description "B: e19-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e19-4 ]; + } + } + } + } + ae104 { + description "B: e21-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e21-3 ]; + } + } + } + } + ae105 { + description "B: e21-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e21-4 ]; + } + } + } + } + ae106 { + description "B: e23-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e23-3 ]; + } + } + } + } + ae107 { + description "B: e23-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e23-4 ]; + } + } + } + } + ae108 { + description "B: e25-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e25-3 ]; + } + } + } + } + ae109 { + description "B: e25-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e25-4 ]; + } + } + } + } + ae110 { + description "B: e27-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e27-3 ]; + } + } + } + } + ae111 { + description "B: e27-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e27-4 ]; + } + } + } + } + ae112 { + description "B: e29-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e29-3 ]; + } + } + } + } + ae113 { + description "B: e29-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e29-4 ]; + } + } + } + } + ae114 { + description "B: e31-3 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e31-3 ]; + } + } + } + } + ae115 { + description "B: e31-4 ae0"; + aggregated-ether-options { + lacp { + active; + } + } + unit 0 { + family ethernet-switching { + port-mode trunk; + vlan { + members [ edge-mgmt e31-4 ]; + } + } + } + } + lo0 { + unit 0 { + family inet { + filter { + input mgmt-v4; + } + } + family inet6 { + filter { + input mgmt-v6; + } + } + } + } + vlan { + unit 667 { + description "switch management"; + family inet { + filter { + input mgmt-v4; + } + address 185.110.148.21/28; + } + family inet6 { + filter { + input mgmt-v6; + } + address 2a06:5841:f:11::5/64; + } + } + } +} +snmp { + contact "<removed>"; + community <removed> { + authorization read-only; + client-list-name mgmt; + } +} +event-options { + policy ae115down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae115$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae115 went down so removed ge-0/0/15 from bundle"; + } + } + } + } + policy ae115up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae115$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae115 came up so added ge-0/0/15 to bundle"; + } + } + } + } + policy ae110down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae110$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae110 went down so removed ge-0/0/10 from bundle"; + } + } + } + } + policy ae110up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae110$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae110 came up so added ge-0/0/10 to bundle"; + } + } + } + } + policy ae102down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae102$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae102 went down so removed ge-0/0/2 from bundle"; + } + } + } + } + policy ae102up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae102$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae102 came up so added ge-0/0/2 to bundle"; + } + } + } + } + policy ae113down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae113$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae113 went down so removed ge-0/0/13 from bundle"; + } + } + } + } + policy ae113up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae113$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae113 came up so added ge-0/0/13 to bundle"; + } + } + } + } + policy ae104down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae104$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae104 went down so removed ge-0/0/4 from bundle"; + } + } + } + } + policy ae104up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae104$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae104 came up so added ge-0/0/4 to bundle"; + } + } + } + } + policy ae108down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae108$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae108 went down so removed ge-0/0/8 from bundle"; + } + } + } + } + policy ae108up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae108$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae108 came up so added ge-0/0/8 to bundle"; + } + } + } + } + policy ae101down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae101$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae101 went down so removed ge-0/0/1 from bundle"; + } + } + } + } + policy ae101up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae101$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae101 came up so added ge-0/0/1 to bundle"; + } + } + } + } + policy ae106down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae106$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae106 went down so removed ge-0/0/6 from bundle"; + } + } + } + } + policy ae106up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae106$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae106 came up so added ge-0/0/6 to bundle"; + } + } + } + } + policy ae111down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae111$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae111 went down so removed ge-0/0/11 from bundle"; + } + } + } + } + policy ae111up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae111$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae111 came up so added ge-0/0/11 to bundle"; + } + } + } + } + policy ae103down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae103$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae103 went down so removed ge-0/0/3 from bundle"; + } + } + } + } + policy ae103up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae103$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae103 came up so added ge-0/0/3 to bundle"; + } + } + } + } + policy ae114down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae114$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae114 went down so removed ge-0/0/14 from bundle"; + } + } + } + } + policy ae114up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae114$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae114 came up so added ge-0/0/14 to bundle"; + } + } + } + } + policy ae107down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae107$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae107 went down so removed ge-0/0/7 from bundle"; + } + } + } + } + policy ae107up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae107$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae107 came up so added ge-0/0/7 to bundle"; + } + } + } + } + policy ae112down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae112$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae112 went down so removed ge-0/0/12 from bundle"; + } + } + } + } + policy ae112up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae112$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae112 came up so added ge-0/0/12 to bundle"; + } + } + } + } + policy ae105down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae105$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae105 went down so removed ge-0/0/5 from bundle"; + } + } + } + } + policy ae105up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae105$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae105 came up so added ge-0/0/5 to bundle"; + } + } + } + } + policy ae100down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae100$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae100 went down so removed ge-0/0/0 from bundle"; + } + } + } + } + policy ae100up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae100$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae100 came up so added ge-0/0/0 to bundle"; + } + } + } + } + policy ae109down { + events snmp_trap_link_down; + attributes-match { + snmp_trap_link_down.interface-name matches "ae109$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae109 went down so removed ge-0/0/9 from bundle"; + } + } + } + } + policy ae109up { + events snmp_trap_link_up; + attributes-match { + snmp_trap_link_up.interface-name matches "ae109$"; + } + 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 tech; + commit-options { + log "Autoconfig-script: ae109 came up so added ge-0/0/9 to bundle"; + } + } + } + } +} +routing-options { + rib inet.0 { + static { + route 0.0.0.0/0 next-hop 185.110.148.17; + } + } + rib inet6.0 { + static { + route ::/0 next-hop 2a06:5841:f:11::1; + } + } +} +protocols { + igmp-snooping { + vlan all; + } + rstp { + bridge-priority 8k; + } + lldp { + port-id-subtype interface-name; + port-description-type interface-description; + interface all; + } +} +policy-options { + prefix-list mgmt-v4 { + } + prefix-list mgmt-v6 { + } + /* Merged separate v4- og v6-lister */ + prefix-list mgmt { + apply-path "policy-options prefix-list <mgmt-v*> <*>"; + } +} +firewall { + family inet { + filter mgmt-v4 { + term accept-ssh { + from { + source-prefix-list { + mgmt-v4; + } + destination-port 22; + } + then accept; + } + term discard-ssh { + from { + destination-port 22; + } + then { + discard; + } + } + term accept-all { + then accept; + } + } + } + family inet6 { + filter mgmt-v6 { + term accept-ssh { + from { + source-prefix-list { + mgmt-v6; + } + destination-port 22; + } + then accept; + } + term discard-ssh { + from { + destination-port 22; + } + then discard; + } + term accept-all { + then accept; + } + } + } +} +virtual-chassis { + preprovisioned; + vcp-snmp-statistics; + member 0 { + role routing-engine; + serial-number <removed>; + } + member 1 { + role routing-engine; + serial-number <removed>; + } + member 2 { + role line-card; + serial-number <removed>; + } +} +ethernet-switching-options { + secure-access-port { + vlan edge-mgmt { + dhcp-option82 { + circuit-id { + prefix hostname; + use-vlan-id; + } + } + } + } + storm-control { + interface ae100.0; + interface ae101.0; + interface ae102.0; + interface ae103.0; + interface ae104.0; + interface ae105.0; + interface ae106.0; + interface ae107.0; + interface ae108.0; + interface ae109.0; + interface ae110.0; + interface ae111.0; + interface ae112.0; + interface ae113.0; + interface ae114.0; + interface ae115.0; + } +} +vlans { + aps-mgmt { + vlan-id 777; + } + distro-mgmt { + vlan-id 667; + l3-interface vlan.667; + } + e17-3 { + vlan-id 1413; + } + e17-4 { + vlan-id 1414; + } + e19-3 { + vlan-id 1433; + } + e19-4 { + vlan-id 1434; + } + e21-3 { + vlan-id 1453; + } + e21-4 { + vlan-id 1454; + } + e23-3 { + vlan-id 1473; + } + e23-4 { + vlan-id 1474; + } + e25-3 { + vlan-id 1493; + } + e25-4 { + vlan-id 1494; + } + e27-3 { + vlan-id 1513; + } + e27-4 { + vlan-id 1514; + } + e29-3 { + vlan-id 1533; + } + e29-4 { + vlan-id 1534; + } + e31-3 { + vlan-id 1553; + } + e31-4 { + vlan-id 1554; + } + edge-mgmt { + vlan-id 666; + } + ssid-the-gathering { + vlan-id 778; + } +} +poe { + interface all; +} |