350-401 · Question #1136
Refer to the exhibit. Which command must be applied to complete the configuration and enable RESTCONF?
The correct answer is D. ip http secure-server. To enable RESTCONF, which uses HTTPS for secure communication, the ip http secure-server command must be applied to activate the HTTPS server on the network device.
Question
Refer to the exhibit. Which command must be applied to complete the configuration and enable RESTCONF?
Options
- Aip http server
- Bip http client username restconf
- Cip http secure-port 443
- Dip http secure-server
How the community answered
(21 responses)- A5% (1)
- B10% (2)
- D86% (18)
Why each option
To enable RESTCONF, which uses HTTPS for secure communication, the `ip http secure-server` command must be applied to activate the HTTPS server on the network device.
The `ip http server` command enables the insecure HTTP server (port 80) but does not enable the secure HTTPS server required for RESTCONF.
`ip http client username restconf` relates to the device acting as an HTTP client and specifying a username, not enabling the RESTCONF server on the device.
`ip http secure-port 443` configures the HTTPS server to listen on port 443, which is the default. While important, the `ip http secure-server` command is still required to enable the server functionality itself.
RESTCONF is a secure web-based protocol that operates over HTTPS (HTTP Secure). The `ip http secure-server` command on Cisco IOS XE devices enables the HTTPS server, allowing secure communication and making the RESTCONF API accessible.
Concept tested: Enabling RESTCONF secure server
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/netconf/configuration/xe-17/nc-restconf-xe-17-book/c_restconf_overview_xe_17.html
Topics
Community Discussion
No community discussion yet for this question.