Access List for Telnet

Unanswered Question
Nov 17th, 2008
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Istvan_Rabai Mon, 11/17/2008 - 22:51
User Badges:
  • Gold, 750 points or more

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 Mon, 11/17/2008 - 22:53
User Badges:

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 Mon, 11/17/2008 - 23:12
User Badges:
  • 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

Actions

This Discussion