Home

Surfing the net

Switch2 Configuration

Download all configurations (pdf)

hostname switch2
enable secret class
no ip domain-lookup

spanning-tree vlan 1 root primary

int range fa 0/1 - 6
switchport mode access
switchport access vlan 1

int range fa 0/7 - 12
switchport mode access
switchport access vlan 10

int range fa 0/13 - 18
switchport mode access
switchport access vlan 20

int range fa 0/19 - 24
switchport mode access
switchport access vlan 99

int gi 0/1
switchport mode trunk

int gi 0/2
switchport mode trunk

int range fa 0/1 - 24
switchport port-security
switchport port-security max 1
switchport port-security violation shutdown

int Vlan1
ip address 192.168.10.2 255.255.255.224
no shut

line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
password cisco
login