07-09-2008 12:05 AM - edited 03-06-2019 12:05 AM
Hi everyone,
please can anyone help with commands on how to configure telnet access on a router.
07-09-2008 12:30 AM
router>en
router#conf t
router(conf)#line vty 0 4
router(conf-line)#login
router(conf-line)#password yourpassword
router(conf-line)#end
router#copy run start
07-09-2008 07:26 AM
If you want, you could supplement Murilo's configuration with the following to restrict Telnet access to a specific management station, and establish an idle timeout on the VTY lines:
access-list 100 remark --- VTY access from Network Management Station.
access-list 100 permit tcp host 192.168.100.20 any eq 23 log
access-list 100 deny ip any any log
Note: Replace 192.168.100.20 with the address of your management station.
Note: TCP port 23 above, is the Telnet port.
Note: Make sure you use a different ACL number if 100 is already in use.
line vty 0 4
access-class 100 in
exec-timeout 9 0
Your interface ACL (if implemented) will also need to accommodate inbound Telnet.
Olakunle: There is no need to double-post. Please select the most appropriate forum, and post once.
07-09-2008 07:31 AM
also consider using SSH instead if your router supports it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide