Update switch configs #2

Merged
shteryana merged 3 commits from test-setup into main 2021-08-12 12:54:43 +03:00
5 changed files with 168 additions and 211 deletions
Showing only changes of commit e531285d0f - Show all commits

View File

@ -10,13 +10,7 @@
# #
##################################################################### #####################################################################
# #
vlan 2,10,20-25 vlan 20-23,25
#
vlan 2
name "initlab"
#
vlan 10
name "of-ext"
# #
vlan 20 vlan 20
name "of-mgmt" name "of-mgmt"
@ -30,14 +24,12 @@ name "of-wifi"
vlan 23 vlan 23
name "of-video" name "of-video"
# #
vlan 24
name "of-overflow"
#
vlan 25 vlan 25
name "of-phones" name "of-phones"
# #
# #
# #
#
hostname "nocsw" hostname "nocsw"
# #
mac address-table aging-time 300 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
spanning-tree mode mstp spanning-tree mode mstp
spanning-tree priority 16384
spanning-tree mst configuration 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
snmp-server engineID local 80002e5703c46e1f44c0e8 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 flash
snmp-server traps spanning-tree topologychange snmp-server traps spanning-tree topologychange
snmp-server traps cpu snmp-server traps cpu
@ -74,78 +68,73 @@ snmp-server traps vlan delete
# #
interface gigabitEthernet 1/0/1 interface gigabitEthernet 1/0/1
switchport access vlan 25 switchport access vlan 25
description "nocsw/phone" description "noc/phone"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/2 interface gigabitEthernet 1/0/2
switchport access vlan 23 switchport access vlan 20
description "nocsw/streamer" description "noc/mon-laptop"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport access vlan 23 switchport access vlan 23
description "noc/fsdm-laptop"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "nocsw/videoswitcher"
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport access vlan 23 switchport access vlan 20
description "noc/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "nocsw/scaler"
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport access vlan 23 switchport access vlan 20
description "noc/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "nocsw/control-1"
# #
interface gigabitEthernet 1/0/6 interface gigabitEthernet 1/0/6
switchport access vlan 23 switchport access vlan 20
description "noc/free"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "nocsw/control-2"
# #
interface gigabitEthernet 1/0/7 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
spanning-tree common-config portfast enable spanning-tree common-config port-priority 64
description "nocsw/control-3"
# #
interface gigabitEthernet 1/0/8 interface gigabitEthernet 1/0/8
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 20,23,25 switchport trunk allowed vlan 20-23,25
description "nocsw/uplink" description "noc/down-rcpt"
spanning-tree spanning-tree
spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/9 interface gigabitEthernet 1/0/9
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/10 interface gigabitEthernet 1/0/10
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
ip management-vlan 20 ip management-vlan 20
interface 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 line vty 0 0
password @PW@ password @PW@

View File

@ -10,13 +10,7 @@
# #
##################################################################### #####################################################################
# #
vlan 2,10,20-25 vlan 20-23,25
#
vlan 2
name "initlab"
#
vlan 10
name "of-ext"
# #
vlan 20 vlan 20
name "of-mgmt" name "of-mgmt"
@ -30,14 +24,12 @@ name "of-wifi"
vlan 23 vlan 23
name "of-video" name "of-video"
# #
vlan 24
name "of-overflow"
#
vlan 25 vlan 25
name "of-phones" name "of-phones"
# #
# #
# #
#
hostname "receptionsw" hostname "receptionsw"
# #
mac address-table aging-time 300 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
spanning-tree mode mstp spanning-tree mode mstp
spanning-tree priority 61440
spanning-tree mst configuration 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
snmp-server engineID local 80002e5703c46e1f44c0e8 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 flash
snmp-server traps spanning-tree topologychange snmp-server traps spanning-tree topologychange
snmp-server traps cpu snmp-server traps cpu
@ -74,76 +68,73 @@ snmp-server traps vlan delete
# #
interface gigabitEthernet 1/0/1 interface gigabitEthernet 1/0/1
switchport access vlan 25 switchport access vlan 25
description "reception/phone" description "rcpt/phone"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/2 interface gigabitEthernet 1/0/2
switchport access vlan 25 switchport access vlan 21
description "reception/printer" description "rcpt/printer"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport access vlan 21 switchport access vlan 21
description "rcpt/pc1"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc1"
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport access vlan 21 switchport access vlan 21
description "rcpt/pc2"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc2"
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport access vlan 21 switchport access vlan 21
description "rcpt/pc3"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "reception/pc3"
# #
interface gigabitEthernet 1/0/6 interface gigabitEthernet 1/0/6
switchport access vlan 21
description "rcpt/free"
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/7 interface gigabitEthernet 1/0/7
shutdown switchport mode trunk
switchport trunk allowed vlan 20-23,25
description "rcpt/uplink-noc"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config port-priority 64
# #
interface gigabitEthernet 1/0/8 interface gigabitEthernet 1/0/8
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 20,21,25 switchport trunk allowed vlan 20-23,25
description "reception/uplink" description "rcpt/down-ws"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config int-cost 100000
# #
interface gigabitEthernet 1/0/9 interface gigabitEthernet 1/0/9
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/10 interface gigabitEthernet 1/0/10
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
ip management-vlan 20 ip management-vlan 20
interface 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 line vty 0 0
password @PW@ password @PW@

