2021/switch-configs/f0sw.cfg

355 lines
6.8 KiB
INI

!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname f0sw
!
boot-start-marker
boot-end-marker
!
enable password @_PW_@
!
!
!
no aaa new-model
system mtu routing 1500
vtp mode transparent
!
!
!
!
!
!
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name openfest
!
!
vlan internal allocation policy ascending
!
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 26
name of-security
!
vlan 29
name of-prov
!
!
!
interface GigabitEthernet0/1
description nocsw
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20-26,29
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet0/2
description ap-ws-ws1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet0/3
description ap-ws-ws2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 20,22
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet0/4
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/5
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/6
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/7
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/8
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/9
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/10
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/11
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/12
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/13
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/14
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/15
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/16
description wired-user
switchport access vlan 21
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/17
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/18
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/19
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/20
description ws-overflow
switchport access vlan 24
switchport mode access
spanning-tree portfast trunk
!
interface GigabitEthernet0/21
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/22
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/23
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/24
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/25
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/26
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/27
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/28
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/29
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/30
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/31
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/32
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/33
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/34
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/35
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/36
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/37
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/38
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/39
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/40
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/41
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/42
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/43
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/44
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/45
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/46
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/47
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/48
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/49
description uplink
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface GigabitEthernet0/50
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/51
shutdown
spanning-tree portfast trunk
!
interface GigabitEthernet0/52
shutdown
spanning-tree portfast trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan20
ip address 10.20.0.27 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 @_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 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 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 @_PW_@
!
!
line con 0
line vty 0 4
password @_PW_@
login
line vty 5 15
password @_PW_@
login
!
ntp server 10.20.0.1
end