DevNet Associate (DEVASC) v1.0Cisco Platforms and DevelopmentEasy

A network engineer wants to automate the configuration of Cisco IOS XE devices using a declarative approach, specifying the desired state rather than a sequence of commands. Which programmability feature would best facilitate this requirement?

  1. ASNMP Traps
  2. BNETCONF with YANG data models
  3. CEEM (Embedded Event Manager) scripts
  4. DTelnet/SSH with CLI scraping
Show answer & explanation

Correct answer: B. NETCONF with YANG data models

NETCONF, coupled with YANG data models, provides a standardized, programmatic, and declarative way to configure and monitor network devices. This allows engineers to specify the desired state, which the device then implements.

Why the other options are wrong

  • A. SNMP Traps are for event notification, not configuration.
  • C. EEM scripts are for on-device event automation, not declarative external configuration.
  • D. CLI scraping is imperative and brittle, not declarative.

NETCONF with YANG

NETCONF is a network management protocol that provides mechanisms to install, manipulate, and delete configuration data. YANG is a data modeling language used to define the configuration and state data for network devices.

  • Standardized protocol for configuration management.
  • Uses XML-based encoding for data.
  • YANG models define data structures and operations.

Memory trick: YANG models describe the network's desired song, NETCONF orchestrates it.

More Cisco Platforms and Development questions