Current configuration : 2357 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password cisco
!
username cisco
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/1
switchport access vlan 312
no ip address
!
interface FastEthernet0/2
switchport access vlan 312
no ip address
!
interface FastEthernet0/3
switchport access vlan 312
no ip address
!
interface FastEthernet0/4
switchport access vlan 312
no ip address
!
interface FastEthernet0/5
switchport access vlan 312
no ip address
!
interface FastEthernet0/6
switchport access vlan 312
no ip address
!
interface FastEthernet0/7
switchport access vlan 312
no ip address
!
interface FastEthernet0/8
switchport access vlan 312
no ip address
!
interface FastEthernet0/9
switchport access vlan 312
no ip address
!
interface FastEthernet0/10
switchport access vlan 312
no ip address
!
interface FastEthernet0/11
switchport access vlan 312
no ip address
!
interface FastEthernet0/12
switchport access vlan 312
no ip address
!
interface FastEthernet0/13
switchport access vlan 312
no ip address
!
interface FastEthernet0/14
switchport access vlan 312
no ip address
!
interface FastEthernet0/15
switchport access vlan 312
no ip address
!
interface FastEthernet0/16
switchport access vlan 312
no ip address
!
interface FastEthernet0/17
switchport access vlan 312
no ip address
!
interface FastEthernet0/18
switchport access vlan 312
no ip address
!
interface FastEthernet0/19
switchport access vlan 312
no ip address
!
interface FastEthernet0/20
switchport access vlan 312
no ip address
!
interface FastEthernet0/21
switchport access vlan 312
no ip address
!
interface FastEthernet0/22
switchport access vlan 312
no ip address
!
interface FastEthernet0/23
switchport access vlan 312
no ip address
!
interface FastEthernet0/24
switchport access vlan 312
no ip address
!
interface GigabitEthernet0/1
switchport mode trunk
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan15
ip address 192.168.15.245 255.255.255.0
no ip route-cache
!
ip http server
!
!
line con 0
line vty 0 4
login
line vty 5 15
login
!
end
本文转自 joysuny 51CTO博客,原文链接:http://blog.51cto.com/joysuny/44028,如需转载请自行联系原作者