The endpoint command creates a NETCONF connection instance and then displays the NETCONF connection instance view or displays the view of an existing NETCONF connection instance directly.
The undo endpoint command deletes existing NETCONF connection instance.
By default, no NETCONF connection instance is created.
Usage Scenario
If an NMS does not support automatic device discovery, it cannot manage devices in time. To address this problem, you can configure proactive NETCONF registration for a device to send a NETCONF connection request to the NMS when the device goes online so that the NMS can manage the device.
When configuring proactive NETCONF registration, you need to create a NETCONF connection instance using the endpoint command in the callhome template view and configure the IP address and TCP port number of the NMS with which the device is to establish a NETCONF connection using the peer-ip command.
Precautions
A device supports only one NETCONF connection instance. To configure a new NETCONF connection instance, run the undo endpoint command to delete the existing one first.