ip access-list extended lockkey permit tcp any host 192.168.1.197 eq 3001 dynamic dyn permit tcp any host 192.168.1.197 eq 3002 interface FastEthernet0/0 ip address 192.168.1.197 255.255.255.0 ip access-group lockkey in line vty 5 9 password c login rotary 1 autocommand access-enable host timeout 1 line vty 10 19 password c login rotary 2