nerdexam
Cisco

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.

Designing Management and Operations

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)
  • A
    3% (1)
  • B
    3% (1)
  • C
    89% (32)
  • D
    6% (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.

AIt supports HTML encoding for NETCONF

HTML is a markup language for rendering web content and is not a valid encoding format for any network management protocol including NETCONF.

BIt supports YAML encoding for 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.

CIt supports XML encoding for NETCONFCorrect

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.

DIt supports JSON encoding for NETCONF

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

#NETCONF#XML encoding#IOS XE#network automation

Community Discussion

No community discussion yet for this question.

Full 400-007 Practice