View File

@ -10,36 +10,27 @@
# #
##################################################################### #####################################################################
# #
vlan 2,10,20-25 vlan 20-23,25
#
vlan 2
name "initlab"
#
vlan 10
name "of-ext"
# #
vlan 20 vlan 20
name "of-mgmt" name "mgmt"
# #
vlan 21 vlan 21
name "of-wired" name "wired"
# #
vlan 22 vlan 22
name "of-wifi" name "wifi"
# #
vlan 23 vlan 23
name "of-video" name "video"
#
vlan 24
name "of-overflow"
# #
vlan 25 vlan 25
name "of-phones" name "phones"
# #
# #
# #
# #
hostname "scenesw" hostname "stage"
# #
mac address-table aging-time 300 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
spanning-tree mode mstp spanning-tree mode mstp
spanning-tree priority 8192
spanning-tree mst configuration 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
snmp-server engineID local 80002e5703c46e1f44c0e8 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 flash
snmp-server traps spanning-tree topologychange snmp-server traps spanning-tree topologychange
snmp-server traps cpu snmp-server traps cpu
@ -74,75 +67,76 @@ snmp-server traps vlan create
snmp-server traps vlan delete snmp-server traps vlan delete
# #
interface gigabitEthernet 1/0/1 interface gigabitEthernet 1/0/1
switchport access vlan 25 switchport access vlan 22
description "scenesw/phone" description "stagesw/ap"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/2 interface gigabitEthernet 1/0/2
switchport access vlan 21 switchport access vlan 23
description "gaming-workshop" description "stage/presenter"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport access vlan 23 switchport access vlan 23
description "scenesw/cambox" description "stage/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport access vlan 23 switchport access vlan 23
description "scenesw/slidesbox" description "stage/free2"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport access vlan 23 switchport access vlan 23
description "scenesw/control-1" description "stagesw/scaler"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/6 interface gigabitEthernet 1/0/6
switchport access vlan 23 switchport access vlan 23
description "scenesw/control-2" description "stage/fm-slides"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/7 interface gigabitEthernet 1/0/7
switchport access vlan 23 switchport mode trunk
description "scenesw/control-3" switchport trunk allowed vlan 20-23,25
description "stage/uplink-voc"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config port-priority 64
# #
interface gigabitEthernet 1/0/8 interface gigabitEthernet 1/0/8
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 20-21,23,25 switchport trunk allowed vlan 20-23,25
switchport pvid 23 description "stage/down-noc"
description "scenesw/uplink" spanning-tree
#
interface gigabitEthernet 1/0/9
switchport access vlan 23
description "stagesw/wired9"
speed 1000 speed 1000
duplex full duplex full
spanning-tree spanning-tree
spanning-tree common-config portfast enable 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 interface gigabitEthernet 1/0/10
switchport access vlan 23
description "stagesw/wired10"
speed 1000 speed 1000
shutdown duplex full
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
ip management-vlan 20 ip management-vlan 20
interface 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 line vty 0 0
password @PW@ password @PW@

View File

