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

Access List for Telnet

marstelecom
Level 1
Level 1

I'am new to the Cisco Architecture, let me be more specific with my query

I want to provide telnet access only for the following IPs

1. 152.67.109.101

2. 123.176.111.23

And rest all denied. So how will the ACL be .

Thanks in Advance

Regards

Prasanna Sastry.G

3 Replies 3

Istvan_Rabai
Level 7
Level 7

Hi Prasanna,

The access-list and the subsequesnt config will be:

conf t

access-list 10 permit host 152.67.109.101

access-list 10 permit host 123.176.111.23

line vty 0 4

password xxxxxxxx

login

access-class 10 in

Cheers:

Istvan

dancarrick
Level 1
Level 1

Prasanna, try the following:

access-list 20 remark ***** Mgmt access *****

access-list 20 permit 152.67.109.101 0.0.0.0

access-list 20 permit 123.176.111.23 0.0.0.0

line vty 0 4

access-class 20 in

vaisharm
Cisco Employee
Cisco Employee

Hi Prasanna,

Here's what you would need:

conf t

enable passsword < > <--- Assign an enable password, if not assigned already

username < > password < >

access-list 10 permit host 152.67.109.101

access-list 10 permit host 123.176.111.23

line vty 0 4

transport input telnet

login local

access-class 10 in

HTH,

~Vaibhav

Review Cisco Networking products for a $25 gift card