2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
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
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
enable password @_PW_@
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
no aaa new-model
|
2019-10-05 19:11:32 +03:00
|
|
|
system mtu routing 1500
|
2019-07-29 17:11:12 +03:00
|
|
|
vtp mode transparent
|
2019-10-05 19:11:32 +03:00
|
|
|
!
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
spanning-tree mode mst
|
|
|
|
spanning-tree extend system-id
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
spanning-tree mst configuration
|
|
|
|
name openfest
|
|
|
|
!
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
vlan internal allocation policy ascending
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
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
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
interface GigabitEthernet0/1
|
2019-07-29 17:11:12 +03:00
|
|
|
description nocsw
|
|
|
|
switchport trunk encapsulation dot1q
|
|
|
|
switchport trunk allowed vlan 20-26
|
|
|
|
switchport mode trunk
|
2019-10-05 19:11:32 +03:00
|
|
|
spanning-tree portfast trunk
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
interface GigabitEthernet0/2
|
2019-07-29 17:11:12 +03:00
|
|
|
description ap-ws-ws1
|
|
|
|
switchport trunk encapsulation dot1q
|
|
|
|
switchport trunk allowed vlan 20,22
|
|
|
|
switchport mode trunk
|
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
interface GigabitEthernet0/3
|
2019-07-29 17:11:12 +03:00
|
|
|
description ap-ws-ws2
|
|
|
|
switchport trunk encapsulation dot1q
|
|
|
|
switchport trunk allowed vlan 20,22
|
|
|
|
switchport mode trunk
|
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
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
|
2019-07-29 17:11:12 +03:00
|
|
|
shutdown
|
2019-10-05 19:11:32 +03:00
|
|
|
spanning-tree portfast trunk
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
interface GigabitEthernet0/18
|
|
|
|
shutdown
|
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
|
|
|
interface GigabitEthernet0/19
|
|
|
|
shutdown
|
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
|
|
|
interface GigabitEthernet0/20
|
|
|
|
shutdown
|
|
|
|
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
|
2019-07-29 17:11:12 +03:00
|
|
|
description uplink
|
|
|
|
switchport trunk encapsulation dot1q
|
|
|
|
switchport mode trunk
|
2019-10-05 19:11:32 +03:00
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
|
|
|
interface GigabitEthernet0/50
|
|
|
|
shutdown
|
|
|
|
spanning-tree portfast trunk
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
interface GigabitEthernet0/51
|
2019-07-29 17:11:12 +03:00
|
|
|
shutdown
|
2019-10-05 19:11:32 +03:00
|
|
|
spanning-tree portfast trunk
|
|
|
|
!
|
|
|
|
interface GigabitEthernet0/52
|
|
|
|
shutdown
|
|
|
|
spanning-tree portfast trunk
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
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
|
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
2019-10-05 19:11:32 +03:00
|
|
|
snmp-server community @_PW_@ RO
|
2019-07-29 17:11:12 +03:00
|
|
|
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
|
2019-10-05 19:11:32 +03:00
|
|
|
snmp-server host 10.20.0.1 version 2c @_PW_@
|
2019-07-29 17:11:12 +03:00
|
|
|
!
|
|
|
|
!
|
|
|
|
line con 0
|
|
|
|
line vty 0 4
|
2019-10-05 19:11:32 +03:00
|
|
|
password @_PW_@
|
2019-07-29 17:11:12 +03:00
|
|
|
login
|
|
|
|
line vty 5 15
|
2019-10-05 19:11:32 +03:00
|
|
|
password @_PW_@
|
2019-07-29 17:11:12 +03:00
|
|
|
login
|
|
|
|
!
|
|
|
|
ntp server 10.20.0.1
|
|
|
|
end
|