CompTIA Network+ Exam Review

Category - Networking

Refer to the WAN network shown in the figure. The Paris router needs to be implemented with an access list with some attributes. The first one is to allow HTTP traffic to access the Marketing Web server. The second one is to block any other traffic from the Internet to everything else. Which of the following access list statements should be used to accomplish these goals?
  1. access-list 101 permit tcp any 172.17.18.252 0.0.0.0 eq 80
  2. access-list 1 permit tcp any 172.17.17.252 0.0.0.0 eq 23
  3. access-list 101 permit tcp 172.17.17.252 0.0.0.0 any eq 23
  4. access-list 101 deny tcp any 172.17.18.252 0.0.0.0 eq 80
Explanation
Answer - A - To setup these attributes on the Paris router, you need to use the statement access-list 101 permit tcp any 172.17.18.252 0.0.0.0 eq 80.

Key Takeaway: The command has an implicit deny at the end of the access list. The general syntax for a standard access list is access-list {list number} permit | deny | [source address} [source mask]. Since HTTP uses port 80, the access list statement should include this port number to permit HTTP traffic.
Was this helpful? Upvote!
Login to contribute your own answer or details

Top questions

Related questions

Most popular on PracticeQuiz