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
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
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)- A76% (26)
- B6% (2)
- C3% (1)
- D15% (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
Community Discussion
No community discussion yet for this question.
