You are on page 1of 1

enable

confi t
no ip domain-lookup
hostname S4.2
enable secret enable
line con 0
password consola
login
end
confi t
service password-encryption
banner motd #SOLO PERSONAL AUTORIZADO#
end
confi t
ip default-gateway 10.0.42.1
inter vlan 42
ip add 10.0.42.2 255.255.255.0
no shut
end
confi t
inter ran f0/1 - 24, g0/1 - 2
swi acc vlan 50
end
confi t
inter f0/2
swi acc vlan 42
swit mode access
swit port-security maximum 1
swit port-security
swit port-security mac-address sticky
no shut
end
confi t
ip domain-name cisco.com
crypto key generate rsa
1024
end
confi t
username admin privilege 15 secret ssh
line vty 0 15
transport input ssh
login local
ip ssh ver 2
end
wr

You might also like