205 lines
4.0 KiB
Plaintext
205 lines
4.0 KiB
Plaintext
|
!
|
||
|
version 15.0
|
||
|
no service pad
|
||
|
service timestamps debug datetime msec
|
||
|
service timestamps log datetime msec
|
||
|
no service password-encryption
|
||
|
service unsupported-transceiver
|
||
|
!
|
||
|
hostname uplink-gkc
|
||
|
!
|
||
|
boot-start-marker
|
||
|
boot-end-marker
|
||
|
!
|
||
|
enable secret @_PW_@
|
||
|
!
|
||
|
username @_USER_@ secret @_PW_@
|
||
|
no aaa new-model
|
||
|
system mtu routing 1500
|
||
|
authentication mac-move permit
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
no errdisable detect cause gbic-invalid
|
||
|
spanning-tree mode pvst
|
||
|
spanning-tree extend system-id
|
||
|
!
|
||
|
vlan internal allocation policy ascending
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
!
|
||
|
interface FastEthernet0/1
|
||
|
description debug
|
||
|
switchport access vlan 999
|
||
|
switchport mode access
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/2
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/3
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/4
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/5
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/6
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/7
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/8
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/9
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/10
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/11
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/12
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/13
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/14
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/15
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/16
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/17
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/18
|
||
|
shutdown
|
||
|
no cdp enable
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/19
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/20
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/21
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/22
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/23
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface FastEthernet0/24
|
||
|
shutdown
|
||
|
spanning-tree portfast
|
||
|
!
|
||
|
interface GigabitEthernet0/1
|
||
|
description john_atanasoff
|
||
|
switchport access vlan 999
|
||
|
switchport trunk allowed vlan 20,999
|
||
|
switchport mode trunk
|
||
|
no cdp enable
|
||
|
spanning-tree portfast trunk
|
||
|
!
|
||
|
interface GigabitEthernet0/2
|
||
|
description switchboard
|
||
|
switchport access vlan 999
|
||
|
switchport trunk allowed vlan 20,999
|
||
|
switchport mode trunk
|
||
|
no cdp enable
|
||
|
spanning-tree portfast trunk
|
||
|
!
|
||
|
interface Vlan1
|
||
|
no ip address
|
||
|
no ip route-cache
|
||
|
shutdown
|
||
|
!
|
||
|
interface Vlan20
|
||
|
ip address 10.20.0.12 255.255.255.0
|
||
|
no ip route-cache
|
||
|
!
|
||
|
ip default-gateway 10.20.0.1
|
||
|
ip http server
|
||
|
ip http secure-server
|
||
|
snmp-server community @_SNMP_@ RO
|
||
|
snmp-server location techpark-gkc
|
||
|
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 cluster
|
||
|
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 dot1x auth-fail-vlan guest-vlan no-auth-fail-vlan no-guest-vlan
|
||
|
snmp-server enable traps envmon fan shutdown supply temperature status
|
||
|
snmp-server enable traps power-ethernet police
|
||
|
snmp-server enable traps config-copy
|
||
|
snmp-server enable traps config
|
||
|
snmp-server enable traps config-ctid
|
||
|
snmp-server enable traps energywise
|
||
|
snmp-server enable traps event-manager
|
||
|
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 mac-notification change move threshold
|
||
|
snmp-server enable traps vlan-membership
|
||
|
snmp-server enable traps errdisable
|
||
|
!
|
||
|
!
|
||
|
line con 0
|
||
|
exec-timeout 0 0
|
||
|
password @_PW_@
|
||
|
login
|
||
|
line vty 0 4
|
||
|
password @_PW_@
|
||
|
login
|
||
|
line vty 5 15
|
||
|
password @_PW_@
|
||
|
login
|
||
|
!
|
||
|
end
|