Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access-list Question

Status
Not open for further replies.

Chigy

Technical User
Jul 29, 2007
9
GB
Team,
I hope I am not asking too many questions ....

I saw this lab which required the configuration of an ACL to deny telnet to a router R3 any allow all other traffic. There were three routers R1, R2, and R3. The routers' networks were given.

The solution (from Testking) suggested an acl denying R1 and R2 networks and applying the access-group on S0 and E0 of R3. Yes it works but ....

Why not just applying like this:
!
line vty 0 4
ip access-class 101 in
end
!
 
Chigy,

line vty 0 4 controls telnet to the router itself - not telnet traffic through the router!

That would just control people telnetting to the router, the question wants an ACL to stop telnet traffic going through the router - like someone trying to telnet to a server hanging off Ethernet 1.

It might help to pickup the Sybex CCNA Study Guide and reread it rather then working with Test Kings :-(


E.A. Broda
CCNA, CCDA, CCAI, Network +
 
Thanks - I have read the book and the Cisco Press Libray as well. I just want to be sure of the question types before I jump into the exam again. On the Question above, it said, and I quote:

"Your assignment is to configure and apply an access control list that will block telnet access to the TK3 router without inhibiting all other traffic"

Its the wording that got me thinking vty - maybe is a typo!
 
Chigy,

You have to be very carefull with Test King - they are known for wrong answers and typos :)

Just keep bouncing stuff off the forum - we have some GREAT people who hang out in here :) I learn more stuff everytime I login!!

Good luck on your studies!


E.A. Broda
CCNA, CCDA, CCAI, Network +
 
A good key to learnnig is finding the wrong answers and being able to identify them as such...

With that said there is no better training than hands on..

I sometimes use testking to see the wording of a question, you now how Cisco questions can be.....

An I agree with CiscoGuy33, I too learn something new everytime I login...

“Reserve your right to think, for even to think wrongly is better than not to think at all”

Tek-TIP Member 19,650
[americanflag]
 
To restrict telnet access TO the router, you are correct in assuming that you must place an acl to the vty 0 4 lines with the ip access-class command.
As CiscoGuy33 says, if denying telnet access to anything that is attached to the router in question, then an acl denying port 23 and allowing everything else through the router should be applied to the incoming port of the router, but telnetting the router itself via vty lines would still be possible.

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top