nerdexam
CiscoCisco

350-401 · Question #1163

350-401 Question #1163: Real Exam Question with Answer & Explanation

The correct answer is D: On Switch-1: router ospf 1 distribute-list 1 in access-list 1 deny 192.168.2.0 0.0.0.255. Option D is correct because the distribute-list with 'in' direction on Switch-1 filters routes as they are being installed into the local routing table, which directly prevents VLAN 20 routes (192.168.2.0/24) from appearing in Switch-1's routing table. The access-list denies the

Submitted by satoshi_tk· Mar 6, 2026Infrastructure – Implement and troubleshoot OSPF route filtering and distribution control in a multi-layer switched environment (CCNP ENCOR / Cisco Routing & Switching)

Question

Refer to the exhibit. An engineer must prevent VLAN 20 routes from appearing in the routing table of Switch-1. Which command set must be applied? A. B. C. D.

Options

  • AOn Switch-1: router ospf 1 distribute-list 1 out access-list 1 deny 192.168.2.0 0.0.0.255
  • BOn Switch-2: router ospf 1 distribute-list 1 in access-list 1 deny 192.168.2.0 0.0.0.255
  • COn Switch-2: router ospf 1 distribute-list 1 out access-list 1 permit 192.168.2.0 0.0.0.255
  • DOn Switch-1: router ospf 1 distribute-list 1 in access-list 1 deny 192.168.2.0 0.0.0.255

Explanation

Option D is correct because the distribute-list with 'in' direction on Switch-1 filters routes as they are being installed into the local routing table, which directly prevents VLAN 20 routes (192.168.2.0/24) from appearing in Switch-1's routing table. The access-list denies the specific subnet, and applying it inbound on the receiving router (Switch-1) is the precise mechanism to block route installation locally without affecting OSPF advertisements to other routers.

Topics

#OSPF#distribute-list#route filtering#access-list

Community Discussion

No community discussion yet for this question.

Full 350-401 PracticeBrowse All 350-401 Questions