Re Arrange for 2021
This commit is contained in:
parent
0b30704d03
commit
86c014582b
|
@ -0,0 +1,320 @@
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!
|
||||||
|
! NOCSW for OpenFest 2019
|
||||||
|
!
|
||||||
|
! HW: WS-C3750G-24TS
|
||||||
|
! SW: c3750-ipservicesk9-mz.122-55.SE6.bin
|
||||||
|
!
|
||||||
|
! 2018.07.29 - Initial
|
||||||
|
!
|
||||||
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
!
|
||||||
|
version 12.2
|
||||||
|
no service pad
|
||||||
|
service timestamps debug datetime msec
|
||||||
|
service timestamps log datetime msec
|
||||||
|
no service password-encryption
|
||||||
|
!
|
||||||
|
hostname nocsw
|
||||||
|
!
|
||||||
|
boot-start-marker
|
||||||
|
boot-end-marker
|
||||||
|
!
|
||||||
|
enable password @EN_PW@
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
no aaa new-model
|
||||||
|
switch 1 provision ws-c3750g-24ts
|
||||||
|
system mtu routing 1546
|
||||||
|
vtp mode transparent
|
||||||
|
ip name-server 10.20.0.1
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
crypto pki trustpoint TP-self-signed-448483968
|
||||||
|
enrollment selfsigned
|
||||||
|
subject-name cn=IOS-Self-Signed-Certificate-448483968
|
||||||
|
revocation-check none
|
||||||
|
rsakeypair TP-self-signed-448483968
|
||||||
|
!
|
||||||
|
!
|
||||||
|
crypto pki certificate chain TP-self-signed-448483968
|
||||||
|
certificate self-signed 01
|
||||||
|
3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
|
||||||
|
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
|
||||||
|
69666963 6174652D 34343834 38333936 38301E17 0D393330 33303130 30303231
|
||||||
|
315A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
|
||||||
|
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3434 38343833
|
||||||
|
39363830 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
|
||||||
|
C23AA9B7 ADD891E1 33B799E2 57E2518E 0E66187B D98F2611 13329DFB 22AB44CD
|
||||||
|
B05F1A20 713812B3 B1316520 7CF4A44D 09B43B38 A51F5CE4 1AB2B6CE A517CE72
|
||||||
|
178BF3FC EABE83F0 3484E850 EA90B121 A7CC5A4A C59D51DA D571A3F6 6DB16B81
|
||||||
|
E50F3AB7 9CBE1C54 E5B4044A 21885465 F799BF8D AC088EB0 E997975C B5EAE10D
|
||||||
|
02030100 01A36630 64300F06 03551D13 0101FF04 05300301 01FF3011 0603551D
|
||||||
|
11040A30 0882066E 6F637377 2E301F06 03551D23 04183016 80140B85 2A1FEAA2
|
||||||
|
C57A710F 272188BA BD4C5B3E 16A2301D 0603551D 0E041604 140B852A 1FEAA2C5
|
||||||
|
7A710F27 2188BABD 4C5B3E16 A2300D06 092A8648 86F70D01 01040500 03818100
|
||||||
|
5D565D7E F937616F CDF07929 394894B7 00DDD4F3 5AF5EE67 9C3F2C56 3B183A86
|
||||||
|
FF5F3B85 55857574 8C716002 A66A2A97 85D2BBAD 4972FAC8 744CC41E D0A9B51C
|
||||||
|
65BF03DD 7924C33B 00150C57 A3815D7C AB54B1A7 B1F47487 9006F3AA 4B9BBB96
|
||||||
|
C872A6DF 3501ABC0 8BD1BA44 9D920064 ECF3F134 900B220F 524D67B4 BE2C6C8D
|
||||||
|
quit
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree extend system-id
|
||||||
|
!
|
||||||
|
vlan internal allocation policy ascending
|
||||||
|
!
|
||||||
|
vlan 10
|
||||||
|
name external
|
||||||
|
!
|
||||||
|
vlan 20
|
||||||
|
name of-mgmt
|
||||||
|
!
|
||||||
|
vlan 21
|
||||||
|
name of-wired
|
||||||
|
!
|
||||||
|
vlan 22
|
||||||
|
name of-wireless
|
||||||
|
!
|
||||||
|
vlan 23
|
||||||
|
name of-video
|
||||||
|
!
|
||||||
|
vlan 24
|
||||||
|
name of-overflow
|
||||||
|
!
|
||||||
|
vlan 25
|
||||||
|
name of-phone
|
||||||
|
!
|
||||||
|
vlan 29
|
||||||
|
name of-prov
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/1
|
||||||
|
description phone/1
|
||||||
|
switchport access vlan 25
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/2
|
||||||
|
description phone/2
|
||||||
|
switchport access vlan 25
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/3
|
||||||
|
description ext/1
|
||||||
|
switchport access vlan 10
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/4
|
||||||
|
description ext/2
|
||||||
|
switchport access vlan 23
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/5
|
||||||
|
description of-mgmt/1
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/6
|
||||||
|
description of-mgmt/2
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/7
|
||||||
|
description of-wired/1
|
||||||
|
switchport access vlan 21
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/8
|
||||||
|
description of-wired/2
|
||||||
|
switchport access vlan 21
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/9
|
||||||
|
description of-wireless/1
|
||||||
|
switchport access vlan 22
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/10
|
||||||
|
description of-wireless/2
|
||||||
|
switchport access vlan 22
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/11
|
||||||
|
description of-video/1
|
||||||
|
switchport access vlan 23
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/12
|
||||||
|
description of-video/2
|
||||||
|
switchport access vlan 23
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/13
|
||||||
|
description of-video/3
|
||||||
|
switchport access vlan 23
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/14
|
||||||
|
description of-video/4
|
||||||
|
switchport access vlan 23
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/15
|
||||||
|
description of-overflow/1
|
||||||
|
switchport access vlan 24
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/16
|
||||||
|
description of-overflow/2
|
||||||
|
switchport access vlan 24
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/17
|
||||||
|
description noc-ap
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
switchport trunk allowed vlan 20,22
|
||||||
|
switchport mode trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/18
|
||||||
|
description noc-int
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/19
|
||||||
|
description noc-int
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/20
|
||||||
|
description noc-int
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/21
|
||||||
|
description noc-int
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport mode access
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/22
|
||||||
|
description AP-FLASH
|
||||||
|
switchport access vlan 20
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
switchport trunk native vlan 29
|
||||||
|
switchport trunk allowed vlan 20,22,29
|
||||||
|
switchport mode trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/23
|
||||||
|
description uplink
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
switchport trunk allowed vlan 20-25
|
||||||
|
switchport mode trunk
|
||||||
|
no cdp enable
|
||||||
|
spanning-tree bpdufilter enable
|
||||||
|
spanning-tree bpduguard enable
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/24
|
||||||
|
description uplink
|
||||||
|
switchport trunk encapsulation dot1q
|
||||||
|
switchport trunk allowed vlan 20-25
|
||||||
|
switchport mode trunk
|
||||||
|
no cdp enable
|
||||||
|
spanning-tree bpdufilter enable
|
||||||
|
spanning-tree bpduguard enable
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/25
|
||||||
|
shutdown
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/26
|
||||||
|
shutdown
|
||||||
|
spanning-tree portfast trunk
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/27
|
||||||
|
shutdown
|
||||||
|
!
|
||||||
|
interface GigabitEthernet1/0/28
|
||||||
|
shutdown
|
||||||
|
!
|
||||||
|
interface Vlan1
|
||||||
|
no ip address
|
||||||
|
shutdown
|
||||||
|
!
|
||||||
|
interface Vlan20
|
||||||
|
ip address 10.20.0.28 255.255.255.0
|
||||||
|
!
|
||||||
|
ip default-gateway 10.20.0.1
|
||||||
|
ip classless
|
||||||
|
no ip http server
|
||||||
|
no ip http secure-server
|
||||||
|
!
|
||||||
|
!
|
||||||
|
!
|
||||||
|
snmp-server community @SNMP_PW@ RO
|
||||||
|
snmp-server trap-source Vlan20
|
||||||
|
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
|
||||||
|
snmp-server enable traps transceiver all
|
||||||
|
snmp-server enable traps tty
|
||||||
|
snmp-server enable traps fru-ctrl
|
||||||
|
snmp-server enable traps entity
|
||||||
|
snmp-server enable traps cpu threshold
|
||||||
|
snmp-server enable traps vtp
|
||||||
|
snmp-server enable traps vlancreate
|
||||||
|
snmp-server enable traps vlandelete
|
||||||
|
snmp-server enable traps flash insertion removal
|
||||||
|
snmp-server enable traps port-security
|
||||||
|
snmp-server enable traps auth-framework sec-violation
|
||||||
|
snmp-server enable traps envmon fan shutdown supply temperature status
|
||||||
|
snmp-server enable traps license
|
||||||
|
snmp-server enable traps config-copy
|
||||||
|
snmp-server enable traps config
|
||||||
|
snmp-server enable traps config-ctid
|
||||||
|
snmp-server enable traps event-manager
|
||||||
|
snmp-server enable traps hsrp
|
||||||
|
snmp-server enable traps ipmulticast
|
||||||
|
snmp-server enable traps isis
|
||||||
|
snmp-server enable traps msdp
|
||||||
|
snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
|
||||||
|
snmp-server enable traps vstack
|
||||||
|
snmp-server enable traps bridge newroot topologychange
|
||||||
|
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
|
||||||
|
snmp-server enable traps syslog
|
||||||
|
snmp-server enable traps rtr
|
||||||
|
snmp-server enable traps mac-notification change move threshold
|
||||||
|
snmp-server enable traps vlan-membership
|
||||||
|
snmp-server enable traps errdisable
|
||||||
|
snmp-server host 10.20.0.1 version 2c @SNMP_PW@
|
||||||
|
!
|
||||||
|
!
|
||||||
|
line con 0
|
||||||
|
line vty 0 4
|
||||||
|
password @PW@
|
||||||
|
login
|
||||||
|
line vty 5 15
|
||||||
|
password @PW@
|
||||||
|
login
|
||||||
|
!
|
||||||
|
end
|
|
@ -1,320 +1,174 @@
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!TL-SG3210
|
||||||
!
|
#####################################################################
|
||||||
! NOCSW for OpenFest 2019
|
#
|
||||||
!
|
# VOCSW-B for OpenFest 2019
|
||||||
! HW: WS-C3750G-24TS
|
#
|
||||||
! SW: c3750-ipservicesk9-mz.122-55.SE6.bin
|
# HW: TL-SG3210 1.0
|
||||||
!
|
# SW: 1.9.2 Build 20130527 Rel.59782
|
||||||
! 2018.07.29 - Initial
|
#
|
||||||
!
|
# 2018.07.29 - Initial
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
#
|
||||||
!
|
#####################################################################
|
||||||
version 12.2
|
#
|
||||||
no service pad
|
vlan 2,10,20-25
|
||||||
service timestamps debug datetime msec
|
#
|
||||||
service timestamps log datetime msec
|
vlan 2
|
||||||
no service password-encryption
|
name "initlab"
|
||||||
!
|
#
|
||||||
hostname nocsw
|
|
||||||
!
|
|
||||||
boot-start-marker
|
|
||||||
boot-end-marker
|
|
||||||
!
|
|
||||||
enable password @EN_PW@
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
no aaa new-model
|
|
||||||
switch 1 provision ws-c3750g-24ts
|
|
||||||
system mtu routing 1546
|
|
||||||
vtp mode transparent
|
|
||||||
ip name-server 10.20.0.1
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
crypto pki trustpoint TP-self-signed-448483968
|
|
||||||
enrollment selfsigned
|
|
||||||
subject-name cn=IOS-Self-Signed-Certificate-448483968
|
|
||||||
revocation-check none
|
|
||||||
rsakeypair TP-self-signed-448483968
|
|
||||||
!
|
|
||||||
!
|
|
||||||
crypto pki certificate chain TP-self-signed-448483968
|
|
||||||
certificate self-signed 01
|
|
||||||
3082023C 308201A5 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
|
|
||||||
30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274
|
|
||||||
69666963 6174652D 34343834 38333936 38301E17 0D393330 33303130 30303231
|
|
||||||
315A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F
|
|
||||||
532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3434 38343833
|
|
||||||
39363830 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100
|
|
||||||
C23AA9B7 ADD891E1 33B799E2 57E2518E 0E66187B D98F2611 13329DFB 22AB44CD
|
|
||||||
B05F1A20 713812B3 B1316520 7CF4A44D 09B43B38 A51F5CE4 1AB2B6CE A517CE72
|
|
||||||
178BF3FC EABE83F0 3484E850 EA90B121 A7CC5A4A C59D51DA D571A3F6 6DB16B81
|
|
||||||
E50F3AB7 9CBE1C54 E5B4044A 21885465 F799BF8D AC088EB0 E997975C B5EAE10D
|
|
||||||
02030100 01A36630 64300F06 03551D13 0101FF04 05300301 01FF3011 0603551D
|
|
||||||
11040A30 0882066E 6F637377 2E301F06 03551D23 04183016 80140B85 2A1FEAA2
|
|
||||||
C57A710F 272188BA BD4C5B3E 16A2301D 0603551D 0E041604 140B852A 1FEAA2C5
|
|
||||||
7A710F27 2188BABD 4C5B3E16 A2300D06 092A8648 86F70D01 01040500 03818100
|
|
||||||
5D565D7E F937616F CDF07929 394894B7 00DDD4F3 5AF5EE67 9C3F2C56 3B183A86
|
|
||||||
FF5F3B85 55857574 8C716002 A66A2A97 85D2BBAD 4972FAC8 744CC41E D0A9B51C
|
|
||||||
65BF03DD 7924C33B 00150C57 A3815D7C AB54B1A7 B1F47487 9006F3AA 4B9BBB96
|
|
||||||
C872A6DF 3501ABC0 8BD1BA44 9D920064 ECF3F134 900B220F 524D67B4 BE2C6C8D
|
|
||||||
quit
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
spanning-tree mode mst
|
|
||||||
spanning-tree extend system-id
|
|
||||||
!
|
|
||||||
vlan internal allocation policy ascending
|
|
||||||
!
|
|
||||||
vlan 10
|
vlan 10
|
||||||
name external
|
name "of-ext"
|
||||||
!
|
#
|
||||||
vlan 20
|
vlan 20
|
||||||
name of-mgmt
|
name "of-mgmt"
|
||||||
!
|
#
|
||||||
vlan 21
|
vlan 21
|
||||||
name of-wired
|
name "of-wired"
|
||||||
!
|
#
|
||||||
vlan 22
|
vlan 22
|
||||||
name of-wireless
|
name "of-wifi"
|
||||||
!
|
#
|
||||||
vlan 23
|
vlan 23
|
||||||
name of-video
|
name "of-video"
|
||||||
!
|
#
|
||||||
vlan 24
|
vlan 24
|
||||||
name of-overflow
|
name "of-overflow"
|
||||||
!
|
#
|
||||||
vlan 25
|
vlan 25
|
||||||
name of-phone
|
name "of-phones"
|
||||||
!
|
#
|
||||||
vlan 29
|
#
|
||||||
name of-prov
|
#
|
||||||
!
|
hostname "vocsw-B"
|
||||||
!
|
#
|
||||||
!
|
mac address-table aging-time 300
|
||||||
!
|
#
|
||||||
interface GigabitEthernet1/0/1
|
logging buffer 6
|
||||||
description phone/1
|
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 openfest
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#
|
||||||
|
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
|
switchport access vlan 25
|
||||||
switchport trunk encapsulation dot1q
|
description "voc-B/phone"
|
||||||
spanning-tree portfast trunk
|
spanning-tree
|
||||||
!
|
spanning-tree common-config portfast enable
|
||||||
interface GigabitEthernet1/0/2
|
|
||||||
description phone/2
|
#
|
||||||
switchport access vlan 25
|
interface gigabitEthernet 1/0/2
|
||||||
switchport trunk encapsulation dot1q
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/3
|
|
||||||
description ext/1
|
|
||||||
switchport access vlan 10
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/4
|
|
||||||
description ext/2
|
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
description "voc-B/streamer"
|
||||||
spanning-tree portfast trunk
|
spanning-tree
|
||||||
!
|
spanning-tree common-config portfast enable
|
||||||
interface GigabitEthernet1/0/5
|
|
||||||
description of-mgmt/1
|
#
|
||||||
switchport access vlan 20
|
interface gigabitEthernet 1/0/3
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/6
|
|
||||||
description of-mgmt/2
|
|
||||||
switchport access vlan 20
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/7
|
|
||||||
description of-wired/1
|
|
||||||
switchport access vlan 21
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/8
|
|
||||||
description of-wired/2
|
|
||||||
switchport access vlan 21
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/9
|
|
||||||
description of-wireless/1
|
|
||||||
switchport access vlan 22
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/10
|
|
||||||
description of-wireless/2
|
|
||||||
switchport access vlan 22
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/11
|
|
||||||
description of-video/1
|
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
spanning-tree
|
||||||
spanning-tree portfast trunk
|
spanning-tree common-config portfast enable
|
||||||
!
|
description "voc-B/videoswitcher"
|
||||||
interface GigabitEthernet1/0/12
|
|
||||||
description of-video/2
|
#
|
||||||
|
interface gigabitEthernet 1/0/4
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
spanning-tree
|
||||||
spanning-tree portfast trunk
|
spanning-tree common-config portfast enable
|
||||||
!
|
description "voc-B/scaler"
|
||||||
interface GigabitEthernet1/0/13
|
|
||||||
description of-video/3
|
#
|
||||||
|
interface gigabitEthernet 1/0/5
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
spanning-tree
|
||||||
spanning-tree portfast trunk
|
spanning-tree common-config portfast enable
|
||||||
!
|
description "voc-B/control-1"
|
||||||
interface GigabitEthernet1/0/14
|
|
||||||
description of-video/4
|
#
|
||||||
|
interface gigabitEthernet 1/0/6
|
||||||
switchport access vlan 23
|
switchport access vlan 23
|
||||||
switchport mode access
|
spanning-tree
|
||||||
spanning-tree portfast trunk
|
spanning-tree common-config portfast enable
|
||||||
!
|
description "voc-B/control-2"
|
||||||
interface GigabitEthernet1/0/15
|
|
||||||
description of-overflow/1
|
#
|
||||||
switchport access vlan 24
|
interface gigabitEthernet 1/0/7
|
||||||
switchport mode access
|
switchport access vlan 23
|
||||||
spanning-tree portfast trunk
|
spanning-tree
|
||||||
!
|
spanning-tree common-config portfast enable
|
||||||
interface GigabitEthernet1/0/16
|
description "voc-B/control-3"
|
||||||
description of-overflow/2
|
|
||||||
switchport access vlan 24
|
#
|
||||||
switchport mode access
|
interface gigabitEthernet 1/0/8
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/17
|
|
||||||
description noc-ap
|
|
||||||
switchport trunk encapsulation dot1q
|
|
||||||
switchport trunk allowed vlan 20,22
|
|
||||||
switchport mode trunk
|
switchport mode trunk
|
||||||
!
|
switchport trunk allowed vlan 20,23,25
|
||||||
interface GigabitEthernet1/0/18
|
description "voc-B/uplink"
|
||||||
description noc-int
|
spanning-tree
|
||||||
switchport access vlan 20
|
spanning-tree common-config portfast enable
|
||||||
switchport mode access
|
|
||||||
!
|
#
|
||||||
interface GigabitEthernet1/0/19
|
interface gigabitEthernet 1/0/9
|
||||||
description noc-int
|
speed 1000
|
||||||
switchport access vlan 20
|
|
||||||
switchport mode access
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/20
|
|
||||||
description noc-int
|
|
||||||
switchport access vlan 20
|
|
||||||
switchport mode access
|
|
||||||
spanning-tree portfast trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/21
|
|
||||||
description noc-int
|
|
||||||
switchport access vlan 20
|
|
||||||
switchport mode access
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/22
|
|
||||||
description AP-FLASH
|
|
||||||
switchport access vlan 20
|
|
||||||
switchport trunk encapsulation dot1q
|
|
||||||
switchport trunk native vlan 29
|
|
||||||
switchport trunk allowed vlan 20,22,29
|
|
||||||
switchport mode trunk
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/23
|
|
||||||
description uplink
|
|
||||||
switchport trunk encapsulation dot1q
|
|
||||||
switchport trunk allowed vlan 20-25
|
|
||||||
switchport mode trunk
|
|
||||||
no cdp enable
|
|
||||||
spanning-tree bpdufilter enable
|
|
||||||
spanning-tree bpduguard enable
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/24
|
|
||||||
description uplink
|
|
||||||
switchport trunk encapsulation dot1q
|
|
||||||
switchport trunk allowed vlan 20-25
|
|
||||||
switchport mode trunk
|
|
||||||
no cdp enable
|
|
||||||
spanning-tree bpdufilter enable
|
|
||||||
spanning-tree bpduguard enable
|
|
||||||
!
|
|
||||||
interface GigabitEthernet1/0/25
|
|
||||||
shutdown
|
shutdown
|
||||||
!
|
spanning-tree
|
||||||
interface GigabitEthernet1/0/26
|
spanning-tree common-config portfast enable
|
||||||
|
|
||||||
|
#
|
||||||
|
interface gigabitEthernet 1/0/10
|
||||||
|
speed 1000
|
||||||
shutdown
|
shutdown
|
||||||
spanning-tree portfast trunk
|
spanning-tree
|
||||||
!
|
spanning-tree common-config portfast enable
|
||||||
interface GigabitEthernet1/0/27
|
|
||||||
shutdown
|
#
|
||||||
!
|
ip management-vlan 20
|
||||||
interface GigabitEthernet1/0/28
|
interface vlan 20
|
||||||
shutdown
|
ip address 10.20.0.22 255.255.255.0 10.20.0.1
|
||||||
!
|
#
|
||||||
interface Vlan1
|
line vty 0 0
|
||||||
no ip address
|
|
||||||
shutdown
|
|
||||||
!
|
|
||||||
interface Vlan20
|
|
||||||
ip address 10.20.0.28 255.255.255.0
|
|
||||||
!
|
|
||||||
ip default-gateway 10.20.0.1
|
|
||||||
ip classless
|
|
||||||
no ip http server
|
|
||||||
no ip http secure-server
|
|
||||||
!
|
|
||||||
!
|
|
||||||
!
|
|
||||||
snmp-server community @SNMP_PW@ RO
|
|
||||||
snmp-server trap-source Vlan20
|
|
||||||
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
|
|
||||||
snmp-server enable traps transceiver all
|
|
||||||
snmp-server enable traps tty
|
|
||||||
snmp-server enable traps fru-ctrl
|
|
||||||
snmp-server enable traps entity
|
|
||||||
snmp-server enable traps cpu threshold
|
|
||||||
snmp-server enable traps vtp
|
|
||||||
snmp-server enable traps vlancreate
|
|
||||||
snmp-server enable traps vlandelete
|
|
||||||
snmp-server enable traps flash insertion removal
|
|
||||||
snmp-server enable traps port-security
|
|
||||||
snmp-server enable traps auth-framework sec-violation
|
|
||||||
snmp-server enable traps envmon fan shutdown supply temperature status
|
|
||||||
snmp-server enable traps license
|
|
||||||
snmp-server enable traps config-copy
|
|
||||||
snmp-server enable traps config
|
|
||||||
snmp-server enable traps config-ctid
|
|
||||||
snmp-server enable traps event-manager
|
|
||||||
snmp-server enable traps hsrp
|
|
||||||
snmp-server enable traps ipmulticast
|
|
||||||
snmp-server enable traps isis
|
|
||||||
snmp-server enable traps msdp
|
|
||||||
snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-message
|
|
||||||
snmp-server enable traps vstack
|
|
||||||
snmp-server enable traps bridge newroot topologychange
|
|
||||||
snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
|
|
||||||
snmp-server enable traps syslog
|
|
||||||
snmp-server enable traps rtr
|
|
||||||
snmp-server enable traps mac-notification change move threshold
|
|
||||||
snmp-server enable traps vlan-membership
|
|
||||||
snmp-server enable traps errdisable
|
|
||||||
snmp-server host 10.20.0.1 version 2c @SNMP_PW@
|
|
||||||
!
|
|
||||||
!
|
|
||||||
line con 0
|
|
||||||
line vty 0 4
|
|
||||||
password @PW@
|
password @PW@
|
||||||
login
|
login
|
||||||
line vty 5 15
|
#
|
||||||
|
line vty 1 1
|
||||||
password @PW@
|
password @PW@
|
||||||
login
|
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
|
end
|
||||||
|
|
|
@ -1,174 +0,0 @@
|
||||||
!TL-SG3210
|
|
||||||
#####################################################################
|
|
||||||
#
|
|
||||||
# VOCSW-B for OpenFest 2019
|
|
||||||
#
|
|
||||||
# HW: TL-SG3210 1.0
|
|
||||||
# SW: 1.9.2 Build 20130527 Rel.59782
|
|
||||||
#
|
|
||||||
# 2018.07.29 - 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 @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 openfest
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
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
|
|
Loading…
Reference in New Issue