Implementing and Operating Cisco Enterprise Network Core Technologies (ENCOR) — Question 440
A switch is attached to router R1 on its gig 0/0 interface. Fort security reasons, you want to prevent R1 from sending OSPF hellos to the switch. Which command should be enabled to accomplish this?
Answer options
- A. R1(config-router)#ip ospf hello disable
- B. R1(config-router)#ip ospf hello-interval 0
- C. R1(config)#passive-interface Gig 0/0
- D. R1(config-router)#passive-interface Gig 0/0
Correct answer: D
Explanation
The correct option is D because the command 'passive-interface Gig 0/0' prevents OSPF from sending or receiving hello packets on that interface. Options A and B are incorrect as they do not exist in the context of OSPF configuration for preventing hellos. Option C is also incorrect because it does not specify the router configuration mode, which is required for OSPF settings.