Adding 2022 switches config to the configuration
This commit is contained in:
parent
4597eebb18
commit
71c3936703
|
@ -0,0 +1,173 @@
|
|||
!TL-SG3210
|
||||
#####################################################################
|
||||
#
|
||||
# RECEPTIONSW for OpenFest 2022
|
||||
#
|
||||
# HW: TL-SG3210 1.0
|
||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||
#
|
||||
# 2022.10.01 - Initial
|
||||
#
|
||||
#####################################################################
|
||||
#
|
||||
vlan 2,10,20-25
|
||||
#
|
||||
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 25
|
||||
name "of-phones"
|
||||
#
|
||||
#
|
||||
#
|
||||
hostname "receptionsw"
|
||||
#
|
||||
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 185.117.82.66 4
|
||||
#
|
||||
spanning-tree
|
||||
spanning-tree mode mstp
|
||||
spanning-tree mst configuration
|
||||
name @_PW_@
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
snmp-server
|
||||
snmp-server engineID local 80002e5703c46e1f44c0e8
|
||||
snmp-server community @_PW_@ read-only viewDefault
|
||||
#
|
||||
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
|
||||
snmp-server traps vlan create
|
||||
snmp-server traps vlan delete
|
||||
#
|
||||
interface gigabitEthernet 1/0/1
|
||||
switchport access vlan 25
|
||||
description "reception/phone"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/2
|
||||
switchport access vlan 25
|
||||
description "reception/printer"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/3
|
||||
switchport access vlan 21
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "reception/pc1"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/4
|
||||
switchport access vlan 21
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "reception/pc2"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/5
|
||||
switchport access vlan 21
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "reception/pc3"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/6
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/7
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/8
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20,21,25
|
||||
description "reception/uplink"
|
||||
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
|
||||
speed 1000
|
||||
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
|
||||
#
|
||||
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
|
||||
|
|
@ -0,0 +1,172 @@
|
|||
!TL-SG3210
|
||||
#####################################################################
|
||||
#
|
||||
# TEAMSW for OpenFest 2022
|
||||
#
|
||||
# HW: TL-SG3210 1.0
|
||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||
#
|
||||
# 2022.10.01 - Initial
|
||||
#
|
||||
#####################################################################
|
||||
#
|
||||
vlan 2,10,20-25
|
||||
#
|
||||
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 25
|
||||
name "of-phones"
|
||||
#
|
||||
#
|
||||
#
|
||||
hostname "teamsw"
|
||||
#
|
||||
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 185.117.82.66 4
|
||||
#
|
||||
spanning-tree
|
||||
spanning-tree mode mstp
|
||||
spanning-tree mst configuration
|
||||
name @_PW_@
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
snmp-server
|
||||
snmp-server engineID local 80002e5703c46e1f44c0e8
|
||||
snmp-server community @_PW_@ read-only viewDefault
|
||||
#
|
||||
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
|
||||
snmp-server traps vlan create
|
||||
snmp-server traps vlan delete
|
||||
#
|
||||
interface gigabitEthernet 1/0/1
|
||||
switchport access vlan 25
|
||||
description "teamsw/phone"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/2
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20,22
|
||||
description "teamsw/ap-cf-ch"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/3
|
||||
switchport access vlan 24
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "teamsw/overflow"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/4
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/5
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/6
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/7
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/8
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20,22,24,25
|
||||
description "teamsw/uplink"
|
||||
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
|
||||
speed 1000
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
ip management-vlan 20
|
||||
interface vlan 20
|
||||
ip address 10.20.0.26 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
|
||||
|
|
@ -0,0 +1,175 @@
|
|||
!TL-SG3210
|
||||
#####################################################################
|
||||
#
|
||||
# VOCSW-A for OpenFest 2022
|
||||
#
|
||||
# HW: TL-SG3210 1.0
|
||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||
#
|
||||
# 2022.10.01 - Initial
|
||||
#
|
||||
#####################################################################
|
||||
#
|
||||
vlan 2,10,20-25
|
||||
#
|
||||
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 25
|
||||
name "of-phones"
|
||||
#
|
||||
#
|
||||
#
|
||||
hostname "vocsw-A"
|
||||
#
|
||||
mac address-table aging-time 300
|
||||
#
|
||||
logging buffer 6
|
||||
no logging file flash
|
||||
#
|
||||
enable password @EN_PW@
|
||||
#
|
||||
system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4
|
||||
#
|
||||
spanning-tree
|
||||
spanning-tree mode mstp
|
||||
spanning-tree mst configuration
|
||||
name @_PW_@
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
snmp-server
|
||||
snmp-server engineID local 80002e5703c46e1f44c0e8
|
||||
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 traps flash
|
||||
snmp-server traps spanning-tree topologychange
|
||||
snmp-server traps cpu
|
||||
snmp-server traps vlan create
|
||||
snmp-server traps vlan delete
|
||||
#
|
||||
interface gigabitEthernet 1/0/1
|
||||
switchport access vlan 25
|
||||
description "voc-A/phone"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/2
|
||||
switchport access vlan 23
|
||||
description "voc-A/streamer"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/3
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-A/videoswitcher"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/4
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-A/scaler"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/5
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-A/control-1"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/6
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-A/control-2"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/7
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-A/control-3"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/8
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20,23,25
|
||||
description "voc-A/uplink"
|
||||
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
|
||||
speed 1000
|
||||
shutdown
|
||||
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
|
||||
#
|
||||
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
|
||||
|
|
@ -0,0 +1,175 @@
|
|||
!TL-SG3210
|
||||
#####################################################################
|
||||
#
|
||||
# VOCSW-B for OpenFest 2022
|
||||
#
|
||||
# HW: TL-SG3210 1.0
|
||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||
#
|
||||
# 2022.10.01 - Initial
|
||||
#
|
||||
#####################################################################
|
||||
#
|
||||
vlan 2,10,20-25
|
||||
#
|
||||
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 25
|
||||
name "of-phones"
|
||||
#
|
||||
#
|
||||
#
|
||||
hostname "vocsw-B"
|
||||
#
|
||||
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 185.117.82.66 4
|
||||
#
|
||||
spanning-tree
|
||||
spanning-tree mode mstp
|
||||
spanning-tree mst configuration
|
||||
name @_PW_@
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
snmp-server
|
||||
snmp-server engineID local 80002e5703c46e1f44c0e8
|
||||
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 traps flash
|
||||
snmp-server traps spanning-tree topologychange
|
||||
snmp-server traps cpu
|
||||
snmp-server traps vlan create
|
||||
snmp-server traps vlan delete
|
||||
#
|
||||
interface gigabitEthernet 1/0/1
|
||||
switchport access vlan 25
|
||||
description "voc-B/phone"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/2
|
||||
switchport access vlan 23
|
||||
description "voc-B/streamer"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/3
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-B/videoswitcher"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/4
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-B/scaler"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/5
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-B/control-1"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/6
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-B/control-2"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/7
|
||||
switchport access vlan 23
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
description "voc-B/control-3"
|
||||
|
||||
#
|
||||
interface gigabitEthernet 1/0/8
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20,23,25
|
||||
description "voc-B/uplink"
|
||||
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
|
||||
speed 1000
|
||||
shutdown
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
|
||||
#
|
||||
ip management-vlan 20
|
||||
interface vlan 20
|
||||
ip address 10.20.0.22 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
|
||||
|
|
@ -0,0 +1,171 @@
|
|||
!TL-SG3210
|
||||
#####################################################################
|
||||
#
|
||||
# VOCSW-D for OpenFest 2019
|
||||
#
|
||||
# HW: TL-SG3210 1.0
|
||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||
#
|
||||
# 2022.10.01 - Initial
|
||||
#
|
||||
#####################################################################
|
||||
#
|
||||
vlan 2,10,20-25
|
||||
#
|
||||
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 25
|
||||
name "of-phones"
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
hostname "vocsw-D"
|
||||
#
|
||||
mac address-table aging-time 300
|
||||
#
|
||||
logging buffer 6
|
||||
no logging file flash
|
||||
#
|
||||
enable password @EN_PW@
|
||||
#
|
||||
system-time ntp UTC+02:00 10.20.0.1 185.117.82.66 4
|
||||
#
|
||||
spanning-tree
|
||||
spanning-tree mode mstp
|
||||
spanning-tree mst configuration
|
||||
name @_PW_@
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
snmp-server
|
||||
snmp-server engineID local 80002e5703c46e1f44c0e8
|
||||
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 traps flash
|
||||
snmp-server traps spanning-tree topologychange
|
||||
snmp-server traps cpu
|
||||
snmp-server traps vlan create
|
||||
snmp-server traps vlan delete
|
||||
#
|
||||
interface gigabitEthernet 1/0/1
|
||||
switchport access vlan 25
|
||||
description "voc-D/phone"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/2
|
||||
switchport access vlan 21
|
||||
description "gaming-workshop"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/3
|
||||
switchport access vlan 23
|
||||
description "voc-D/cambox"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/4
|
||||
switchport access vlan 23
|
||||
description "voc-D/slidesbox"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/5
|
||||
switchport access vlan 23
|
||||
description "voc-D/control-1"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/6
|
||||
switchport access vlan 23
|
||||
description "voc-D/control-2"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/7
|
||||
switchport access vlan 23
|
||||
description "voc-D/control-3"
|
||||
spanning-tree
|
||||
spanning-tree common-config portfast enable
|
||||
#
|
||||
interface gigabitEthernet 1/0/8
|
||||
switchport mode trunk
|
||||
switchport trunk allowed vlan 20-21,23,25
|
||||
switchport pvid 23
|
||||
description "voc-D/uplink"
|
||||
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
|
||||
speed 1000
|
||||
shutdown
|
||||
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
|
||||
#
|
||||
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
|
Loading…
Reference in New Issue