Difference between revisions of "Datacenter CCNP 3 - december 2009"
From Teknologisk videncenter
Line 7: | Line 7: | ||
== Lokale 1 == | == Lokale 1 == | ||
<pre> | <pre> | ||
+ | Building configuration... | ||
− | + | Current configuration : 4993 bytes | |
+ | ! | ||
+ | version 12.1 | ||
+ | no service pad | ||
+ | service timestamps debug uptime | ||
+ | service timestamps log uptime | ||
+ | no service password-encryption | ||
+ | ! | ||
+ | hostname Lokale1 | ||
+ | ! | ||
+ | enable secret 5 $1$uw0B$hEkCpsrPMRzcE5hX5UGo90 | ||
+ | enable password cisco | ||
+ | ! | ||
+ | ip subnet-zero | ||
+ | ! | ||
+ | ip dhcp snooping vlan 1 100 | ||
+ | ip ssh time-out 120 | ||
+ | ip ssh authentication-retries 3 | ||
+ | ! | ||
+ | ! | ||
+ | spanning-tree mode mst | ||
+ | spanning-tree portfast bpduguard default | ||
+ | no spanning-tree optimize bpdu transmission | ||
+ | spanning-tree extend system-id | ||
+ | ! | ||
+ | spanning-tree mst configuration | ||
+ | name REGION1 | ||
+ | revision 1 | ||
+ | instance 1 vlan 1-2 | ||
+ | instance 2 vlan 3, 100 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | switchport mode trunk | ||
+ | ip dhcp snooping trust | ||
+ | ! | ||
+ | interface FastEthernet0/2 | ||
+ | switchport mode trunk | ||
+ | ip dhcp snooping trust | ||
+ | ! | ||
+ | interface FastEthernet0/3 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/4 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/5 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/6 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/7 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/8 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/9 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/10 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/11 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/12 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/13 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/14 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/15 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/16 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/17 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/18 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/19 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/20 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/21 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/22 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/23 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/24 | ||
+ | switchport access vlan 100 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface GigabitEthernet0/1 | ||
+ | ! | ||
+ | interface GigabitEthernet0/2 | ||
+ | ! | ||
+ | interface Vlan1 | ||
+ | no ip address | ||
+ | no ip route-cache | ||
+ | shutdown | ||
+ | ! | ||
+ | interface Vlan100 | ||
+ | ip address 192.168.100.11 255.255.255.0 | ||
+ | no ip route-cache | ||
+ | ! | ||
+ | ip http server | ||
+ | ! | ||
+ | line con 0 | ||
+ | line vty 0 4 | ||
+ | password cisco | ||
+ | login | ||
+ | line vty 5 15 | ||
+ | password cisco | ||
+ | login | ||
+ | ! | ||
+ | ! | ||
+ | end | ||
</pre> | </pre> | ||
== Lokale 2 == | == Lokale 2 == | ||
<pre> | <pre> | ||
+ | Building configuration... | ||
− | + | Current configuration : 5556 bytes | |
+ | ! | ||
+ | version 12.1 | ||
+ | no service pad | ||
+ | service timestamps debug uptime | ||
+ | service timestamps log uptime | ||
+ | no service password-encryption | ||
+ | ! | ||
+ | hostname Lokale2 | ||
+ | ! | ||
+ | enable secret 5 $1$2P6t$ucjfqPwCMeUBxZyTLav3i. | ||
+ | enable password cisco | ||
+ | ! | ||
+ | ip subnet-zero | ||
+ | ! | ||
+ | ip dhcp snooping vlan 1 100 | ||
+ | ip dhcp snooping | ||
+ | ip ssh time-out 120 | ||
+ | ip ssh authentication-retries 3 | ||
+ | ! | ||
+ | ! | ||
+ | spanning-tree mode mst | ||
+ | spanning-tree portfast bpduguard default | ||
+ | no spanning-tree optimize bpdu transmission | ||
+ | spanning-tree extend system-id | ||
+ | ! | ||
+ | spanning-tree mst configuration | ||
+ | name REGION1 | ||
+ | revision 1 | ||
+ | instance 1 vlan 1-2 | ||
+ | instance 2 vlan 3, 100 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | switchport mode trunk | ||
+ | ip dhcp snooping trust | ||
+ | ! | ||
+ | interface FastEthernet0/2 | ||
+ | switchport mode trunk | ||
+ | ip dhcp snooping trust | ||
+ | ! | ||
+ | interface FastEthernet0/3 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/4 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/5 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/6 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/7 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/8 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/9 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/10 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/11 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/12 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/13 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/14 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/15 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/16 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/17 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/18 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/19 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/20 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/21 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/22 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/23 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/24 | ||
+ | switchport access vlan 100 | ||
+ | switchport mode access | ||
+ | switchport port-security | ||
+ | switchport port-security maximum 2 | ||
+ | switchport port-security aging time 60 | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface GigabitEthernet0/1 | ||
+ | ! | ||
+ | interface GigabitEthernet0/2 | ||
+ | ! | ||
+ | interface Vlan1 | ||
+ | no ip address | ||
+ | no ip route-cache | ||
+ | shutdown | ||
+ | ! | ||
+ | interface Vlan100 | ||
+ | ip address 192.168.100.12 255.255.255.0 | ||
+ | no ip route-cache | ||
+ | ! | ||
+ | ip http server | ||
+ | ! | ||
+ | line con 0 | ||
+ | line vty 0 4 | ||
+ | password cisco | ||
+ | login | ||
+ | line vty 5 15 | ||
+ | password cisco | ||
+ | login | ||
+ | ! | ||
+ | ! | ||
+ | end | ||
</pre> | </pre> | ||
Revision as of 13:55, 14 December 2009
Contents
Access Layer
Lokale 1
Building configuration... Current configuration : 4993 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Lokale1 ! enable secret 5 $1$uw0B$hEkCpsrPMRzcE5hX5UGo90 enable password cisco ! ip subnet-zero ! ip dhcp snooping vlan 1 100 ip ssh time-out 120 ip ssh authentication-retries 3 ! ! spanning-tree mode mst spanning-tree portfast bpduguard default no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! spanning-tree mst configuration name REGION1 revision 1 instance 1 vlan 1-2 instance 2 vlan 3, 100 ! ! ! ! ! interface FastEthernet0/1 switchport mode trunk ip dhcp snooping trust ! interface FastEthernet0/2 switchport mode trunk ip dhcp snooping trust ! interface FastEthernet0/3 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/4 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/5 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/6 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/7 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/8 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/9 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/10 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/11 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/12 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/13 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/14 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/15 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/16 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/17 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/18 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/19 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/20 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/21 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/22 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/23 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/24 switchport access vlan 100 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan100 ip address 192.168.100.11 255.255.255.0 no ip route-cache ! ip http server ! line con 0 line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end
Lokale 2
Building configuration... Current configuration : 5556 bytes ! version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Lokale2 ! enable secret 5 $1$2P6t$ucjfqPwCMeUBxZyTLav3i. enable password cisco ! ip subnet-zero ! ip dhcp snooping vlan 1 100 ip dhcp snooping ip ssh time-out 120 ip ssh authentication-retries 3 ! ! spanning-tree mode mst spanning-tree portfast bpduguard default no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! spanning-tree mst configuration name REGION1 revision 1 instance 1 vlan 1-2 instance 2 vlan 3, 100 ! ! ! ! ! interface FastEthernet0/1 switchport mode trunk ip dhcp snooping trust ! interface FastEthernet0/2 switchport mode trunk ip dhcp snooping trust ! interface FastEthernet0/3 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/4 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/5 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/6 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/7 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/8 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/9 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/10 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/11 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/12 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/13 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/14 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/15 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/16 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/17 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/18 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/19 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/20 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/21 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/22 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/23 switchport access vlan 2 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface FastEthernet0/24 switchport access vlan 100 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security aging time 60 spanning-tree portfast ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan100 ip address 192.168.100.12 255.255.255.0 no ip route-cache ! ip http server ! line con 0 line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end