Home / Computer Science / Computer Networking :: Discussion

Discussion :: Computer Networking

  1. What command will permit SMTP mail to only host 1.1.1.1?

  2. A.

     access-list 10 permit smtp host 1.1.1.1

    B.

     access-list 110 permit ip smtp host 1.1.1.1

    C.

     access-list 10 permit tcp any host 1.1.1.1 eq smtp

    D.

     access-list 110 permit tcp any host 1.1.1.1 eq smtp

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    When trying to find the best answer to an access-list question, always check the access-list number and then the protocol. When filtering to an upper-layer protocol, you must use an extended list, numbers 100-199 and 2000-2699. Also, when you filter to an upper-layer protocol, you must use either tcp or udp in the protocol field. If it says ip in the protocol field, you cannot filter to an upper-layer protocol. SMTP uses TCP.


Be The First To Comment