cisco IOS XE 17.16.x — Introduction to Data Models: Programmatic and Standards-Based Configuration

C H A P T E R 7 NETCONF Protocol Information About the NETCONF Protocol, on page 157 How to Configure the NETCONF Protocol, on page 180 Verifying the NETCONF Protocol Configuration Through the CLI, on page 187 Example:

Named Method List, on page 189 Displaying NETCONF-YANG Diagnostics Through RPCs, on page 190 Additional References for NETCONF Protocol, on page 193 Feature Information for the NETCONF Protocol, on page 194 Information About the NETCONF Protocol IntroductiontoDataModels:ProgrammaticandStandards-BasedConfiguration The traditional way of managing network devices is by using Command Line Interfaces (CLIs) for configurational (configuration commands) and operational data (show commands). For network management, Simple Network Management Protocol (SNMP) is widely used, especially for exchanging management information between various network devices.

Although CLIs and SNMP are heavily used, they have several restrictions. CLIs are highly proprietary, and human intervention is required to understand and interpret their text-based specification. SNMP does not distinguish between configurational and operational data. The solution lies in adopting a programmatic and standards-based way of writing configurations to any network device, replacing the process of manual configuration. Network devices running on Cisco IOS XE support the automation of configuration for multiple devices across the network using data models.

Data models are developed in a standard, industry-defined language, that can define configuration and state information of a network. Cisco IOS XE supports the Yet Another Next Generation (YANG) data modeling language. YANG can be used with the Network Configuration Protocol (NETCONF) to provide the desired solution of automated and programmable network operations. NETCONF (RFC 6241) is an XML-based protocol that client applications use to request information from and make configuration changes to the device. YANG is primarily used to model the configuration and state data used by NETCONF operations.

In Cisco IOS XE, model-based interfaces interoperate with existing device CLI, Syslog, and SNMP interfaces. These interfaces are optionally exposed northbound from network devices. YANG is used to model each protocol based on RFC 6020. Programmability Configuration Guide, Cisco IOS XE 17.16.x 157