400-007 · Question #70
Which encoding format does cisco ios XE software support for NETCONF?
The correct answer is C. It supports XML encoding for NETCONF. NETCONF on Cisco IOS XE uses XML as its mandatory encoding format per RFC 6241. JSON encoding applies to RESTCONF, not NETCONF.
Question
Which encoding format does cisco ios XE software support for NETCONF?
Options
- AIt supports HTML encoding for NETCONF
- BIt supports YAML encoding for NETCONF
- CIt supports XML encoding for NETCONF
- DIt supports JSON encoding for NETCONF
How the community answered
(36 responses)- A3% (1)
- B3% (1)
- C89% (32)
- D6% (2)
Why each option
NETCONF on Cisco IOS XE uses XML as its mandatory encoding format per RFC 6241. JSON encoding applies to RESTCONF, not NETCONF.
HTML is a markup language for rendering web content and is not a valid encoding format for any network management protocol including NETCONF.
YAML is a human-readable serialization format that is not defined or supported by the NETCONF protocol specification or Cisco IOS XE's NETCONF implementation.
NETCONF (RFC 6241) mandates XML as the encoding format for all configuration data, RPC messages, and notifications. Cisco IOS XE implements NETCONF per this standard, meaning operations such as get-config, edit-config, and lock all use XML encoding. This distinguishes NETCONF from RESTCONF (RFC 8040), which supports both JSON and XML over HTTP/HTTPS.
JSON encoding is used by RESTCONF (RFC 8040) for its REST-based operations - Cisco IOS XE supports JSON over RESTCONF but JSON is not used with NETCONF.
Concept tested: NETCONF mandatory encoding format on Cisco IOS XE
Source: https://datatracker.ietf.org/doc/html/rfc6241
Topics
Community Discussion
No community discussion yet for this question.