350-401 · Question #1163
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.
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
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.
Exhibits
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
How the community answered
(56 responses)- A16% (9)
- B4% (2)
- C7% (4)
- D73% (41)
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
Community Discussion
No community discussion yet for this question.

