switch#sh run
Building configuration…
Current configuration : 4138 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname switch
!
enable secret 5 $1$4k7P$zX3BVvoxAACUV1br.uFcW.
!
no aaa new-model
vtp mode transparent
ip subnet-zero
ip routing
no ip domain-lookup
ip dhcp excluded-address 10.10.0.1 10.10.0.20
ip dhcp excluded-address 10.13.0.1 10.13.0.20
ip dhcp excluded-address 10.15.0.1 10.15.0.20
ip dhcp excluded-address 10.17.0.1 10.17.0.20
ip dhcp excluded-address 10.19.0.1 10.19.0.20
ip dhcp excluded-address 192.168.0.1 192.168.0.10
!
ip dhcp pool vlan10
network 10.10.0.0 255.255.255.0
default-router 10.10.0.1
dns-server 61.19.253.134 61.19.253.136
lease 7
!
ip dhcp pool vlan13
network 10.13.0.0 255.255.255.0
default-router 10.13.0.1
dns-server 61.19.253.134 61.19.253.136
lease 7
!
ip dhcp pool vlan15
network 10.15.0.0 255.255.255.0
default-router 10.15.0.1
dns-server 61.19.253.134 61.19.253.136
lease 7
!
ip dhcp pool vlan17
network 10.17.0.0 255.255.255.0
default-router 10.17.0.1
dns-server 61.19.253.134 61.19.253.136
lease 7
!
ip dhcp pool vlan19
network 10.19.0.0 255.255.255.0
default-router 10.19.0.1
dns-server 61.19.253.134 61.19.253.136
lease 7
!
ip dhcp pool vlan2
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 61.19.253.134 61.19.253.135
lease 7
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 2
name Hinet_2/2M
!
vlan 9
!
vlan 10
name local
!
vlan 11-12
!
vlan 13
name site1
!
vlan 14
name Site2
!
vlan 15
name site2
!
vlan 16
name Site4
!
vlan 17
name site3
!
vlan 19
name site4
!
vlan 24,30,100,200
!
interface FastEthernet0/1
no switchport
ip address 192.168.2.2 255.255.255.0
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/7
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 13
switchport mode access
!
interface FastEthernet0/13
description Paphai_College
switchport access vlan 13
switchport mode access
!
interface FastEthernet0/14
!
interface FastEthernet0/15
description Nursecollege
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/16
!
interface FastEthernet0/17
description Kokkauie_College
switchport access vlan 17
switchport mode access
!
interface FastEthernet0/18
!
interface FastEthernet0/19
description Takbai_kanarcheep_College
switchport access vlan 19
switchport mode access
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 202.29.70.4 255.255.255.192
!
interface Vlan2
ip address 192.168.0.2 255.255.255.0
!
interface Vlan10
ip address 10.10.0.1 255.255.255.0
!
interface Vlan13
ip address 10.13.0.1 255.255.255.0
!
interface Vlan15
ip address 10.15.0.1 255.255.255.0
!
interface Vlan17
ip address 10.17.0.1 255.255.255.0
!
interface Vlan19
ip address 10.19.0.1 255.255.255.0
!
ip default-gateway 192.168.0.1
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 0.0.0.0 0.0.0.0 192.168.0.1 250
no ip http server
!
snmp-server community xxxxx
!
control-plane
!
!
line con 0
line vty 0 4
password xxxxx
login
line vty 5 15
no login
!
end
switch#