84 lines
1.3 KiB
INI
84 lines
1.3 KiB
INI
!
|
|
version 12.2
|
|
no service pad
|
|
service timestamps debug datetime msec
|
|
service timestamps log datetime msec
|
|
no service password-encryption
|
|
!
|
|
hostname uplink-gkc
|
|
!
|
|
boot-start-marker
|
|
boot-end-marker
|
|
!
|
|
enable password @_PW_@
|
|
!
|
|
!
|
|
!
|
|
no aaa new-model
|
|
system mtu routing 1600
|
|
authentication mac-move permit
|
|
ip subnet-zero
|
|
!
|
|
!
|
|
!
|
|
!
|
|
spanning-tree mode pvst
|
|
spanning-tree etherchannel guard misconfig
|
|
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 range FastEthernet0/2-24
|
|
shutdown
|
|
spanning-tree portfast
|
|
!
|
|
interface GigabitEthernet0/1
|
|
description switchboard
|
|
switchport access vlan 999
|
|
switchport mode access
|
|
no cdp enable
|
|
spanning-tree portfast trunk
|
|
!
|
|
interface GigabitEthernet0/2
|
|
description hall
|
|
switchport access vlan 999
|
|
switchport mode access
|
|
no cdp enable
|
|
spanning-tree portfast trunk
|
|
!
|
|
interface Vlan1
|
|
no ip address
|
|
!
|
|
interface Vlan999
|
|
ip address 172.31.42.101 255.255.255.0
|
|
!
|
|
ip classless
|
|
ip route 0.0.0.0 0.0.0.0 10.21.0.1 254
|
|
no ip http server
|
|
!
|
|
!
|
|
ip sla enable reaction-alerts
|
|
!
|
|
snmp-server community @_PW_@ RO
|
|
snmp-server location techpark-gkc
|
|
!
|
|
!
|
|
line con 0
|
|
line vty 0 4
|
|
password @_PW_@
|
|
login
|
|
line vty 5 15
|
|
password @_PW_@
|
|
login
|
|
!
|
|
end
|