From e531285d0f80624027ee7124091077050b55ccdf Mon Sep 17 00:00:00 2001 From: Shteryana Shopova Date: Wed, 11 Aug 2021 13:20:32 +0300 Subject: [PATCH] Update switch configs with changes from test setup --- switch-configs/nocsw.cfg | 71 +++++++++++++---------------- switch-configs/receptionsw.cfg | 75 ++++++++++++++----------------- switch-configs/scenesw.cfg | 82 ++++++++++++++++------------------ switch-configs/vocsw.cfg | 73 +++++++++++++----------------- switch-configs/ws-sw.cfg | 78 +++++++++++++++----------------- 5 files changed, 168 insertions(+), 211 deletions(-) diff --git a/switch-configs/nocsw.cfg b/switch-configs/nocsw.cfg index 1e1595f..b6fb469 100644 --- a/switch-configs/nocsw.cfg +++ b/switch-configs/nocsw.cfg @@ -10,13 +10,7 @@ # ##################################################################### # -vlan 2,10,20-25 -# -vlan 2 -name "initlab" -# -vlan 10 -name "of-ext" +vlan 20-23,25 # vlan 20 name "of-mgmt" @@ -30,14 +24,12 @@ name "of-wifi" vlan 23 name "of-video" # -vlan 24 -name "of-overflow" -# vlan 25 name "of-phones" # # # +# hostname "nocsw" # mac address-table aging-time 300 @@ -51,10 +43,12 @@ system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4 # spanning-tree spanning-tree mode mstp +spanning-tree priority 16384 spanning-tree mst configuration -name openfest + name openfest # # +user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./ # # # @@ -63,9 +57,9 @@ name openfest # snmp-server snmp-server engineID local 80002e5703c46e1f44c0e8 -snmp-server community @SNMP_PW@ read-only viewDefault +snmp-server community @SNMP_PW@ read-only "viewDefault" # -snmp-server host 10.20.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 spanning-tree topologychange snmp-server traps cpu @@ -74,78 +68,73 @@ snmp-server traps vlan delete # interface gigabitEthernet 1/0/1 switchport access vlan 25 - description "nocsw/phone" + description "noc/phone" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/2 - switchport access vlan 23 - description "nocsw/streamer" + switchport access vlan 20 + description "noc/mon-laptop" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/3 switchport access vlan 23 + description "noc/fsdm-laptop" spanning-tree spanning-tree common-config portfast enable - description "nocsw/videoswitcher" - # interface gigabitEthernet 1/0/4 - switchport access vlan 23 + switchport access vlan 20 + description "noc/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "nocsw/scaler" - # interface gigabitEthernet 1/0/5 - switchport access vlan 23 + switchport access vlan 20 + description "noc/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "nocsw/control-1" - # interface gigabitEthernet 1/0/6 - switchport access vlan 23 + switchport access vlan 20 + description "noc/free" spanning-tree spanning-tree common-config portfast enable - description "nocsw/control-2" - # interface gigabitEthernet 1/0/7 - switchport access vlan 23 + switchport mode trunk + switchport trunk allowed vlan 20-23,25 + description "noc/stage-uplink" spanning-tree - spanning-tree common-config portfast enable - description "nocsw/control-3" - + spanning-tree common-config port-priority 64 # interface gigabitEthernet 1/0/8 switchport mode trunk - switchport trunk allowed vlan 20,23,25 - description "nocsw/uplink" + switchport trunk allowed vlan 20-23,25 + description "noc/down-rcpt" 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.28 255.255.255.0 10.20.0.1 +ip address 10.20.0.14 255.255.255.0 10.20.0.1 +# # line vty 0 0 password @PW@ @@ -155,7 +144,7 @@ line vty 1 1 password @PW@ login # -line vty 2 2 +line vty 2 2 password @PW@ login # diff --git a/switch-configs/receptionsw.cfg b/switch-configs/receptionsw.cfg index 09e40e1..2c50a64 100644 --- a/switch-configs/receptionsw.cfg +++ b/switch-configs/receptionsw.cfg @@ -10,13 +10,7 @@ # ##################################################################### # -vlan 2,10,20-25 -# -vlan 2 -name "initlab" -# -vlan 10 -name "of-ext" +vlan 20-23,25 # vlan 20 name "of-mgmt" @@ -30,14 +24,12 @@ name "of-wifi" vlan 23 name "of-video" # -vlan 24 -name "of-overflow" -# vlan 25 name "of-phones" # # # +# hostname "receptionsw" # mac address-table aging-time 300 @@ -51,10 +43,12 @@ system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4 # spanning-tree spanning-tree mode mstp +spanning-tree priority 61440 spanning-tree mst configuration -name openfest + name openfest # # +user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./ # # # @@ -63,9 +57,9 @@ name openfest # snmp-server snmp-server engineID local 80002e5703c46e1f44c0e8 -snmp-server community @SNMP_PW@ read-only viewDefault +snmp-server community @SNMP_PW@ read-only "viewDefault" # -snmp-server host 10.20.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 spanning-tree topologychange snmp-server traps cpu @@ -74,76 +68,73 @@ snmp-server traps vlan delete # interface gigabitEthernet 1/0/1 switchport access vlan 25 - description "reception/phone" + description "rcpt/phone" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/2 - switchport access vlan 25 - description "reception/printer" + switchport access vlan 21 + description "rcpt/printer" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/3 switchport access vlan 21 + description "rcpt/pc1" spanning-tree spanning-tree common-config portfast enable - description "reception/pc1" - # interface gigabitEthernet 1/0/4 switchport access vlan 21 + description "rcpt/pc2" spanning-tree spanning-tree common-config portfast enable - description "reception/pc2" - # interface gigabitEthernet 1/0/5 switchport access vlan 21 + description "rcpt/pc3" spanning-tree spanning-tree common-config portfast enable - description "reception/pc3" - # interface gigabitEthernet 1/0/6 + switchport access vlan 21 + description "rcpt/free" shutdown spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/7 - shutdown + switchport mode trunk + switchport trunk allowed vlan 20-23,25 + description "rcpt/uplink-noc" spanning-tree - spanning-tree common-config portfast enable - + spanning-tree common-config port-priority 64 # interface gigabitEthernet 1/0/8 switchport mode trunk - switchport trunk allowed vlan 20,21,25 - description "reception/uplink" + switchport trunk allowed vlan 20-23,25 + description "rcpt/down-ws" spanning-tree - spanning-tree common-config portfast enable - + spanning-tree common-config int-cost 100000 # interface gigabitEthernet 1/0/9 speed 1000 - 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 +# +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.25 255.255.255.0 10.20.0.1 +ip address 10.20.0.15 255.255.255.0 10.20.0.1 +# # line vty 0 0 password @PW@ @@ -153,7 +144,7 @@ line vty 1 1 password @PW@ login # -line vty 2 2 +line vty 2 2 password @PW@ login # diff --git a/switch-configs/scenesw.cfg b/switch-configs/scenesw.cfg index 96a8cf2..d8c8b46 100644 --- a/switch-configs/scenesw.cfg +++ b/switch-configs/scenesw.cfg @@ -10,36 +10,27 @@ # ##################################################################### # -vlan 2,10,20-25 -# -vlan 2 -name "initlab" -# -vlan 10 -name "of-ext" +vlan 20-23,25 # vlan 20 -name "of-mgmt" +name "mgmt" # vlan 21 -name "of-wired" +name "wired" # vlan 22 -name "of-wifi" +name "wifi" # vlan 23 -name "of-video" -# -vlan 24 -name "of-overflow" +name "video" # vlan 25 -name "of-phones" +name "phones" # # # # -hostname "scenesw" +hostname "stage" # mac address-table aging-time 300 # @@ -52,10 +43,12 @@ system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4 # spanning-tree spanning-tree mode mstp +spanning-tree priority 8192 spanning-tree mst configuration -name openfest + name openfest # # +user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./ # # # @@ -64,9 +57,9 @@ name openfest # snmp-server snmp-server engineID local 80002e5703c46e1f44c0e8 -snmp-server community @SNMP_PW@ read-only viewDefault +snmp-server community @SNMP_PW@ read-only "viewDefault" # -snmp-server host 10.20.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 spanning-tree topologychange snmp-server traps cpu @@ -74,75 +67,76 @@ snmp-server traps vlan create snmp-server traps vlan delete # interface gigabitEthernet 1/0/1 - switchport access vlan 25 - description "scenesw/phone" + switchport access vlan 22 + description "stagesw/ap" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/2 - switchport access vlan 21 - description "gaming-workshop" + switchport access vlan 23 + description "stage/presenter" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/3 switchport access vlan 23 - description "scenesw/cambox" + description "stage/free" + shutdown spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/4 switchport access vlan 23 - description "scenesw/slidesbox" + description "stage/free2" + shutdown spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/5 switchport access vlan 23 - description "scenesw/control-1" + description "stagesw/scaler" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/6 switchport access vlan 23 - description "scenesw/control-2" + description "stage/fm-slides" spanning-tree spanning-tree common-config portfast enable # interface gigabitEthernet 1/0/7 - switchport access vlan 23 - description "scenesw/control-3" + switchport mode trunk + switchport trunk allowed vlan 20-23,25 + description "stage/uplink-voc" spanning-tree - spanning-tree common-config portfast enable + spanning-tree common-config port-priority 64 # interface gigabitEthernet 1/0/8 switchport mode trunk - switchport trunk allowed vlan 20-21,23,25 - switchport pvid 23 - description "scenesw/uplink" + switchport trunk allowed vlan 20-23,25 + description "stage/down-noc" + spanning-tree +# +interface gigabitEthernet 1/0/9 + switchport access vlan 23 + description "stagesw/wired9" speed 1000 duplex full spanning-tree spanning-tree common-config portfast enable - -# -interface gigabitEthernet 1/0/9 - speed 1000 - shutdown - spanning-tree - spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/10 + switchport access vlan 23 + description "stagesw/wired10" speed 1000 - shutdown + duplex full spanning-tree spanning-tree common-config portfast enable - # ip management-vlan 20 interface vlan 20 -ip address 10.20.0.24 255.255.255.0 10.20.0.1 +ip address 10.20.0.13 255.255.255.0 10.20.0.1 +# # line vty 0 0 password @PW@ diff --git a/switch-configs/vocsw.cfg b/switch-configs/vocsw.cfg index 02bb296..ee12a32 100644 --- a/switch-configs/vocsw.cfg +++ b/switch-configs/vocsw.cfg @@ -10,31 +10,23 @@ # ##################################################################### # -vlan 2,10,20-25 -# -vlan 2 -name "initlab" -# -vlan 10 -name "of-ext" +vlan 20-23,25 # vlan 20 -name "of-mgmt" +name "mgmt" # vlan 21 -name "of-wired" +name "wired" # vlan 22 -name "of-wifi" +name "wifi" # vlan 23 -name "of-video" -# -vlan 24 -name "of-overflow" +name "video" # vlan 25 -name "of-phones" +name "phones" +# # # # @@ -51,10 +43,12 @@ system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4 # spanning-tree spanning-tree mode mstp +spanning-tree priority 4096 spanning-tree mst configuration -name openfest + name openfest # # +user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./ # # # @@ -63,9 +57,9 @@ name openfest # snmp-server snmp-server engineID local 80002e5703c46e1f44c0e8 -snmp-server community @SNMP_PW@ read-only viewDefault +snmp-server community @SNMP_PW@ read-only "viewDefault" # -snmp-server host 10.20.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 spanning-tree topologychange snmp-server traps cpu @@ -77,75 +71,70 @@ interface gigabitEthernet 1/0/1 description "vocsw/phone" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/2 switchport access vlan 23 - description "vocsw/streamer" + description "vocsw/cambox" spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/3 switchport access vlan 23 + description "vocsw/switcher" spanning-tree spanning-tree common-config portfast enable - description "vocsw/videoswitcher" - # interface gigabitEthernet 1/0/4 switchport access vlan 23 + description "vocsw/behringer" spanning-tree spanning-tree common-config portfast enable - description "vocsw/scaler" - # interface gigabitEthernet 1/0/5 switchport access vlan 23 + description "vocsw/remote-ads" spanning-tree spanning-tree common-config portfast enable - description "vocsw/control-1" - # interface gigabitEthernet 1/0/6 switchport access vlan 23 + description "voc/backup-terad" spanning-tree spanning-tree common-config portfast enable - description "vocsw/control-2" - # interface gigabitEthernet 1/0/7 - switchport access vlan 23 + switchport mode trunk + switchport trunk allowed vlan 20-23,25 + description "voc/uplink-core" spanning-tree - spanning-tree common-config portfast enable - description "vocsw/control-3" - + spanning-tree common-config port-priority 64 # interface gigabitEthernet 1/0/8 switchport mode trunk - switchport trunk allowed vlan 20,23,25 - description "vocsw/uplink" + switchport trunk allowed vlan 20-23,25 + description "voc/down-stage" spanning-tree - spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/9 + switchport access vlan 23 + description "vocsw/control-1" speed 1000 - shutdown + duplex full spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/10 + switchport access vlan 23 + description "vocsw/free" speed 1000 - shutdown + duplex full spanning-tree spanning-tree common-config portfast enable - # ip management-vlan 20 interface vlan 20 -ip address 10.20.0.21 255.255.255.0 10.20.0.1 +ip address 10.20.0.12 255.255.255.0 10.20.0.1 +# # line vty 0 0 password @PW@ diff --git a/switch-configs/ws-sw.cfg b/switch-configs/ws-sw.cfg index 1338ce9..9118a76 100644 --- a/switch-configs/ws-sw.cfg +++ b/switch-configs/ws-sw.cfg @@ -10,13 +10,7 @@ # ##################################################################### # -vlan 2,10,20-25 -# -vlan 2 -name "initlab" -# -vlan 10 -name "of-ext" +vlan 20-23,25 # vlan 20 name "of-mgmt" @@ -30,14 +24,12 @@ name "of-wifi" vlan 23 name "of-video" # -vlan 24 -name "of-overflow" -# vlan 25 name "of-phones" # # # +# hostname "ws-sw" # mac address-table aging-time 300 @@ -51,10 +43,12 @@ system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4 # spanning-tree spanning-tree mode mstp +spanning-tree priority 16384 spanning-tree mst configuration -name openfest + name openfest # # +user name admin privilege admin secret 5 $1$B0B2B>B8G9E6J4J6D2H8D9@=D9H/A>L2$'}./ # # # @@ -63,9 +57,9 @@ name openfest # snmp-server snmp-server engineID local 80002e5703c46e1f44c0e8 -snmp-server community @SNMP_PW@ read-only viewDefault +snmp-server community @SNMP_PW@ read-only "viewDefault" # -snmp-server host 10.20.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 spanning-tree topologychange snmp-server traps cpu @@ -74,83 +68,83 @@ snmp-server traps vlan delete # interface gigabitEthernet 1/0/1 switchport access vlan 25 - description "ws-sw/phone" + description "ws/phone" + shutdown spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/2 - switchport access vlan 23 - description "ws-sw/voctop" + switchport access vlan 21 + description "ws/free" + shutdown spanning-tree spanning-tree common-config portfast enable - # interface gigabitEthernet 1/0/3 - switchport access vlan 23 + switchport access vlan 21 + description "ws/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "ws-sw/cambox" - # interface gigabitEthernet 1/0/4 - switchport access vlan 23 + switchport access vlan 21 + description "ws/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "ws-sw/slidesbox" - # interface gigabitEthernet 1/0/5 - switchport access vlan 23 + switchport access vlan 21 + description "ws/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "ws-sw/control-1" - # interface gigabitEthernet 1/0/6 - switchport access vlan 23 + switchport access vlan 21 + description "ws/free" + shutdown spanning-tree spanning-tree common-config portfast enable - description "ws-sw/control-2" - # interface gigabitEthernet 1/0/7 - switchport access vlan 23 + switchport mode trunk + switchport trunk allowed vlan 20-23,25 + description "ws/down-recept" spanning-tree - spanning-tree common-config portfast enable - description "ws-sw/control-3" - + spanning-tree common-config int-cost 100000 # interface gigabitEthernet 1/0/8 switchport mode trunk - switchport trunk allowed vlan 20,23,25 - description "ws-sw/uplink" + switchport trunk allowed vlan 20-23,25 + description "ws/uplink-core" spanning-tree - spanning-tree common-config portfast enable - + spanning-tree common-config port-priority 64 # 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.23 255.255.255.0 10.20.0.1 +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