No answer is correct
A. gt and lt not allowed on same ACE
B. Would work if permit and deny ACEs were the other way around
C. Permits ALL ports other than 80
D. Allows port 80. Could be typo. If ne 80 was eq 80, then the ACEs would work
D seems correct to me.
How can the "deny" statement be reached if it is covered by the permit statement above? ACL's go sequentially and stop on the first match.
but you are specifying a range between 22 and 443, 80 is within it.
B is wrong.
D specifies the DENYing of port 80 only, and then we can define what to allow
The correct answer is D.
The access control list (ACL) that allows only TCP traffic with a destination port range of 22-443, excluding port 80, is:
deny tcp any any eq 80
permit tcp any any range 22 443
This ACL configuration first denies TCP traffic with a destination port of 80 (port 80 is excluded). Then it permits TCP traffic with a destination port in the range of 22-443. By placing the deny statement before the permit statement, it ensures that traffic to port 80 is not allowed, while traffic to other ports in the specified range is permitted.
So, option D is the correct answer.
cisco_R3(config)#ip access-list extended q_266
cisco_R3(config-ext-nacl)#
cisco_R3(config-ext-nacl)#10 deny tcp any any eq 80
cisco_R3(config-ext-nacl)#20 permit tcp any any range 22 443
cisco_R3(config-ext-nacl)#
cisco_R3#s access-l | b 266
Extended IP access list q_266
10 deny tcp any any eq www
20 permit tcp any any range 22 443
cisco_R3#
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
nead
Highly Voted 4 years, 10 months agoUIssuu
9 months, 2 weeks agorlilewis
3 years, 1 month agomrserxho1
Highly Voted 4 years, 12 months agofuqcue
4 years, 5 months agoQuick_X
4 years, 10 months agoakbntc
4 years, 9 months agoCBlu
4 years, 11 months agotimtgh
3 years ago[Removed]
1 year, 11 months ago[Removed]
Most Recent 1 year agoCCNPWILL
1 year, 7 months agoflash007
1 year, 10 months agoibogovic
1 year, 11 months agomusclehamster
2 years, 1 month ago[Removed]
1 year, 9 months agoSammy3637
2 years, 3 months agoNickplayany
2 years, 4 months agobendarkel
2 years, 4 months agokewokil120
2 years, 4 months agokewokil120
2 years, 5 months agonushadu
2 years, 5 months agoMO_2022
2 years, 6 months agokalbos
2 years, 6 months agoStylar
2 years, 6 months agoH3kerman
2 years, 6 months ago