OcNOS-SP : System Management Guide : System Management Command Reference : NetConf Call Home Commands : callhome server
callhome server
Use this command to add a call home server. A maximum 5 servers can be configured.
Use the no form of this command to delete a call home server. If the specified call home server is already connected with the OcNOS NetConf server, deleting it will not disconnect it.
Command Syntax
callhome server WORD (A.B.C.D|X:X::X:X|HOSTNAME) (port <1-65535>|)
no callhome server WORD
Parameters
WORD
An arbitrary name for the NetConf listen endpoint. Any valid string with length 1-64 can be used.
A.B.C.D
IPv4 address of the call home server
X:X::X:X
IPv4 address of the call home server
HOSTNAME
Host name of the call home server
<1-65535>
Callhome server listening port
Note: The same address can be configured with different endpoint names, so use a different port number in those cases. For example:
callhome server name-1 1.1.1.1
callhome server name-2 1.1.1.1 # Avoid this is kind of redundant configuration
callhome server name-3 1.1.1.1 5555
Default
Default value for the port is IANA assigned port 4334.
Mode
NetConf call home mode
Applicability
This command was introduced in OcNOS version 6.0.0.
Example
(netconf-callhome)#do show running-config netconf-callhome
!
netconf callhome
feature netconf callhome enable
!
(netconf-callhome)#
(netconf-callhome)#callhome server remote-client 169.154.45.12
(netconf-callhome)#callhome server nat-client 192.168.56.1 port 12234
(netconf-callhome)#commit
(netconf-callhome)#
config)#do show running-config netconf-callhome
(config)#
(netconf-callhome)#do show running-config netconf-callhome
!
netconf callhome
feature netconf callhome enable
callhome server remote-client 169.154.45.12
callhome server nat-client 192.168.56.1 port 12234
!
(netconf-callhome)#
(netconf-callhome)#no callhome server nat-client
(netconf-callhome)#commit
(netconf-callhome)#
(netconf-callhome)#do show running-config netconf-callhome
!
netconf callhome
feature netconf callhome enable
callhome server remote-client 169.154.45.12
!
(netconf-callhome)#
Last modified date: 08/28/2023