commit 6f448d1591487d9714cf5ea0c92d575533052898 Author: Alexandre Iooss Date: Thu Nov 18 15:02:03 2021 +0100 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..c3929d9 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Configuration des Quanta d'Aurore + +Pour se connecter à un Quanta : + +``` +ssh -J switchs-manager.adm.auro.re -oKexAlgorithms=diffie-hellman-group1-sha1 -oCiphers=aes256-cbc root@sw-pn-core.switch.auro.re +``` + +Voir la documentation Brocade TurboIron pour les commandes. + diff --git a/sw-ec-core.switch.auro.re b/sw-ec-core.switch.auro.re new file mode 100644 index 0000000..f378a97 --- /dev/null +++ b/sw-ec-core.switch.auro.re @@ -0,0 +1,174 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 1 to 27 +! +vlan 11 by port + tagged ethe 1 to 27 +! +vlan 12 by port + tagged ethe 1 to 27 +! +vlan 13 by port + tagged ethe 1 to 27 +! +vlan 20 by port + tagged ethe 1 to 27 +! +vlan 21 by port + tagged ethe 1 to 27 +! +vlan 22 by port + tagged ethe 1 to 27 +! +vlan 23 by port + tagged ethe 1 to 27 +! +vlan 30 by port + tagged ethe 1 to 27 +! +vlan 31 by port + tagged ethe 1 to 27 +! +vlan 32 by port + tagged ethe 1 to 27 +! +vlan 33 by port + tagged ethe 1 to 27 +! +vlan 40 by port + tagged ethe 1 to 23 ethe 25 to 27 +! +vlan 41 by port + tagged ethe 1 to 23 ethe 25 to 27 +! +vlan 42 by port + tagged ethe 1 to 23 ethe 25 to 27 +! +vlan 43 by port + tagged ethe 1 to 27 +! +vlan 50 by port + tagged ethe 1 to 27 +! +vlan 51 by port + tagged ethe 1 to 27 +! +vlan 52 by port + tagged ethe 1 to 27 +! +vlan 53 by port + tagged ethe 1 to 27 +! +vlan 110 by port + tagged ethe 1 to 23 ethe 25 to 27 +! +vlan 111 by port + tagged ethe 6 to 23 ethe 25 to 27 +! +vlan 120 by port + tagged ethe 6 to 23 ethe 25 to 27 +! +vlan 121 by port + tagged ethe 6 ethe 23 +! +vlan 128 by port + tagged ethe 6 to 23 ethe 25 to 27 +! +vlan 129 by port + tagged ethe 6 to 23 ethe 25 to 27 +! +vlan 130 by port + tagged ethe 1 to 23 ethe 25 to 27 + router-interface ve 1 +! +vlan 131 by port + tagged ethe 1 to 23 ethe 25 to 27 + untagged ethe 28 +! +vlan 132 by port + tagged ethe 1 to 24 +! +vlan 133 by port + tagged ethe 1 to 24 +! +vlan 134 by port + tagged ethe 1 to 24 +! +vlan 141 by port + tagged ethe 1 to 27 +! +vlan 142 by port + tagged ethe 1 to 27 +! +vlan 143 by port + tagged ethe 1 to 27 +! +vlan 144 by port + tagged ethe 1 to 27 +! +vlan 145 by port + tagged ethe 1 to 27 +! +vlan 300 by port + tagged ethe 6 ethe 23 +! +vlan 301 by port + tagged ethe 6 ethe 23 +! +vlan 302 by port + tagged ethe 6 ethe 23 +! +vlan 303 by port + tagged ethe 6 ethe 23 +! +vlan 304 by port + tagged ethe 6 ethe 23 +! +vlan 305 by port + tagged ethe 6 ethe 23 +! +vlan 306 by port + tagged ethe 6 ethe 23 +! +vlan 307 by port + tagged ethe 6 ethe 23 +! +vlan 308 by port + tagged ethe 6 ethe 23 +! +vlan 309 by port + tagged ethe 6 ethe 23 +! +vlan 1232 by port +! +! +! +! +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname sw-ec-core +username root password ..... +snmp-server community ..... ro + +! +! +interface ethernet 24 + disable +! +interface ve 1 + ip address 10.130.4.1 255.255.0.0 + ipv6 address 2a09:6840:130::4:1/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-fd-vcore.switch.auro.re b/sw-fd-vcore.switch.auro.re new file mode 100644 index 0000000..4d9f9ce --- /dev/null +++ b/sw-fd-vcore.switch.auro.re @@ -0,0 +1,61 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 1 to 24 +! +vlan 11 by port + tagged ethe 1 to 24 +! +vlan 12 by port + tagged ethe 1 to 24 +! +vlan 13 by port + tagged ethe 1 to 24 +! +vlan 20 by port +! +vlan 110 by port + tagged ethe 1 to 24 +! +vlan 130 by port + tagged ethe 1 to 24 + router-interface ve 130 +! +vlan 131 by port + tagged ethe 1 to 24 +! +vlan 141 by port + tagged ethe 1 to 24 +! +vlan 967 by port + tagged ethe 1 to 28 +! +vlan 1110 by port +! +! +! +! +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname SW-FD-VCORE +username root password ..... +snmp-server community ..... ro + +! +! +interface ve 130 + ip address 10.130.1.14 255.255.0.0 + ipv6 address 2a09:6840:130::1:14/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-ff-uplink.switch.auro.re b/sw-ff-uplink.switch.auro.re new file mode 100644 index 0000000..e48dcb0 --- /dev/null +++ b/sw-ff-uplink.switch.auro.re @@ -0,0 +1,92 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 11 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 12 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 13 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 20 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 21 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 22 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 23 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 110 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 111 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 128 by port + tagged ethe 2 ethe 4 to 28 +! +vlan 129 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 130 by port + tagged ethe 2 ethe 4 to 28 + router-interface ve 1 +! +vlan 131 by port + tagged ethe 2 ethe 4 to 28 +! +vlan 132 by port + tagged ethe 3 to 28 +! +vlan 133 by port + tagged ethe 2 ethe 4 to 28 +! +vlan 134 by port + tagged ethe 2 ethe 4 to 28 +! +vlan 141 by port + tagged ethe 1 ethe 4 to 28 +! +vlan 142 by port + tagged ethe 1 ethe 4 to 28 +! +! +! +! +optical-monitor +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname sw-ff-uplink +username root password ..... +snmp-server community ..... ro + +! +! +interface ethernet 10 + link-aggregate configure key 10000 + link-aggregate active +! +interface ve 1 + ip address 10.130.1.3 255.255.0.0 + ipv6 address 2a09:6840:130::1:3/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-ff-vcore.switch.auro.re b/sw-ff-vcore.switch.auro.re new file mode 100644 index 0000000..9d6417e --- /dev/null +++ b/sw-ff-vcore.switch.auro.re @@ -0,0 +1,60 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 1 to 28 +! +vlan 11 by port + tagged ethe 1 to 28 +! +vlan 12 by port + tagged ethe 1 to 28 +! +vlan 13 by port + tagged ethe 1 to 28 +! +vlan 110 by port + tagged ethe 1 to 24 +! +vlan 128 by port + tagged ethe 3 to 4 ethe 7 ethe 9 to 28 +! +vlan 130 by port + tagged ethe 1 to 28 + router-interface ve 1 +! +vlan 131 by port + tagged ethe 1 to 28 +! +vlan 141 by port + tagged ethe 1 to 28 +! +vlan 967 by port + tagged ethe 1 to 28 +! +! +! +! +aaa authentication enable default local +aaa authentication login default local +enable aaa console +hostname sw-ff-vcore +username root password ..... +snmp-server community ..... ro + +! +! +interface ve 1 + ip address 10.130.1.32 255.255.0.0 + ipv6 address 2a09:6840:130::1:32/64 +! +! +! +! +! +lldp run +! +! +! +! +end + diff --git a/sw-fl-core.switch.auro.re b/sw-fl-core.switch.auro.re new file mode 100644 index 0000000..a829811 --- /dev/null +++ b/sw-fl-core.switch.auro.re @@ -0,0 +1,85 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 1 to 24 +! +vlan 11 by port + tagged ethe 1 to 24 +! +vlan 12 by port + tagged ethe 1 to 24 +! +vlan 13 by port + tagged ethe 1 to 24 +! +vlan 20 by port + tagged ethe 1 to 24 +! +vlan 21 by port + tagged ethe 1 to 24 +! +vlan 22 by port + tagged ethe 1 to 24 +! +vlan 23 by port + tagged ethe 1 to 24 +! +vlan 110 by port + tagged ethe 1 to 22 +! +vlan 111 by port + tagged ethe 1 to 22 +! +vlan 128 by port + tagged ethe 1 to 22 +! +vlan 129 by port + tagged ethe 1 to 22 +! +vlan 130 by port + tagged ethe 1 to 22 + router-interface ve 1 +! +vlan 131 by port + tagged ethe 1 to 22 +! +vlan 132 by port + tagged ethe 5 ethe 7 ethe 13 +! +vlan 141 by port + tagged ethe 1 to 24 +! +vlan 142 by port + tagged ethe 1 to 24 +! +! +! +! +optical-monitor +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname sw-fl-core +username root password ..... +snmp-server community ..... ro + +! +! +interface ethernet 22 + disable +! +interface ve 1 + ip address 10.130.1.1 255.255.0.0 + ipv6 address 2a09:6840:130::1:1/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-fl-vcore.switch.auro.re b/sw-fl-vcore.switch.auro.re new file mode 100644 index 0000000..ef3f219 --- /dev/null +++ b/sw-fl-vcore.switch.auro.re @@ -0,0 +1,59 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 2 by port +! +vlan 10 by port + tagged ethe 1 to 24 +! +vlan 11 by port + tagged ethe 1 to 24 +! +vlan 12 by port + tagged ethe 1 to 24 +! +vlan 13 by port + tagged ethe 1 to 24 +! +vlan 110 by port + tagged ethe 1 to 24 +! +vlan 130 by port + tagged ethe 1 to 24 + router-interface ve 130 +! +vlan 131 by port + tagged ethe 1 to 24 +! +vlan 141 by port + tagged ethe 1 to 24 +! +! +! +! +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname SW-FL-VCORE +username root password ..... +snmp-server community ..... ro + +! +! +interface management 1 + ip address 192.168.1.50 255.255.255.0 +! +interface ve 130 + ip address 10.130.1.24 255.255.0.0 + ipv6 address 2a09:6840:130::1:24/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-gk-core.switch.auro.re b/sw-gk-core.switch.auro.re new file mode 100644 index 0000000..9f827cc --- /dev/null +++ b/sw-gk-core.switch.auro.re @@ -0,0 +1,88 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 40 by port + tagged ethe 1 to 24 +! +vlan 41 by port + tagged ethe 1 to 24 +! +vlan 42 by port + tagged ethe 1 to 24 +! +vlan 43 by port + tagged ethe 1 to 24 +! +vlan 50 by port + tagged ethe 1 to 24 +! +vlan 51 by port + tagged ethe 1 to 24 +! +vlan 52 by port + tagged ethe 1 to 24 +! +vlan 53 by port + tagged ethe 1 to 24 +! +vlan 110 by port + tagged ethe 1 to 24 +! +vlan 111 by port + tagged ethe 1 to 24 +! +vlan 128 by port + tagged ethe 1 to 24 +! +vlan 129 by port + tagged ethe 1 to 24 +! +vlan 130 by port + tagged ethe 1 to 24 + untagged ethe 28 + router-interface ve 130 +! +vlan 131 by port + tagged ethe 1 to 24 + untagged ethe 25 +! +vlan 132 by port + tagged ethe 1 to 24 +! +vlan 133 by port + tagged ethe 1 to 24 +! +vlan 134 by port + tagged ethe 1 to 24 +! +vlan 144 by port + tagged ethe 1 to 24 +! +vlan 145 by port + tagged ethe 1 to 24 +! +! +! +! +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname sw-gk-core +username root password ..... + +! +! +interface ve 130 + ip address 10.130.5.1 255.255.0.0 + ipv6 address 2a09:6840:130::5:1/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-pn-core.switch.auro.re b/sw-pn-core.switch.auro.re new file mode 100644 index 0000000..41ab22d --- /dev/null +++ b/sw-pn-core.switch.auro.re @@ -0,0 +1,95 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 26 +! +vlan 20 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 21 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 22 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 23 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 30 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 31 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 32 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 33 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 110 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 111 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 120 by port + tagged ethe 13 ethe 24 +! +vlan 121 by port + tagged ethe 13 ethe 24 +! +vlan 128 by port + tagged ethe 13 to 24 ethe 26 to 28 +! +vlan 129 by port + tagged ethe 13 to 24 ethe 26 to 28 +! +vlan 130 by port + tagged ethe 1 to 24 ethe 26 + untagged ethe 25 + router-interface ve 130 +! +vlan 131 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 142 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 143 by port + tagged ethe 1 to 24 ethe 26 to 28 +! +vlan 964 by port + tagged ethe 1 to 24 ethe 27 to 28 +! +! +! +! +optical-monitor +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname SW-PN-CORE +username root password ..... +snmp-server community ..... ro + +! +! +interface ethernet 26 + disable +! +interface ve 130 + ip address 10.130.2.1 255.255.0.0 + ipv6 address 2a09:6840:130::2:1/64 +! +! +! +! +! +lldp run +! +! +! +! +end diff --git a/sw-r3-core.switch.auro.re b/sw-r3-core.switch.auro.re new file mode 100644 index 0000000..ece3804 --- /dev/null +++ b/sw-r3-core.switch.auro.re @@ -0,0 +1,84 @@ +vlan 1 name DEFAULT-VLAN by port +! +vlan 10 by port + tagged ethe 24 +! +vlan 11 by port + tagged ethe 24 +! +vlan 12 by port + tagged ethe 24 +! +vlan 13 by port + tagged ethe 24 +! +vlan 30 by port + tagged ethe 1 to 24 +! +vlan 31 by port + tagged ethe 1 to 24 +! +vlan 32 by port + tagged ethe 1 to 24 +! +vlan 33 by port + tagged ethe 1 to 24 +! +vlan 50 by port + tagged ethe 1 to 24 +! +vlan 110 by port + tagged ethe 1 to 24 +! +vlan 111 by port + tagged ethe 24 +! +vlan 128 by port + tagged ethe 24 +! +vlan 129 by port + tagged ethe 24 +! +vlan 130 by port + tagged ethe 1 to 24 + router-interface ve 1 +! +vlan 131 by port + tagged ethe 1 to 24 +! +vlan 141 by port + tagged ethe 24 +! +vlan 143 by port + tagged ethe 1 to 24 +! +! +! +! +optical-monitor +aaa authentication enable default local +aaa authentication login default local +enable telnet authentication +enable aaa console +hostname sw-r3-core +no telnet server +username root password ..... +password-change any +snmp-server community ..... ro + +! +! +interface ve 1 + ip address 10.130.3.1 255.255.0.0 + ipv6 address 2a09:6840:130::3:1/64 +! +! +! +! +! +lldp run +! +! +! +! +end