enable
!
configure terminal
!
hostname SW1
!
interface Vlan1
ip address 10.10.10.2 255.255.255.0
!
line con 0
 exec-timeout 30 0
!
end
