cisco IOS XE 17.16.x — Displaying NETCONF-YANG Diagnostics Through RPCs

diag-maximum 20775 1 1 lab 31 50 2021-03-12T14:08:26.830334+00:00 2021-03-12T14:08:28.279414+00:00 20775 The following is a sample RPC to archive the collected system error messages, and the RPC response from the host:

# #256 xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:1dbc795c-f594-4194-a89b-fd4d88446b69"> xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-netconf-diag-rpc"/> ## Received message from host version="1.0" ?> message-id="urn:uuid:1dbc795c-f594-4194-a89b-fd4d88446b69" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-netconf-diag-rpc"> bootflash:netconf-yang-diag.20210312141009.tar.gz The following is a sample RPC that disables NETCONF-YANG diagnostics, and the RPC response received from the host:

#309 xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:d253a313-4aec-42bc-80a2-672e9bb9ad56"> xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-netconf-diag-rpc"> diag-disabled ## Received message from host version="1.0" ?> message-id="urn:uuid:d253a313-4aec-42bc-80a2-672e9bb9ad56" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> Model-Driven Programmability Displaying NETCONF-YANG Diagnostics Through RPCs Programmability Configuration Guide, Cisco IOS XE 17.16.x 192