This section describes how to translate configuration commands into XML packets in the NETCONF YANG model. The obtained packets help you manage devices through the NETCONF model.
CLI and NETCONF are two device management models, which have a mapping relationship. To quickly obtain NETCONF YANG packets corresponding to configuration commands, perform the following steps.
The system view is displayed.
The CLI-to-XML translation mode is accessed.
When the command to be converted corresponds to both the new and deprecated nodes, the YANG packet converted using the xml-translate end command contains the data of the two nodes. When the converted packet is sent, a message is displayed, indicating that the configuration already exists. You are advised to delete the data of a node based on the actual situation before the packet is sent.