@ -10,31 +10,23 @@
# #
##################################################################### #####################################################################
# #
vlan 2,10,20-25 vlan 20-23,25
#
vlan 2
name "initlab"
#
vlan 10
name "of-ext"
# #
vlan 20 vlan 20
name "of-mgmt" name "mgmt"
# #
vlan 21 vlan 21
name "of-wired" name "wired"
# #
vlan 22 vlan 22
name "of-wifi" name "wifi"
# #
vlan 23 vlan 23
name "of-video" name "video"
#
vlan 24
name "of-overflow"
# #
vlan 25 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
spanning-tree mode mstp spanning-tree mode mstp
spanning-tree priority 4096
spanning-tree mst configuration 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
snmp-server engineID local 80002e5703c46e1f44c0e8 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 flash
snmp-server traps spanning-tree topologychange snmp-server traps spanning-tree topologychange
snmp-server traps cpu snmp-server traps cpu
@ -77,75 +71,70 @@ interface gigabitEthernet 1/0/1
description "vocsw/phone" description "vocsw/phone"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/2 interface gigabitEthernet 1/0/2
switchport access vlan 23 switchport access vlan 23
description "vocsw/streamer" description "vocsw/cambox"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport access vlan 23 switchport access vlan 23
description "vocsw/switcher"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "vocsw/videoswitcher"
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport access vlan 23 switchport access vlan 23
description "vocsw/behringer"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "vocsw/scaler"
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport access vlan 23 switchport access vlan 23
description "vocsw/remote-ads"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "vocsw/control-1"
# #
interface gigabitEthernet 1/0/6 interface gigabitEthernet 1/0/6
switchport access vlan 23 switchport access vlan 23
description "voc/backup-terad"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "vocsw/control-2"
# #
interface gigabitEthernet 1/0/7 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
spanning-tree common-config portfast enable spanning-tree common-config port-priority 64
description "vocsw/control-3"
# #
interface gigabitEthernet 1/0/8 interface gigabitEthernet 1/0/8
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 20,23,25 switchport trunk allowed vlan 20-23,25
description "vocsw/uplink" description "voc/down-stage"
spanning-tree spanning-tree
spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/9 interface gigabitEthernet 1/0/9
switchport access vlan 23
description "vocsw/control-1"
speed 1000 speed 1000
shutdown duplex full
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/10 interface gigabitEthernet 1/0/10
switchport access vlan 23
description "vocsw/free"
speed 1000 speed 1000
shutdown duplex full
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
ip management-vlan 20 ip management-vlan 20
interface 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 line vty 0 0
password @PW@ password @PW@

View File

@ -10,13 +10,7 @@
# #
##################################################################### #####################################################################
# #
vlan 2,10,20-25 vlan 20-23,25
#
vlan 2
name "initlab"
#
vlan 10
name "of-ext"
# #
vlan 20 vlan 20
name "of-mgmt" name "of-mgmt"
@ -30,14 +24,12 @@ name "of-wifi"
vlan 23 vlan 23
name "of-video" name "of-video"
# #
vlan 24
name "of-overflow"
#
vlan 25 vlan 25
name "of-phones" name "of-phones"
# #
# #
# #
#
hostname "ws-sw" hostname "ws-sw"
# #
mac address-table aging-time 300 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
spanning-tree mode mstp spanning-tree mode mstp
spanning-tree priority 16384
spanning-tree mst configuration 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
snmp-server engineID local 80002e5703c46e1f44c0e8 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 flash
snmp-server traps spanning-tree topologychange snmp-server traps spanning-tree topologychange
snmp-server traps cpu snmp-server traps cpu
@ -74,78 +68,78 @@ snmp-server traps vlan delete
# #
interface gigabitEthernet 1/0/1 interface gigabitEthernet 1/0/1
switchport access vlan 25 switchport access vlan 25
description "ws-sw/phone" description "ws/phone"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/2 interface gigabitEthernet 1/0/2
switchport access vlan 23 switchport access vlan 21
description "ws-sw/voctop" description "ws/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/3 interface gigabitEthernet 1/0/3
switchport access vlan 23 switchport access vlan 21
description "ws/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "ws-sw/cambox"
# #
interface gigabitEthernet 1/0/4 interface gigabitEthernet 1/0/4
switchport access vlan 23 switchport access vlan 21
description "ws/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "ws-sw/slidesbox"
# #
interface gigabitEthernet 1/0/5 interface gigabitEthernet 1/0/5
switchport access vlan 23 switchport access vlan 21
description "ws/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "ws-sw/control-1"
# #
interface gigabitEthernet 1/0/6 interface gigabitEthernet 1/0/6
switchport access vlan 23 switchport access vlan 21
description "ws/free"
shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
description "ws-sw/control-2"
# #
interface gigabitEthernet 1/0/7 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
spanning-tree common-config portfast enable spanning-tree common-config int-cost 100000
description "ws-sw/control-3"
# #
interface gigabitEthernet 1/0/8 interface gigabitEthernet 1/0/8
switchport mode trunk switchport mode trunk
switchport trunk allowed vlan 20,23,25 switchport trunk allowed vlan 20-23,25
description "ws-sw/uplink" description "ws/uplink-core"
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config port-priority 64
# #
interface gigabitEthernet 1/0/9 interface gigabitEthernet 1/0/9
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
interface gigabitEthernet 1/0/10 interface gigabitEthernet 1/0/10
speed 1000 speed 1000
duplex full
shutdown shutdown
spanning-tree spanning-tree
spanning-tree common-config portfast enable spanning-tree common-config portfast enable
# #
ip management-vlan 20 ip management-vlan 20
interface 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 line vty 0 0
password @PW@ password @PW@