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

diag-maximum 0 0 The following is a sample RPC to change the host name and the RPC response received from the host: # #364 xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:f3005ee6-8a11-4146-b616-dd95a92b97d1"> new-ott-c9300-35 xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native"> ## Received message from host version="1.0" ?> message-id="urn:uuid:f3005ee6-8a11-4146-b616-dd95a92b97d1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> The following is a sample RPC to display the current status and the RPC response received from the host:

#294 xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:9bffb8d5-3866-48ef-b59d-0486e508fbc4"> xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-netconf-diag-oper"/> ## Received message from host version="1.0" ?> message-id="urn:uuid:9bffb8d5-3866-48ef-b59d-0486e508fbc4" 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-oper"> Model-Driven Programmability Displaying NETCONF-YANG Diagnostics Through RPCs Programmability Configuration Guide, Cisco IOS XE 17.16.x 191