ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



Cisco > CCNA > Access-List help

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread




Featured site:  Online CCNA practice exams from Cert21.com



Author Access-List help
rjingra
Junior Member
M




Registered: Oct 2002
Location: Baltimore
Country: United States
State:
Certifications:
Working on: CCNA

Total Posts: 6
Question Access-List help

HELP!!! I've been chasing this problem on the Cisco ESIM disk for 2 days... I need to create an acl for activity 8 that would deny Telnet from a subnet but permit Ping. I seem to be able to prevent the pings, but Telnet from this router is never denied... Would this work?

e0 goes to the subnet 221.71.12.1
s1 goes out to other routers 195.121.23.1


access 10 deny tcp 221.71.12.1 0.0.0.255 eq telnet

router#(config)int e0
router#(config int)ip access-group 10 in

access list 9 permit ip any any eq echo

router#(config)int s1
router#(config int)ip access-group 9

What am I missing? Thanks!

Last edited by rjingra on 01-29-03 at 05:21 PM

Report this post to a moderator

Old Post 01-29-03 05:16 PM
rjingra is offline Click Here to See the Profile for rjingra Click here to Send rjingra a Private Message Add rjingra to your buddy list Find more posts by rjingra Reply w/Quote Edit/Delete Message IP: Logged
edmonds_robert
Senior Member
M




Registered: Sep 2002
Location:
Country: United States
State:
Certifications: MCSE, CCNA, CCA
Working on: CCNP, MCSE 2000, Linux+, Playstation 2+

Total Posts: 367

You missed:

access-list 9 deny any any

That's the line that's implied at the end of the access list. Try the following access list.

access-list 100 deny tcp 221.71.12.0 0.0.0.255 any eq telnet

access-list 100 permit icmp any any

It needs to be an extended access list to specify both source and destination and protocol.

__________________
Save the animals. Eat a vegetarian.

Report this post to a moderator

Old Post 01-29-03 05:34 PM
edmonds_robert is offline Click Here to See the Profile for edmonds_robert Click here to Send edmonds_robert a Private Message Add edmonds_robert to your buddy list Find more posts by edmonds_robert Reply w/Quote Edit/Delete Message IP: Logged
babu75
Senior Member
M




Registered: Dec 2002
Location:
Country: United States
State: GA
Certifications: NET+,CCNA,CCDA,MCP(210,215)
Working on: CCNP,MCSA

Total Posts: 109

well, i don't have a clear picture of the network in question, but this guidelines may be of help..

-you will have to use extended access-list(100-199) to be able to deny certain services(telnet) and allow others.

-from your explanation, i think the source will be network 221.71.12.0,which you deny them to telnet into what destination??(...)

-place the list(extended) close to the source as possible.

-you should have at least one permit statement, or you might as well shut the interface down(intrinsic deny).

now with that in mind, it should look close to this:-

access-list 110 deny tcp 221.71.12.0 0.0.0.255 [destination, mask] eq telnet(23)
access-list 110 ip permit any any

then you apply this at the interface-level;

router(config-if)# ip access-group 110 out

hope that helps!!!!!

Report this post to a moderator

Old Post 01-29-03 06:14 PM
babu75 is offline Click Here to See the Profile for babu75 Click here to Send babu75 a Private Message Add babu75 to your buddy list Find more posts by babu75 Reply w/Quote Edit/Delete Message IP: Logged
rjingra
Junior Member
M




Registered: Oct 2002
Location: Baltimore
Country: United States
State:
Certifications:
Working on: CCNA

Total Posts: 6

Thanks guys for all of your help. What I'm working on is the Cisco Press CCNA Router & Switch eSIM disk, Scenario 1/Activity 8 where you have this network set up and can ping & telnet between the 5 routers and 10 hosts that are attached.

Router A
e0 = 221.71.1.1
Hosts 221.71.1.2
221.71.1.3
e1 = 221.71.28.1
Hosts 221.72.28.2
221.72.28.3
s0 = 221.71.6.1

Router b
s1 = 221.71.6.2
e0 = 221.71.12.1
Hosts 221.71.12.2
221.71.12.3

This pretty much illustrates the setup
and the question was asking to set up an access-list that would prevent telnet from the 221.71.12.1 subnet but allow ping. It was the software that wouldn't accept the standard protocol commands by only giving me the option of ip, tcp, & udp, so each time i would type icmp permit... it would error out.

I ended up using the following syntax to get it to work.. (with the assistance of both of you guys)...

access-list 101 deny tcp 221.71.12.1 0.0.0.255 any eq telnet
access-list 101 permit ip any any
int e0
ip access-group 101 in

and after nearly 3 days it finally worked! Thanks a million guys!

Report this post to a moderator

Old Post 01-31-03 07:03 PM
rjingra is offline Click Here to See the Profile for rjingra Click here to Send rjingra a Private Message Add rjingra to your buddy list Find more posts by rjingra Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Click here for list of CCNA study guides

Cisco exam notes

CCNA(tm) exam details



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps