350-401 Question 230
Single answerA network engineer is tasked with configuring RESTCONF on a Cisco IOS XE device to enable programmatic access to network configurations. The engineer needs to ensure the RESTCONF service is enabled and accessible over HTTPS. Which command ensures RESTCONF is enabled on the device?
- A
restconf enable
- B
ip http secure-server
- C
ip http authentication local
- D
netconf-yang enable
Show answer and explanation
Correct answer: A
Explanation
To enable RESTCONF on a Cisco IOS XE device, the 'restconf enable' command must be configured. RESTCONF relies on HTTPS for secure communication, so enabling 'ip http secure-server' is also necessary, but it is not sufficient by itself to enable RESTCONF. Other commands like 'ip http authentication local' and 'netconf-yang enable' do not directly relate to enabling RESTCONF specifically.
- A. Correct.
This is the correct command to enable RESTCONF on a Cisco IOS XE device. It ensures the RESTCONF service is operational.
- B. Incorrect.
This command is used to enable HTTPS on the device, which is required for RESTCONF to function over a secure connection, but it does not directly enable RESTCONF itself.
- C. Incorrect.
This command configures local authentication for HTTP/HTTPS access but does not enable RESTCONF.
- D. Incorrect.
This command is used to enable NETCONF on the device, not RESTCONF.