aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Lindstad <jonaslindstad@gmail.com>2015-02-20 00:55:22 +0100
committerJonas Lindstad <jonaslindstad@gmail.com>2015-02-20 00:55:22 +0100
commit3f36e59430eacce669c8cad0f4c4c23468c27fd9 (patch)
tree772212e692c28382c8e73901e872d61f49b3fc50
parentec37f9dd9b822d69b59856667a63910cb4f708ae (diff)
Added testing config for distroXgw
-rw-r--r--junos-bootstrap/proof_of_concepts/distro_during_testing.config355
1 files changed, 355 insertions, 0 deletions
diff --git a/junos-bootstrap/proof_of_concepts/distro_during_testing.config b/junos-bootstrap/proof_of_concepts/distro_during_testing.config
new file mode 100644
index 0000000..1b92507
--- /dev/null
+++ b/junos-bootstrap/proof_of_concepts/distro_during_testing.config
@@ -0,0 +1,355 @@
+root@distro0gw> show configuration
+## Last commit: 2013-05-03 23:06:23 UTC by root
+version 12.1R6.6;
+system {
+ host-name distro0gw;
+ root-authentication {
+ encrypted-password "$1$SPgmZ0Nq$u2R7lVJJAv1I3paV1Go0z0"; ## SECRET-DATA
+ }
+ login {
+ user tg15 {
+ uid 2003;
+ class super-user;
+ authentication {
+ encrypted-password "$1$Mhjp603p$t6F4RTyx8igBGDZ6zj7A3/"; ## SECRET-DATA
+ }
+ }
+ }
+ syslog {
+ user * {
+ any emergency;
+ }
+ file messages {
+ any notice;
+ authorization info;
+ }
+ file interactive-commands {
+ interactive-commands any;
+ }
+ }
+}
+chassis {
+ aggregated-devices {
+ ethernet {
+ device-count 10;
+ }
+ }
+}
+interfaces {
+ ge-0/0/0 {
+ description "ae0/access mgmt";
+ inactive: ether-options {
+ 802.3ad ae0;
+ }
+ unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/1 {
+ description ae0;
+ ether-options {
+ 802.3ad ae0;
+ }
+ }
+ ge-0/0/2 {
+ description ae0;
+ ether-options {
+ 802.3ad ae0;
+ }
+ }
+ ge-0/0/3 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/4 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/5 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/6 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/7 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/8 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/9 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/10 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/11 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/12 {
+ description "RPI dhcp-client test";
+ unit 0 {
+ family ethernet-switching {
+ port-mode access;
+ vlan {
+ members mgmt;
+ }
+ }
+ }
+ }
+ ge-0/0/13 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/14 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/15 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/16 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/17 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/18 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/19 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/20 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/21 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/22 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/0/23 {
+ unit 0 {
+ description "Til laptopen";
+ family inet {
+ address 10.0.100.1/24;
+ }
+ }
+ }
+ ge-0/1/0 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ xe-0/1/0 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/1/1 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ xe-0/1/1 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/1/2 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ xe-0/1/2 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ge-0/1/3 {
+ unit 0 {
+ family ethernet-switching;
+ }
+ }
+ ae0 {
+ description "Aggregation til EX2200";
+ aggregated-ether-options {
+ minimum-links 2;
+ lacp {
+ active;
+ }
+ }
+ unit 0 {
+ family ethernet-switching {
+ port-mode trunk;
+ vlan {
+ members [ deltagere mgmt ];
+ }
+ }
+ }
+ }
+ me0 {
+ unit 0 {
+ family inet;
+ }
+ }
+ vlan {
+ unit 200 {
+ description "Deltagere L3 interface";
+ }
+ unit 300 {
+ description "Management L3 interface";
+ family inet {
+ address 10.0.200.1/24;
+ }
+ }
+ }
+}
+forwarding-options {
+ helpers {
+ bootp {
+ interface {
+ vlan.200 {
+ description "Deltagere DHCP-server";
+ server 1.2.3.4;
+ }
+ vlan.300 {
+ description "MGMT + bootstrap";
+ server 10.0.100.2;
+ dhcp-option82 {
+ circuit-id {
+ prefix hostname;
+ use-interface-description;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+event-options {
+ policy ae0down {
+ events snmp_trap_link_down;
+ attributes-match {
+ snmp_trap_link_down.interface-name matches ae0;
+ }
+ then {
+ change-configuration {
+ retry count 5 interval 10;
+ commands {
+ "deactivate interface ge-0/0/0 ether-options";
+ "activate interface ge-0/0/0 unit 0";
+ }
+ user-name tg15;
+ commit-options {
+ log "deactivating 802.3 from ge-0/0/0 (ae0). Activating access port";
+ }
+ }
+ }
+ }
+ policy ae0up {
+ events snmp_trap_link_up;
+ attributes-match {
+ snmp_trap_link_up.interface-name matches ae0;
+ }
+ then {
+ change-configuration {
+ retry count 5 interval 10;
+ commands {
+ "deactivate interface ge-0/0/0 unit 0";
+ "activate interface ge-0/0/0 ether-options";
+ }
+ user-name tg15;
+ commit-options {
+ log "activating 802.3 at ge-0/0/0 (ae0). Deactivating access port";
+ }
+ }
+ }
+ }
+}
+protocols {
+ igmp-snooping {
+ vlan all;
+ }
+ rstp;
+ lldp {
+ interface all;
+ }
+ lldp-med {
+ interface all;
+ }
+}
+ethernet-switching-options {
+ analyzer dump {
+ input {
+ ingress {
+ interface ge-0/0/23.0;
+ }
+ egress {
+ interface ge-0/0/23.0;
+ }
+ }
+ output {
+ interface {
+ ge-0/0/22.0;
+ }
+ }
+ }
+ storm-control {
+ interface all;
+ }
+}
+vlans {
+ deltagere {
+ vlan-id 200;
+ l3-interface vlan.200;
+ }
+ mgmt {
+ vlan-id 300;
+ l3-interface vlan.300;
+ }
+}
+poe {
+ interface all;
+}
+