From e448738006e2648b91b655ef7deb83c5645dd2f4 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Sat, 22 Oct 2016 18:15:54 +0300 Subject: [PATCH] configs for camsw and mussw --- switch-configs/camsw.cfg | 161 +++++++++++++++++++++++++++++++++++++++ switch-configs/mussw.cfg | 160 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 321 insertions(+) create mode 100644 switch-configs/camsw.cfg create mode 100644 switch-configs/mussw.cfg diff --git a/switch-configs/camsw.cfg b/switch-configs/camsw.cfg new file mode 100644 index 0000000..626d0ef --- /dev/null +++ b/switch-configs/camsw.cfg @@ -0,0 +1,161 @@ +!TL-SG3210 +# +vlan 2,10,20-24 +# +vlan 2 +name "initlab" +# +vlan 10 +name "of-ext" +# +vlan 20 +name "of-mgmt" +# +vlan 21 +name "of-wired" +# +vlan 22 +name "of-wifi" +# +vlan 23 +name "of-video" +# +vlan 24 +name "of-overflow" +# +# +# +# +hostname "camsw" +# +mac address-table aging-time 300 +# +logging buffer 6 +no logging file flash +# +enable password @PW@ +# +system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4 +# +spanning-tree +spanning-tree mode mstp +spanning-tree mst configuration + name openfest +# +# +user name admin privilege admin password 0 @PW@ +# +# +no ip http server +# +# +# +# +# +snmp-server +snmp-server engineID local 80002e5703c46e1f44c0a8 +snmp-server community "@SNMP_PW" read-only "viewDefault" +# +snmp-server host 10.100.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server traps flash +snmp-server traps cpu +snmp-server traps memory +# +interface gigabitEthernet 1/0/1 + switchport mode trunk + switchport trunk allowed vlan 20-24 + description "receptionsw/tr" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/2 + switchport mode trunk + switchport trunk allowed vlan 20-24 + description "wssw/trunk" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/3 + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/4 + switchport access vlan 23 + description "camera/intercom" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/5 + switchport mode trunk + switchport trunk allowed vlan 20,22 + description "ap-c-2" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/6 + switchport mode trunk + switchport trunk allowed vlan 20,22 + description "ap-c-1" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/7 + switchport access vlan 23 + description "usersw/video" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/8 + switchport access vlan 22 + description "speaker" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/9 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/10 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +ip management-vlan 20 +interface vlan 20 +ip address 10.20.0.16 255.255.255.0 10.20.0.1 +# +# +line vty 0 0 +password @PW@ +login +# +line vty 1 1 +password @PW@ +login +# +line vty 2 2 +password @PW@ +login +# +line vty 3 3 +password @PW@ +login +# +line vty 4 4 +password @PW@ +login +# +line vty 5 5 +password @PW@ +login +# +end + + diff --git a/switch-configs/mussw.cfg b/switch-configs/mussw.cfg new file mode 100644 index 0000000..f223b91 --- /dev/null +++ b/switch-configs/mussw.cfg @@ -0,0 +1,160 @@ +!TL-SG3210 +# +vlan 2,10,20-24,100 +# +vlan 2 +name "initlab" +# +vlan 10 +name "of-ext" +# +vlan 20 +name "of-mgmt" +# +vlan 21 +name "of-wired" +# +vlan 22 +name "of-wifi" +# +vlan 23 +name "of-video" +# +vlan 24 +name "of-overflow" +# +vlan 100 +name "mgmt" +# +# +# +# +hostname "mussw" +# +mac address-table aging-time 300 +# +logging buffer 6 +no logging file flash +# +enable password @PW@ +# +system-time ntp UTC+02:00 10.20.0.1 79.98.105.18 4 +# +spanning-tree +spanning-tree mode mstp +spanning-tree mst configuration + name openfest +# +# +user name admin privilege admin password 0 @PW@ +# +# +no ip http server +# +# +# +# +# +snmp-server +snmp-server engineID local 80002e5703c46e1f44c0e8 +snmp-server community "@SNMP_PW@" read-only "viewDefault" +# +snmp-server host 10.100.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server host 10.20.0.1 161 "monitoring" smode v2c slev noAuthNoPriv type trap +snmp-server traps flash +snmp-server traps cpu +snmp-server traps memory +# +interface gigabitEthernet 1/0/1 + switchport mode trunk + switchport trunk allowed vlan 20-24,100 + description "wssw/trunk" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/2 + switchport mode trunk + switchport trunk allowed vlan 20-24,100 + description "f2sw/trunk" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/3 + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/4 + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/5 + switchport mode trunk + switchport trunk allowed vlan 20,22,100 + description "ap-music-1-ac" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/6 + switchport access vlan 21 + description "usersw/music" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/7 + switchport access vlan 23 + description "video/fosbox" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/8 + switchport access vlan 21 + description "lecturer/mus" + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/9 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +interface gigabitEthernet 1/0/10 + speed 1000 + duplex full + shutdown + spanning-tree + spanning-tree common-config portfast enable +# +ip management-vlan 20 +interface vlan 20 +ip address 10.20.0.18 255.255.255.0 10.20.0.1 +# +# +line vty 0 0 +password @PW@ +login +# +line vty 1 1 +password @PW@ +login +# +line vty 2 2 +password @PW@ +login +# +line vty 3 3 +password @PW@ +login +# +line vty 4 4 +password @PW@ +login +# +line vty 5 5 +password @PW@ +login +# +end