aaa new-model
aaa authentication login SECURE-VTY local
username ccieuser secret 7 Th1s1sS3cr3t

line vty 0 4
 login authentication SECURE-VTY
 exec-timeout 5 0
 transport input ssh
 session-timeout 10
 logging synchronous
 login block-for 60 attempts 3 within 30

ip access-list standard VTY-ACL
 permit 192.168.50.0 0.0.0.255
 deny   any log

line vty 0 4
 access-class VTY-ACL in
