Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Access List for Telnet

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

Re: Access List for Telnet

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

New Member

Re: Access List for Telnet

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

Cisco Employee

Re: Access List for Telnet

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

396
Views
0
Helpful
3
Replies
CreatePlease login to create content