The api call-home host command sets the call-home host connection parameters.
The undo api call-home host command deletes the call-home host connection parameters.
api call-home host hostname { domain domain-name | ip ip-address } port port-number [ source-ip source-ip-address ] [ vpn-instance vpn-instance-name ]
undo api call-home host hostname
Parameter |
Description |
Value |
|---|---|---|
host hostname |
Specifies the call-home host name. |
The value is a string of 1 to 31 case-sensitive characters. Spaces are not supported. |
domain domain-name |
Specifies the call-home host domain name. |
The value is a string of 1 to 64 case-sensitive characters. Spaces are not supported. |
ip ip-address |
Specifies the IP address of the call-home host. |
The IP address is in dotted decimal format. |
port port-number |
Specifies the call-home host port number. |
The value is an integer ranging from 1 to 65535. |
source-ip source-ip-address |
Specifies the source IP address from which a connection to the call-home host is initiated. |
The IP address is in dotted decimal format. |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
It must be the name of an existing VPN instance. |
You can run the api call-home host command only after enabling the API NETCONF interface service.
The device has the CA certificate and local certificate pre-installed. For how to replace these certificates, see the following configurations.