cisco IOS XE 17.16.x — Configuring NETCONF-YANG

Configuring NETCONF-YANG If the legacy NETCONF protocol is enabled on your device, the RFC-compliant NETCONF protocol does not work. Disable the legacy NETCONF protocol by using the no netconf legacy command. SUMMARY STEPS 1. enable 2. configure terminal 3. netconf-yang 4. netconf-yang feature candidate-datastore 5. exit DETAILED STEPS Procedure Model-Driven Programmability Configuring NETCONF-YANG Command or Action Purpose • For a remote AAA server, replace local with your AAA server. The default keyword applies the local user database authentication to all ports. Step 6 aaa authorization exec default local Example:

Device(config)# aaa authorization exec default local Configures user AAA authorization, check the local database, and allows the user to run an EXEC shell. Note Prior to Cisco IOS XE Cupertino 17.9.1, only the default AAA authentication login method is supported for the NETCONF protocol. From Cisco IOS XE Cupertino 17.9.1, named method-list is supported. • For a remote AAA server, replace local with your AAA server. • The default keyword applies the local user database authentication to all ports. Step 7 end Example: Device(config)# end Exits global configuration mode and returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example:

Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Programmability Configuration Guide, Cisco IOS XE 17.16.x 182