easy
Single Answer
0Which statement can be used in lieu of access-list 5 permit 192.168.1.5 0.0.0.0?
Answer Options
A
access-list 5 permit 192.168.1.5
B
access-list 5 permit 192.168.1.5/24
C
access-list 5 permit host 192.168.1.5
D
access-list 5 permit 192.168.1.0 0.0.0.255
Correct Answer: C
Explanation
The command access-list 5 permit host 192.168.1.5 specifies traffic coming from the host 192.168.1.5. The statement access-list 5 permit 192.168.1.5 0.0.0.0 achieves the same thing, as 0.0.0.0 means match all bits exactly. The 'host' keyword is the more readable alternative. The /24 notation is invalid in ACL syntax, and omitting the wildcard mask is also invalid syntax.
acl
standard-acl
cisco-ios
host-keyword
syntax