Skip to Content

CCNA 200-301: Which Command Prevents OSPF Hello Packets on an Interface but Still Advertises the Network?

Learn how to prevent OSPF hello packets on a specific router interface while still advertising the network for the CCNA 200-301 exam. Understand the use of the passive-interface command in OSPF configuration.

Table of Contents

Question

A network engineer is configuring OSPF on a router with multiple interfaces. They need to prevent OSPF hello packets from being sent on an interface but still include the network in the OSPF topology. Which command should be used?

A. network area
B. ip ospf priority 0
C. ip ospf cost
D. passive-interface
E. no shutdown

Answer

D. passive-interface

Explanation

The passive-interface command prevents OSPF hello packets from being sent on an interface while still allowing the network to be advertised in OSPF.

The passive-interface command is used to prevent OSPF hello packets from being sent on a specific interface while still including the connected network in the OSPF topology. When this command is applied, OSPF will advertise the network associated with the interface, but will not send or process OSPF hello packets on that interface. This is useful for interfaces connected to end-user networks or segments where no OSPF neighbors exist, reducing unnecessary protocol overhead and improving security by preventing unauthorized OSPF neighbor relationships.

Cisco Certified Network Associate CCNA 200-301 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Cisco Certified Network Associate CCNA 200-301 exam and earn Cisco Certified Network Associate CCNA 200-301 certification.