nerdexam
Cisco

350-601 · Question #695

Refer to the exhibit. An engineer prepared the configuration of OSPF in a text file named OSPF.txt. The engineer decided to remove all OSPF configurations. Which Python code must be added to accomplis

The correct answer is A. OSPF_Conf.write('no feature ospf\n'). To remove all OSPF configuration, the most effective command is no feature ospf. This disables the OSPF feature entirely on the Nexus switch, automatically removing all related router processes and interface configurations. The Python code OSPF_Conf.write('no feature ospf\n') wri

Automation

Question

Refer to the exhibit. An engineer prepared the configuration of OSPF in a text file named OSPF.txt. The engineer decided to remove all OSPF configurations. Which Python code must be added to accomplish this goal?

Exhibit

350-601 question #695 exhibit

Options

  • AOSPF_Conf.write('no feature ospf\n')
  • BOSPF_Conf.write('interface eth1/1\n')
  • COSPF_Conf.write('interface eth1/1\n')
  • DOSPF_Conf.write('interface eth1/1, no feature ospf\n')

How the community answered

(34 responses)
  • A
    76% (26)
  • B
    6% (2)
  • C
    3% (1)
  • D
    15% (5)

Explanation

To remove all OSPF configuration, the most effective command is no feature ospf. This disables the OSPF feature entirely on the Nexus switch, automatically removing all related router processes and interface configurations. The Python code OSPF_Conf.write('no feature ospf\n') writes this line into the OSPF.txt file, which can then be applied to the switch to

Topics

#OSPF#Cisco NX-OS#Network Automation#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice