Update switch configs #2

Merged
shteryana merged 3 commits from test-setup into main 2021-08-12 12:54:43 +03:00
6 changed files with 207 additions and 309 deletions

View File

@ -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

View File

@ -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
#

View File

@ -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
#

View File

@ -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@

View File

@ -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@

View File

@ -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