aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg16/netconf/creativiagw.conf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tg16/netconf/creativiagw.conf')
-rw-r--r--examples/tg16/netconf/creativiagw.conf1238
1 files changed, 1238 insertions, 0 deletions
diff --git a/examples/tg16/netconf/creativiagw.conf b/examples/tg16/netconf/creativiagw.conf
new file mode 100644
index 0000000..5add79d
--- /dev/null
+++ b/examples/tg16/netconf/creativiagw.conf
@@ -0,0 +1,1238 @@
+## Last changed: 2016-03-27 04:09:03 CEST
+version 14.1X53-D15.2;
+groups {
+ SET_AE_DEFAULTS {
+ interfaces {
+ <ae*> {
+ aggregated-ether-options {
+ lacp {
+ active;
+ }
+ }
+ }
+ }
+ }
+ SET_OSPF_DEFAULTS {
+ protocols {
+ ospf {
+ reference-bandwidth 1000g;
+ area <*> {
+ interface <ae*>;
+ }
+ }
+ ospf3 {
+ reference-bandwidth 1000g;
+ area <*> {
+ interface <ae*>;
+ }
+ }
+ }
+ }
+ SET_RA_DEFAULTS {
+ protocols {
+ router-advertisement {
+ interface <vlan.*> {
+ max-advertisement-interval 15;
+ managed-configuration;
+ }
+ }
+ }
+ }
+}
+system {
+ host-name creativiagw;
+ auto-snapshot;
+ domain-name infra.gathering.org;
+ time-zone Europe/Oslo;
+ authentication-order tacplus;
+ root-authentication {
+ encrypted-password "<removed>";
+ }
+ name-server {
+ 185.110.149.2;
+ 185.110.148.2;
+ 2a06:5841:149a::2;
+ 2a06:5841:1337::2;
+ }
+ tacplus-server {
+ 134.90.150.164 {
+ secret "<removed>";
+ source-address 185.110.148.74;
+ }
+ }
+ login {
+ user technet {
+ uid 2000;
+ class super-user;
+ authentication {
+ encrypted-password "<removed>";
+ }
+ }
+ }
+ services {
+ ssh {
+ root-login deny;
+ no-tcp-forwarding;
+ client-alive-count-max 2;
+ client-alive-interval 300;
+ connection-limit 5;
+ rate-limit 5;
+ }
+ netconf {
+ ssh {
+ connection-limit 3;
+ rate-limit 3;
+ }
+ }
+ }
+ syslog {
+ user * {
+ any emergency;
+ }
+ host 185.110.148.17 {
+ any info;
+ authorization info;
+ port 515;
+ }
+ file messages {
+ any notice;
+ authorization info;
+ }
+ file interactive-commands {
+ interactive-commands any;
+ }
+ }
+ archival {
+ configuration {
+ transfer-on-commit;
+ archive-sites {
+ "scp://user@host/some/folder/" password "<removed>";
+ }
+ }
+ }
+ commit synchronize;
+ ntp {
+ server 2001:700:100:2::6;
+ }
+}
+chassis {
+ aggregated-devices {
+ ethernet {
+ device-count 32;
+ }
+ }
+ alarm {
+ management-ethernet {
+ link-down ignore;
+ }
+ }
+ auto-image-upgrade;
+}
+security {
+ ssh-known-hosts {
+ host 134.90.150.164 {
+ ecdsa-sha2-nistp256-key <removed>;
+ }
+ }
+}
+interfaces {
+ apply-groups SET_AE_DEFAULTS;
+ 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 "Management/klientnett AP-er";
+ unit 0 {
+ family ethernet-switching {
+ vlan {
+ members aps_mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/0 {
+ description "creativia1 access / ae0";
+ ether-options {
+ 802.3ad ae0;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/1 {
+ description "creativia2 access / ae1";
+ ether-options {
+ 802.3ad ae1;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/2 {
+ description "creativia3 access / ae2";
+ ether-options {
+ 802.3ad ae2;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/3 {
+ description "creativia4 access / ae3";
+ ether-options {
+ 802.3ad ae3;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/4 {
+ description "creativia5 access / ae4";
+ ether-options {
+ 802.3ad ae4;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/5 {
+ description "creativia6 access / ae5";
+ ether-options {
+ 802.3ad ae5;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/6 {
+ description "creativia7 access / ae6";
+ ether-options {
+ 802.3ad ae6;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/7 {
+ description "creativia-village access / ae7";
+ ether-options {
+ 802.3ad ae7;
+ }
+ inactive: unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ xe-0/1/0 {
+ description "Uplink mot coregw";
+ ether-options {
+ 802.3ad ae31;
+ }
+ }
+ xe-0/1/1 {
+ description "uplink mot tele";
+ ether-options {
+ 802.3ad ae30;
+ }
+ }
+ ge-1/0/0 {
+ description "creativia1 ae0";
+ ether-options {
+ 802.3ad ae0;
+ }
+ }
+ ge-1/0/1 {
+ description "creativia2 ae1";
+ ether-options {
+ 802.3ad ae1;
+ }
+ }
+ ge-1/0/2 {
+ description "creativia3 ae2";
+ ether-options {
+ 802.3ad ae2;
+ }
+ }
+ ge-1/0/3 {
+ description "creativia4 ae3";
+ ether-options {
+ 802.3ad ae3;
+ }
+ }
+ ge-1/0/4 {
+ description "creativia5 ae4";
+ ether-options {
+ 802.3ad ae4;
+ }
+ }
+ ge-1/0/5 {
+ description "creativia6 ae5";
+ ether-options {
+ 802.3ad ae5;
+ }
+ }
+ ge-1/0/6 {
+ description "creativia7 ae6";
+ ether-options {
+ 802.3ad ae6;
+ }
+ }
+ ge-1/0/7 {
+ description "creativia-village ae7";
+ ether-options {
+ 802.3ad ae7;
+ }
+ }
+ xe-1/1/0 {
+ description "Uplink mot coregw";
+ ether-options {
+ 802.3ad ae31;
+ }
+ }
+ ge-2/0/0 {
+ description "creativia1 ae0";
+ ether-options {
+ 802.3ad ae0;
+ }
+ }
+ ge-2/0/1 {
+ description "creativia2 ae1";
+ ether-options {
+ 802.3ad ae1;
+ }
+ }
+ ge-2/0/2 {
+ description "creativia3 ae2";
+ ether-options {
+ 802.3ad ae2;
+ }
+ }
+ ge-2/0/3 {
+ description "creativia4 ae3";
+ ether-options {
+ 802.3ad ae3;
+ }
+ }
+ ge-2/0/4 {
+ description "creativia5 ae4";
+ ether-options {
+ 802.3ad ae4;
+ }
+ }
+ ge-2/0/5 {
+ description "creativia6 ae5";
+ ether-options {
+ 802.3ad ae5;
+ }
+ }
+ ge-2/0/6 {
+ description "creativia7 ae6";
+ ether-options {
+ 802.3ad ae6;
+ }
+ }
+ ge-2/0/7 {
+ description "creativia-village ae7";
+ ether-options {
+ 802.3ad ae7;
+ }
+ }
+ ae0 {
+ description "creativia1 ae0";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia1 ];
+ }
+ }
+ }
+ }
+ ae1 {
+ description "creativia2 ae1";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia2 ];
+ }
+ }
+ }
+ }
+ ae2 {
+ description "creativia3 ae2";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia3 ];
+ }
+ }
+ }
+ }
+ ae3 {
+ description "creativia4 ae3";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia4 ];
+ }
+ }
+ }
+ }
+ ae4 {
+ description "creativia5 ae4";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia5 ];
+ }
+ }
+ }
+ }
+ ae5 {
+ description "creativia6 ae5";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia6 ];
+ }
+ }
+ }
+ }
+ ae6 {
+ description "creativia7 ae6";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia7 ];
+ }
+ }
+ }
+ }
+ ae7 {
+ description "creativia-village ae7";
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ mgmt creativia-village ];
+ }
+ }
+ }
+ }
+ ae30 {
+ description "uplink mot tele";
+ unit 0 {
+ family inet {
+ address 185.110.148.149/31;
+ }
+ family inet6;
+ }
+ }
+ ae31 {
+ description "Uplink mot coregw";
+ unit 0 {
+ family inet {
+ address 185.110.148.150/31;
+ }
+ family inet6;
+ }
+ }
+ lo0 {
+ unit 0 {
+ family inet {
+ filter {
+ input protect-mgmt-v4;
+ }
+ address 185.110.148.74/32;
+ }
+ family inet6 {
+ filter {
+ input protect-mgmt-v6;
+ }
+ address 2a06:5841:148b::74/128;
+ }
+ }
+ }
+ vlan {
+ unit 666 {
+ description "mgmt til aksesswitcher/fapfapfap";
+ family inet {
+ address 88.92.56.1/26;
+ }
+ }
+ unit 777 {
+ description "mgmt til AP-ene";
+ family inet {
+ address 88.92.53.65/26;
+ }
+ }
+ unit 2001 {
+ family inet {
+ address 88.92.40.1/26;
+ }
+ family inet6 {
+ address 2a06:5840:40a::1/64;
+ }
+ }
+ unit 2002 {
+ family inet {
+ address 88.92.40.65/26;
+ }
+ family inet6 {
+ address 2a06:5840:40b::1/64;
+ }
+ }
+ unit 2003 {
+ family inet {
+ address 88.92.40.129/26;
+ }
+ family inet6 {
+ address 2a06:5840:40c::1/64;
+ }
+ }
+ unit 2004 {
+ family inet {
+ address 88.92.40.193/26;
+ }
+ family inet6 {
+ address 2a06:5840:40d::1/64;
+ }
+ }
+ unit 2005 {
+ family inet {
+ address 88.92.41.1/26;
+ }
+ family inet6 {
+ address 2a06:5840:41a::1/64;
+ }
+ }
+ unit 2010 {
+ family inet {
+ address 88.92.42.65/26;
+ }
+ family inet6 {
+ address 2a06:5840:42b::1/64;
+ }
+ }
+ unit 2011 {
+ family inet {
+ address 88.92.42.129/26;
+ }
+ family inet6 {
+ address 2a06:5840:42c::1/64;
+ }
+ }
+ unit 2012 {
+ family inet {
+ address 88.92.42.193/26;
+ }
+ family inet6 {
+ address 2a06:5840:42d::1/64;
+ }
+ }
+ }
+}
+snmp {
+ community <removed> {
+ authorization read-only;
+ client-list-name mgmt;
+ }
+ community <removed> {
+ authorization read-only;
+ client-list-name mgmt-nms;
+ }
+}
+forwarding-options {
+ inactive: helpers {
+ bootp {
+ dhcp-option82 {
+ circuit-id {
+ prefix hostname;
+ }
+ }
+ server 185.110.148.22;
+ interface {
+ vlan.666;
+ }
+ }
+ }
+ dhcp-relay {
+ inactive: dhcpv6 {
+ inactive: group edge-switches {
+ active-server-group v6-edge-switches;
+ overrides;
+ interface vlan.777;
+ interface vlan.2001;
+ interface vlan.2002;
+ interface vlan.2003;
+ interface vlan.2004;
+ interface vlan.2005;
+ interface vlan.2010;
+ interface vlan.2011;
+ interface vlan.2012;
+ }
+ server-group {
+ v6-edge-switches {
+ 2a06:5841:149a::2;
+ }
+ }
+ }
+ server-group {
+ v4-edge-switches {
+ 185.110.149.2;
+ 185.110.148.2;
+ }
+ fapfapfap-group {
+ 185.110.148.22;
+ }
+ }
+ group edge-switches {
+ active-server-group v4-edge-switches;
+ overrides {
+ trust-option-82;
+ }
+ interface vlan.777;
+ interface vlan.2001;
+ interface vlan.2002;
+ interface vlan.2003;
+ interface vlan.2004;
+ interface vlan.2005;
+ interface vlan.2010;
+ interface vlan.2011;
+ interface vlan.2012;
+ }
+ group fapfapfap {
+ active-server-group fapfapfap-group;
+ 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: ae0 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: ae0 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: ae0 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: ae0 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: ae0 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: ae0 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: ae0 came up so added ge-0/0/7 to bundle";
+ }
+ }
+ }
+ }
+}
+protocols {
+ apply-groups [ SET_OSPF_DEFAULTS SET_RA_DEFAULTS ];
+ mld;
+ inactive: router-advertisement {
+ interface vlan.2001;
+ interface vlan.2002;
+ interface vlan.2003;
+ interface vlan.2004;
+ interface vlan.2005;
+ interface vlan.2010;
+ interface vlan.2011;
+ interface vlan.2012;
+ }
+ ospf {
+ export [ static-to-ospf direct-to-ospf ];
+ area 0.0.0.0 {
+ interface ae31.0 {
+ metric 200;
+ }
+ interface ae30.0;
+ }
+ }
+ ospf3 {
+ export [ static-to-ospf direct-to-ospf ];
+ area 0.0.0.0 {
+ interface ae31.0 {
+ metric 200;
+ }
+ interface ae30.0;
+ }
+ }
+ pim {
+ rp {
+ static {
+ address 2a06:5841:148b::67;
+ address 185.110.148.67;
+ }
+ }
+ }
+ igmp-snooping {
+ vlan all;
+ }
+ rstp;
+ lldp {
+ management-address 185.110.148.74;
+ interface all;
+ }
+ lldp-med {
+ interface all;
+ }
+}
+policy-options {
+ prefix-list mgmt-v4 {
+ /* KANDU PA-nett (brukt på servere, infra etc) */
+ 185.110.148.0/22;
+ }
+ prefix-list mgmt-v6 {
+ /* KANDU PA-nett (den delen som er brukt på servere, infra etc) */
+ 2a06:5841::/32;
+ }
+ prefix-list mgmt {
+ 185.110.148.0/22;
+ 2a06:5841::/32;
+ }
+ prefix-list mgmt-v4-nms {
+ 185.110.148.11/32;
+ 185.110.148.12/32;
+ }
+ prefix-list mgmt-v6-nms {
+ 2a06:5841:1337::11/128;
+ 2a06:5841:1337::12/128;
+ }
+ prefix-list mgmt-nms {
+ 185.110.148.11/32;
+ 185.110.148.12/32;
+ 185.110.150.10/32;
+ 2a06:5841:1337::11/128;
+ 2a06:5841:1337::12/128;
+ }
+ prefix-list icmp_unthrottled-v4 {
+ 185.110.148.0/22;
+ 193.212.22.0/30;
+ }
+ prefix-list icmp_unthrottled-v6 {
+ 2001:4600:9:300::290/126;
+ 2a06:5841::/32;
+ }
+ policy-statement direct-to-ospf {
+ from protocol direct;
+ then {
+ external {
+ type 1;
+ }
+ accept;
+ }
+ }
+ policy-statement static-to-ospf {
+ from protocol static;
+ then {
+ external {
+ type 1;
+ }
+ accept;
+ }
+ }
+}
+firewall {
+ family inet {
+ filter protect-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 snmp-nms {
+ from {
+ source-prefix-list {
+ mgmt-v4-nms;
+ }
+ destination-port snmp;
+ }
+ then accept;
+ }
+ term snmp-throttle {
+ from {
+ source-prefix-list {
+ mgmt-v4;
+ }
+ destination-port snmp;
+ }
+ then accept;
+ }
+ term icmp-trusted {
+ from {
+ source-prefix-list {
+ icmp_unthrottled-v4;
+ }
+ protocol icmp;
+ }
+ then accept;
+ }
+ term icmp-throttled {
+ from {
+ protocol icmp;
+ }
+ then accept;
+ }
+ term accept-all {
+ then accept;
+ }
+ }
+ }
+ family inet6 {
+ filter protect-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 snmp-nms {
+ from {
+ source-prefix-list {
+ mgmt-v6-nms;
+ }
+ destination-port snmp;
+ }
+ then accept;
+ }
+ term snmp-throttle {
+ from {
+ source-prefix-list {
+ mgmt-v6;
+ }
+ destination-port snmp;
+ }
+ then accept;
+ }
+ term icmp-trusted {
+ from {
+ source-prefix-list {
+ icmp_unthrottled-v6;
+ }
+ next-header icmp6;
+ }
+ then accept;
+ }
+ term icmp-throttled {
+ from {
+ next-header icmp6;
+ }
+ then accept;
+ }
+ term accept-all {
+ then accept;
+ }
+ }
+ }
+}
+ethernet-switching-options {
+ storm-control {
+ interface all;
+ }
+}
+vlans {
+ aps_mgmt {
+ vlan-id 777;
+ l3-interface vlan.777;
+ }
+ creativia-village {
+ vlan-id 2012;
+ l3-interface vlan.2012;
+ }
+ creativia1 {
+ vlan-id 2001;
+ l3-interface vlan.2001;
+ }
+ creativia2 {
+ vlan-id 2002;
+ l3-interface vlan.2002;
+ }
+ creativia3 {
+ vlan-id 2003;
+ l3-interface vlan.2003;
+ }
+ creativia4 {
+ vlan-id 2004;
+ l3-interface vlan.2004;
+ }
+ creativia5 {
+ vlan-id 2005;
+ l3-interface vlan.2005;
+ }
+ creativia6 {
+ vlan-id 2010;
+ l3-interface vlan.2010;
+ }
+ creativia7 {
+ vlan-id 2011;
+ l3-interface vlan.2011;
+ }
+ mgmt {
+ vlan-id 666;
+ l3-interface vlan.666;
+ }
+}
+poe {
+ interface all;
+}