cisco IOS XE 17.16.x — YANG Model Version 1.1

From Cisco IOS XE 17.15.1, use the yang-interfaces feature deprecated disable command or the Cisco-IOS-XE-Yang-interfaces-cfg.yang model to disable the deprecated NETCONF-YANG model elements. By default, deprecated model elements remain enabled. Note To access Cisco YANG models in a developer-friendly way, clone the GitHub repository , and navigate to the vendor/cisco subdirectory. Models for various releases of IOS-XE, IOS-XR, and NX-OS platforms are available here. NETCONF NETCONF provides a mechanism to install, manipulate, and delete the configuration of network devices.

It uses an Extensible Markup Language (XML)-based data encoding for the configuration data as well as the protocol messages. NETCONF uses a simple Remote Procedure Call (RPC) based mechanism to facilitate communication between a client and a server. The client can be a script or application running as part of a network manager. The server is typically a network device (switch or router). It uses Secure Shell (SSH) as the transport layer across network devices. It uses SSH port number 830 as the default port. The port number is a configurable option. NETCONF also supports capability discovery and model downloads. Supported models are discovered using the ietf-netconf-monitoring model.

Revision dates for each model are shown in the capabilities response. Data models are available for optional download from a device using the get-schema RPC. You can use these YANG models to understand or export the data model. For more details on NETCONF, see RFC 6241 . In releases prior to Cisco IOS XE Fuji 16.8.1, an operational data manager (based on polling) was enabled separately. In Cisco IOS XE Fuji 16.8.1 and later releases, operational data works on platforms running NETCONF (similar to how configuration data works), and is enabled by default.

For more information on the components that are enabled for operational data queries or streaming, see the GitHub respository, to view *-oper in the naming convention. Restrictions for the NETCONF Protocol • NETCONF is not supported on a device running dual IOSd configuration or software redundancy. • If RP addresses from the NETCONF datastore are removed using the no ip pim rp-address command, there could be inconsistencies in the datastore, due to parser limitations. Use the RPC to remove RP address entries from the NETCONF datastore.

• On Cisco Catalyst 9300 Series Switches, if the IP address the NETCONF server IP address and NAT interface overload IP address is the same, BINOS services like NETCONF may not work. Other IOSd services will work normally. YANG Model Version 1.1 YANG Version 1.1 is described by the RFC 7950, The YANG 1.1 Data Modeling Language . YANG Version 1.1 is a maintenance release of the YANG language that addresses ambiguities and defects in the YANG Version 1.0 specification. Model-Driven Programmability NETCONF Programmability Configuration Guide, Cisco IOS XE 17.16.x 158