From 13d46b1b3f5e02725d2645bac890afd1f367a662 Mon Sep 17 00:00:00 2001 From: Shteryana Shopova Date: Wed, 11 Aug 2021 13:06:23 +0300 Subject: [PATCH] Update core SW config with changes from test setup Note: final config is still TBD --- switch-configs/coresw.cfg | 137 +++++++++++--------------------------- 1 file changed, 39 insertions(+), 98 deletions(-) diff --git a/switch-configs/coresw.cfg b/switch-configs/coresw.cfg index 63618ef..65df11d 100644 --- a/switch-configs/coresw.cfg +++ b/switch-configs/coresw.cfg @@ -36,6 +36,7 @@ spanning-tree extend system-id spanning-tree mst configuration name openfest ! +spanning-tree mst 0 priority 0 ! ! ! @@ -90,20 +91,18 @@ interface FastEthernet0 shutdown ! interface GigabitEthernet1/0/1 - description DEBUG - switchport access vlan 20 + description phone-bar + switchport access vlan 25 switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/2 - description DEBUG/trunk switchport trunk encapsulation dot1q switchport mode trunk no cdp enable spanning-tree portfast trunk ! interface GigabitEthernet1/0/3 - description vin/backup switchport trunk encapsulation dot1q switchport mode trunk spanning-tree portfast trunk @@ -115,7 +114,6 @@ interface GigabitEthernet1/0/4 spanning-tree portfast trunk ! interface GigabitEthernet1/0/5 - description ap-cf-srv switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -123,7 +121,6 @@ interface GigabitEthernet1/0/5 spanning-tree portfast trunk ! interface GigabitEthernet1/0/6 - description ap-cf-f-l switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -131,7 +128,6 @@ interface GigabitEthernet1/0/6 spanning-tree portfast trunk ! interface GigabitEthernet1/0/7 - description ap-cf-f-r switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -139,7 +135,6 @@ interface GigabitEthernet1/0/7 spanning-tree portfast trunk ! interface GigabitEthernet1/0/8 - description ap-cf-b1 switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -147,7 +142,6 @@ interface GigabitEthernet1/0/8 spanning-tree portfast trunk ! interface GigabitEthernet1/0/9 - description ap-cf-a1 switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -155,15 +149,12 @@ interface GigabitEthernet1/0/9 spanning-tree portfast trunk ! interface GigabitEthernet1/0/10 - description ap-cf-a2 switchport trunk encapsulation dot1q switchport trunk native vlan 29 - switchport trunk allowed vlan 20,22,29 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/11 - description ap-cf-c1 + description ap-bar switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 @@ -171,138 +162,96 @@ interface GigabitEthernet1/0/11 spanning-tree portfast trunk ! interface GigabitEthernet1/0/12 - description ap-cf-qws switchport trunk encapsulation dot1q switchport trunk native vlan 29 - switchport trunk allowed vlan 20,22,29 + switchport trunk allowed vlan 20,22 switchport mode trunk + shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/13 + description ap-wc switchport trunk encapsulation dot1q switchport trunk native vlan 29 switchport trunk allowed vlan 20,22,29 switchport mode trunk - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/14 - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20,22 - switchport mode trunk - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/15 + description tmp:ap-stage switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20,22 + switchport trunk native vlan 29 + switchport trunk allowed vlan 20,22,29 switchport mode trunk - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/16 - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20,22 - switchport mode trunk - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/17 - description reception-sw - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/18 - description team-sw - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/19 - description vocsw-A + switchport access vlan 22 switchport trunk encapsulation dot1q switchport trunk allowed vlan 20-26 - switchport mode trunk + switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/20 - description vocsw-B - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/21 - description vocsw-C - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/22 - description vocsw-D - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/23 - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/24 - description presenter-A - switchport access vlan 22 - switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/25 - description presenter-B - switchport access vlan 22 - switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/26 - description presenter-C - switchport access vlan 22 - switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/27 - description cambox-B switchport access vlan 23 switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/28 - description cambox-C - switchport access vlan 23 - switchport mode access spanning-tree portfast trunk ! interface GigabitEthernet1/0/29 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/30 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/31 - shutdown + description voc-sw + switchport trunk encapsulation dot1q + switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/32 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/33 - shutdown + description ws-sw + switchport trunk encapsulation dot1q + switchport mode trunk spanning-tree portfast trunk ! interface GigabitEthernet1/0/34 @@ -314,27 +263,21 @@ interface GigabitEthernet1/0/35 spanning-tree portfast trunk ! interface GigabitEthernet1/0/36 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/37 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/38 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/39 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/40 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/41 - shutdown spanning-tree portfast trunk ! interface GigabitEthernet1/0/42 @@ -346,8 +289,12 @@ interface GigabitEthernet1/0/43 spanning-tree portfast trunk ! interface GigabitEthernet1/0/44 - shutdown + switchport access vlan 300 + switchport trunk encapsulation dot1q + switchport mode access spanning-tree portfast trunk + spanning-tree bpdufilter enable + spanning-tree bpduguard enable ! interface GigabitEthernet1/0/45 shutdown @@ -358,48 +305,42 @@ interface GigabitEthernet1/0/46 spanning-tree portfast trunk ! interface GigabitEthernet1/0/47 - shutdown - spanning-tree portfast trunk -! -interface GigabitEthernet1/0/48 - description techpark - switchport access vlan 2464 - switchport mode access - spanning-tree portfast trunk -! -interface GigabitEthernet1/0/49 - description f0sw - switchport trunk encapsulation dot1q - switchport trunk allowed vlan 20-26,29 - switchport mode trunk - spanning-tree portfast trunk -! -interface GigabitEthernet1/0/50 - description ipacct - switchport access vlan 999 - switchport mode access spanning-tree portfast trunk spanning-tree bpdufilter enable spanning-tree bpduguard enable ! +interface GigabitEthernet1/0/48 + spanning-tree portfast trunk +! +interface GigabitEthernet1/0/49 +! +interface GigabitEthernet1/0/50 + description ipacct +! interface GigabitEthernet1/0/51 ! interface GigabitEthernet1/0/52 ! interface TenGigabitEthernet1/0/1 -! -interface TenGigabitEthernet1/0/2 description vin switchport trunk encapsulation dot1q switchport mode trunk spanning-tree portfast trunk ! +interface TenGigabitEthernet1/0/2 +! interface Vlan1 no ip address + shutdown ! interface Vlan20 ip address 10.20.0.11 255.255.255.0 ! +interface Vlan29 + no ip address + spanning-tree portfast trunk +! +ip default-gateway 10.20.0.1 ip classless ! ip http server