300-435 Question 82
Single answerYou are tasked with automating the configuration of multiple Cisco IOS XE devices in your network. The automation script needs to retrieve operational data, such as interface status and routing information, and push configuration changes. Which protocol would be the most suitable for both retrieving data and applying configurations programmatically?
- A
SNMP
- B
NETCONF
- C
Syslog
- D
TFTP
Show answer and explanation
Correct answer: B
Explanation
NETCONF is a modern protocol designed specifically for network management and automation. It uses a structured data model (like YANG) and allows for both configuration and operational data retrieval, making it ideal for automating tasks on Cisco IOS XE devices. Other protocols like SNMP, Syslog, and TFTP do not provide the same level of functionality for programmatic automation.
- A. Incorrect.
SNMP is primarily used for monitoring network devices and gathering information. It is not designed for pushing configuration changes programmatically.
- B. Correct.
NETCONF is a protocol specifically designed for network automation. It allows both retrieving operational data and applying configuration changes programmatically, making it the most suitable option for this scenario.
- C. Incorrect.
Syslog is used for logging and monitoring device events. It does not support retrieving operational data or applying configurations programmatically.
- D. Incorrect.
TFTP is a simple file transfer protocol mainly used for transferring files, such as firmware updates or configurations, but it is not suitable for retrieving operational data or applying configurations directly.