cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
463
Views
0
Helpful
3
Replies

telnet access

olakunle06
Level 1
Level 1

Hi everyone,

please can anyone help with commands on how to configure telnet access on a router.

3 Replies 3

muca
Level 3
Level 3

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

michael.leblanc
Level 4
Level 4

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.

sirdudesly
Level 2
Level 2

also consider using SSH instead if your router supports it

Review Cisco Networking products for a $25 gift card