medium
Single Answer
0

You want to apply an access list of 198 to an interface to filter traffic into the interface. Which command will achieve this?

Answer Options

A

ip access-list 198 in fast 0/1

B

ip access-list 198 in

C

ip access-class 198 in

D

ip access-group 198 in

Correct Answer: D

Explanation

The command ip access-group 198 in will apply access list 198 to the interface in which it is configured in the inbound direction. Option A is incorrect because it improperly includes the interface in the command. Option B is incorrect because 'ip access-list' is used to create/edit ACLs, not apply them. Option C is incorrect because 'ip access-class' is used for line access (VTY lines), not interface ACLs.

access-control-lists
acl-application
cisco-ios