cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
770
Views
5
Helpful
4
Replies

I need some assitance on disabling Telnet using ACLs

Bimsara
Beginner
Beginner

Hi Everyone,

 

I have tried multiple times to disable telnet using acls but i could still telnet from the pc, i have attached all my configurations,

Any help would be great! thank you.

1 Accepted Solution

Accepted Solutions

Georg Pauwen
VIP Master VIP Master
VIP Master

Hello,

 

you need to apply an access list to your VTY lines.

 

In the sample config below, you would deny TELNET access from all hosts on your network, and allow anyone else. 

 

access-list 1 deny 192.168.2.0 0.0.0.127
access-list 1 permit any
!
line vty 0 15
access-class 1 in

View solution in original post

4 Replies 4

luis_cordova
VIP Advisor VIP Advisor
VIP Advisor

Hi @Bimsara 

 

Try this:

 

access-list 10 deny any

 

line vty 0 4

access-class 10 in

 

Regards