Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Cisco Certified Network Associate (CCNA) Practice Exam. Test your knowledge with our interactive quizzes featuring multiple choice questions, hints, and explanations. Equip yourself for success!

Practice this question and more.


What is the final command to end configuration in OSPF?

  1. (config-router)#exit

  2. (config-line)#end

  3. (config)#finish

  4. (config-router)#stop

The correct answer is: (config-line)#end

The command to end configuration in OSPF is typically the one that is used to exit from the configuration mode back to privileged EXEC mode. The correct command for this purpose is found in router-specific contexts, which is represented by the command format that begins with (config-router). When working in the OSPF configuration mode, you enter it from the global configuration mode by executing the command to configure OSPF, such as `router ospf <process-id>`. To end the OSPF configuration session, you would use the command that signifies your intention to return to the privileged EXEC mode, which is achieved by using the exit command from the router configuration. The other options presented are either targeting the wrong context or do not represent standard commands used in Cisco IOS for exiting configurations. The context-specific command that leads directly out of the OSPF configuration mode properly reflects the operational command structure typically used in network device configuration.