< Home

ip address (callhome template view)

Function

The ip address command configures the IPv4 address and port number used by the NMS that communicates with a switch through NETCONF.

The undo ip address command deletes the IPv4 address and port number used by the NMS that communicates with a switch through NETCONF.

By default, no IPv4 address and port number have been configured for the NMS with which the switch communicates through NETCONF.

Format

ip address ip-address port port-number

undo ip address

Parameters

Parameter Description Value

ip-address

IPv4 address of the NMS.

The value is in dotted decimal notation.

port port-number

Port number used by the NMS.

The value is an integer in the range 0 to 65535.

Views

Callhome template view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the NMS needs to configure and manage a switch in NETCONF over SSH Callhome mode, you must run the ip address command to configure the IPv4 address and port number for the NMS so that the switch can proactively set up a NETCONF connection with the NMS.

Precautions

If a switch that has registered with a iMaster NCE-Campus needs to register with another iMaster NCE-Campus, restart the switch before the re-registration.

Example

# Set the IP address and port number used by the NMS to communicate with the switch through NETCONF to 10.1.2.1 and 830, respectively.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] callhome Huawei
[HUAWEI-netconf-callhome-Huawei] ip address 10.1.2.1 port 830
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >