The controller ip-address command configures an IP address for iMaster NCE-Campus.
The undo controller ip-address command deletes the IP address configured for iMaster NCE-Campus.
By default, no IP address is configured for iMaster NCE-Campus on a switch.
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies an IP address for iMaster NCE-Campus. |
The value is in dotted decimal notation. |
port port-number |
Specifies a port number. |
The value is an integer in the range 0 to 65535. |
Usage Scenario
The switch needs to register with iMaster NCE-Campus for authentication in NETCONF over SSH Callhome mode. Before registration authentication, the switch needs to obtain the IP address of iMaster NCE-Campus for communication with iMaster NCE-Campus. The switch can obtain the IP address of iMaster NCE-Campus through DHCP or the registration query center, or you can configure an IP address for iMaster NCE-Campus using the controller ip-address command.
Precautions
If the switch obtains the IP addresses of iMaster NCE-Campus using all the three methods, the IP addresses are sorted in descending order of priority as follows: IP address obtained using DHCP, IP address configured using the command, and IP address obtained through the registration query center.
If you run this command multiple times, only the latest configuration takes effect.
When both the controller ip-address command and the controller url command are configured on the switch, only the latest command takes effect. That is, the switch registers with iMaster NCE-Campus using either the IP address of iMaster NCE-Campus or the IP address resolved from the URL of iMaster NCE-Campus.