PrepAway - Latest Free Exam Questions & Answers

The task is to create and apply an access-list with no more than three statements that…

The task is to create and apply an access-list with no more than three statements that will allow ONLY host C web access to the Finance Web Server.

PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation

Explanation:
Corp1#conf t
Corp1(config)# access-list 128 permit tcp host 192.168.240.1 host 172.22.141.26 eq www
Corp1(config)# access-list 128 deny tcp any host 172.22.141.26 eq www
Corp1(config)# access-list 128 permit ip any any
Corp1(config)#int fa0/1
Corp1(config-if)#ip access-group 128 out
Corp1(config-if)#end
Corp1#copy run startup-config

2 Comments on “The task is to create and apply an access-list with no more than three statements that…

  1. master says:

    >>Host C IP address is 192.168.240.3
    >>The direction of traffic is from Host C to the Finance Web Server. The traffic is going in int fa0/1.
    I believe it should be like the one below.

    Corp1(config)#access-list 128 permit tcp host 192.168.240.3 host 172.22.141.26 eq www
    Corp1(config)#access-list 128 deny tcp any host 172.22.141.26 eq www
    Corp1(config)#access-list 128 permit ip any any
    Corp1(config)#int fa0/1
    Corp1(config-if)#ip access-group 128 in
    Corp1(config-if)#end
    Corp1#copy run startup-config




    0



    0

Leave a Reply