Download all configurations (pdf)
hostname switch1
enable secret class
no ip domain-lookup
int fa 0/1
switchport trunk encaps dot1q
switchport mode trunk
switchport access vlan 1
int fa 0/2
switchport mode access
switchport access vlan 1
port security max 1
int fa 0/3
switchport mode access
switchport access vlan 1
port security max 1
int fa 0/4
switchport mode access
port security max 1
switchport access vlan 10
int fa 0/5
switchport mode access
port security max 1
switchport access vlan 10
int fa 0/6
switchport mode access
port security max 1
switchport access vlan 10
int fa 0/7
switchport mode access
port security max 1
switchport access vlan 20
int fa 0/8
switchport mode access
port security max 1
switchport access vlan 20
int fa 0/9
switchport mode access
port security max 1
switchport access vlan 20
int fa 0/10
switchport mode access
port security max 1
switchport access vlan 99
int fa 0/11
switchport mode access
port security max 1
switchport access vlan 99
int fa 0/12
switchport mode access
port security max 1
switchport access vlan 99
int VLAN1
ip address 192.168.10.3 255.255.255.224
no shut
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
password cisco
login