RUGGEDCOM NETCONFReference GuideChapter 5Changing Configuration DataCopying Data45]]>]]>The file is saved to the /var/lib/config directory on the device.To overwrite a configuration with a configuration file, do the following:1.Upload an XML configuration file to the device. For instructions on how to upload a configuration file, referto theRUGGEDCOM NETCONF v Web Interface User GuideorRUGGEDCOM NETCONF v CLI User Guidefor thedevice.2.Connect to and log in to the device.3.Lock the running configuration:message-id="230">]]>]]>4.Lock the target configuration:message-id="231">]]>]]>5.Discard any configuration changes:message-id="232">]]>]]>6.Use copy-config to copy the file to a specified configuration:xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"><{configuration}/>file:///{filename}]]>]]>•{configuration}The target configuration: can be candidate or running.•{filename}The name of the configuration file uploaded to /var/lib/configFor example, this command loads the configuration filestandard_config.xmlto the runningconfiguration:xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">