Question
Which of the following access list statements would deny traffic from a specific host?

A. Router(config)# access-list 1 deny 172.31.212.74 any


B. Router(config)# access-list 1 deny 10.6.111.48 host


C. Router(config)# access-list 1 deny 172.16.4.13 0.0.0.0


D. Router(config)# access-list 1 deny 192.168.14.132 255.255.255.0


E. Router(config)# access-list 1 deny 192.168.166.127 255.255.255.255

Answers

C
Explanation:
Only choice C is the correct syntax for a specific host. The access list is denying all traffic from the host with IP address 172.16.4.13. It is important to note that in an access list, the subnet mask is the inverse. Normally, a host subnet mask is 255.255.255.255, but in an access list it is 0.0.0.0.

Incorrect Answers:

A. The syntax is incorrect here, as there is no subnet mask at all specified.


B. This would be an acceptable choice, if the "host" keyword were placed in front of the IP address, not after.

D. The subnet mask here includes the entire class C network here, not an individual host.


E. In an access list, the subnet mask is an inverse mask. The mask specified here would be equivalent to all 0's in a subnet mask, meaning that the don't care bits apply to the entire address.   Your Comment






Search
Can you Answer!!
  • Q If all the signs of the zodiac were listed alphabetically, which would come second?
  • Q Which of the following is not a constitutionally mandatory body? (Commission for)
  • Q What is cerebral palsy?
  • Q Where do I find historical Wait event information?
  • Q The common name of Calcium sulphate is:
  • Q What is the inflorescence of Polypodiaceae ?
  • Q   In what areas Pattern Recognition is used?
  • Q With the help of schematic illustration, describe the principle of operation of EDM process.
  • Q Is Java a purely object oriented language?
  • Q once context swithing occures then ------------will take place a)saving register b)saving stack
  • Q What is Cooperative Processing?