You are working on a router that has established privilege levels that restrict access to certain functions. You discover that you are not able to execute the command
show running-configuration. How can you view and confirm the access lists that have been applied to the Ethernet 0 interface on your router?
show interface Ethernet 0
show ip access-lists
show ip interface Ethernet 0
Answer: Option D
Solution(By Examveda Team)The only command that shows which access lists have been applied to an interface is
show ip interface Ethernet 0. The command
show access-listsdisplays all configured access lists, and
show ip access-listsdisplays all configured IP access lists, but neither command indicates whether the displayed access lists have been applied to an interface.
A. You can place as many access lists as you want on any interface until you run out of memory.
B. You can apply only one access list on any interface.
C. One access list may be configured, per direction, for each layer 3 protocol configured on an interface.
D. You can apply two access lists to any interface.
ip access-list 101 out
access-list ip 101 in
ip access-group 101 in
access-group ip 101 in
access-list 110 permit host 22.214.171.124
access-list 1 deny 172.16.10.1 0.0.0.0
access-list 1 permit 172.16.10.1 255.255.0.0
access-list standard 126.96.36.199
access-list 10 deny 192.168.160.0 255.255.224.0
access-list 10 deny 192.168.160.0 0.0.191.255
access-list 10 deny 192.168.160.0 0.0.31.255
access-list 10 deny 192.168.0.0 0.0.31.255