Refer to the configuration statements shown in the graphic above.
R1(config)#access-list 199 permit tcp host 10.1.1.1 host 172.16.1.1
R1(config)#access-list 199 permit tcp host 172.16.1.1 host 10.1.1.1
R1(config)#end
R1#debug ip packet 199 detail
Which statement reflects what the effect is of this configuration sequence?
A.
These commands will generate an error message because you cannot use an access list with any
debug commands.
B.
These commands will have no effect at all. The debug ip packet command will work as normal and
display info for all IP packets.
C.
These commands turn on debug ip packet only for packets between hosts 10.1.1.1 and 172.16.1.1.
D.
These commands will only work when you specify only one host rather than two.
Explanation:
In this case we are tying access list 199 to the debug so that only the matching traffic will be
debugged. As can be seen, traffic to and from the two hosts are allowed, and implicitly everything is
is not allowed in the access list and therefore not debugged.