350-401 · Question #655
Refer to the exhibit. Which command must be configured for RESTCONF to operate on port 8888?
The correct answer is A. ip http port 8888. To configure RESTCONF to operate on a custom port like 8888, the underlying HTTP server port on the Cisco IOS XE device must be set using the ip http port command.
Question
Refer to the exhibit. Which command must be configured for RESTCONF to operate on port 8888?
Options
- Aip http port 8888
- Brestconf port 8888
- Cip http restconf port 8888
- Drestconf http port 8888
How the community answered
(36 responses)- A94% (34)
- C3% (1)
- D3% (1)
Why each option
To configure RESTCONF to operate on a custom port like 8888, the underlying HTTP server port on the Cisco IOS XE device must be set using the `ip http port` command.
RESTCONF on Cisco IOS XE devices utilizes the device's HTTP or HTTPS server infrastructure. Therefore, to change the port on which RESTCONF listens, the port for the underlying HTTP server must be configured using the `ip http port 8888` command, which then directs RESTCONF traffic to that specific port.
`restconf port 8888` is not a valid or standard command for configuring the RESTCONF port directly on Cisco IOS XE.
`ip http restconf port 8888` is not a valid command syntax for setting the RESTCONF port.
`restconf http port 8888` is not a valid command syntax for setting the RESTCONF port.
Concept tested: RESTCONF port configuration
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/xe-16-10/b_programmability_xe_16_10_book/configuring_restconf_on_cisco_ios_xe.html
Topics
Community Discussion
No community discussion yet for this question.