200-901 · Question #67
Which encoding does NETCONF is Cisco IOS XE Software support?
The correct answer is D. XML. NETCONF on Cisco IOS XE uses only XML encoding for all RPC messages and data, as mandated by RFC 6241.
Question
Which encoding does NETCONF is Cisco IOS XE Software support?
Options
- AJASON AND XML
- BYAML
- CJSON
- DXML
How the community answered
(43 responses)- A9% (4)
- B2% (1)
- C2% (1)
- D86% (37)
Why each option
NETCONF on Cisco IOS XE uses only XML encoding for all RPC messages and data, as mandated by RFC 6241.
'JASON' is a misspelling of JSON; regardless, NETCONF does not support JSON encoding - its specification mandates XML, and IOS XE NETCONF does not process JSON payloads.
YAML is a human-readable serialization format used by tools such as Ansible for playbooks, but it is not a supported encoding format within the NETCONF protocol.
JSON encoding is a feature of RESTCONF (RFC 8040) via YANG-JSON, not NETCONF; the two protocols use different encodings even though both work with YANG models.
NETCONF is defined by RFC 6241 and exclusively uses XML to encode RPCs, configuration data, and responses. On Cisco IOS XE, all NETCONF sessions encode messages in XML using YANG data models. JSON encoding belongs to RESTCONF (RFC 8040), not NETCONF.
Concept tested: NETCONF encoding format on Cisco IOS XE
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/1612/b_1612_programmability_cg/configuring_yang_datamodel.html
Topics
Community Discussion
No community discussion yet for this question.