Which two statements about NETCONF and RESTCONF on a Cisco IOS XE device are correct? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. NETCONF sessions run over SSH, by default on TCP port 830D. RESTCONF requires the HTTPS server to be enabled on the device
AWhy this is right: NETCONF uses SSH as its transport, and TCP port 830 is the default NETCONF port.
BWhy not this: NETCONF uses XML-encoded RPC messages, not JSON; JSON is an option only for RESTCONF.
CWhy not this: netconf-yang turns on NETCONF only; RESTCONF is enabled separately with the restconf command.
DWhy this is right: RESTCONF is HTTP-based and on IOS XE depends on the secure HTTP server (ip http secure-server).
EWhy not this: Port 830 over SSH belongs to NETCONF; RESTCONF is HTTP-based and uses HTTPS.
FWhy not this: RESTCONF supports both XML and JSON, so it is not limited to XML.
NETCONF is carried over SSH, on TCP port 830 by default, and RESTCONF is carried over HTTPS, so ip http secure-server must be configured. The netconf-yang command is tempting, but it enables only NETCONF; RESTCONF needs its own restconf command.