The translation of IOS commands into a structured format is disabled by default. You must initially configure NETCONF-YANG, and once the data model interfaces (DMIs) are initialized, use the appropriate format option to translate the commands. The following is sample output from the show running-config | format netconf-xml command:
Device# show running-config | format netconf-xml xmlns="http://tail-f.com/ns/config/1.0"> xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native"> 17.8 bootflash:c8000v-universalk9.BLD_POLARIS_DEV_LATEST_20211020_005209.SSA.bin flash-leaf> 64219 xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-call-home"> sch-smart-licensing@cisco.com xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-call-home"> true http RESTCONF Protocol Converting IOS Commands to XML RESTCONF Protocol 10