To view the NETCONF configuration on a switch, run the display netconf connect-status command.
# Display the NETCONF configuration on the switch.
<HUAWEI> display netconf connect-status ------------------------------------------------------------------------------ Netconf status : enable Upload alarm status : enable ------------------------------------------------------------------------------ Controller address source : -- Controller URL : -- Controller IP address : -- Controller port : -- Management VLAN : -- Management IP address : -- Register phase : -- Register status : -- Register center status : enabled ------------------------------------------------------------------------------ Netconf src-ip : 192.168.10.1 Netconf src-ipv6 : -- Netconf src-port : 830 Controller information : No Mode name IP Port Connected ------------------------------------------------------------------------------- 1 callhome aa 192.168.30.1 830 N 2 ssh - - - N
Item |
Description |
---|---|
Netconf status |
Status of the NETCONF function:
To configure the NETCONF function, run the netconf command. |
Upload alarm status |
Whether the switch is configured to send alarms to the NMS:
|
Controller address source |
Source from which the iMaster NCE-Campus address is obtained.
|
Controller URL |
URL of iMaster NCE-Campus. To configure the URL for iMaster NCE-Campus, run the controller url command. If no URL is configured or obtained, this parameter value is --. |
Controller IP address |
IP address of iMaster NCE-Campus. To configure the IP address for iMaster NCE-Campus, run the controller ip-address command. If no IP address is configured or obtained, this parameter value is --. |
Controller port |
Port number of iMaster NCE-Campus. To configure the port number of iMaster NCE-Campus, run the controller ip-address command. If no port number is configured or obtained, this parameter value is -. |
Management VLAN |
Management VLAN ID used when the switch communicates with iMaster NCE-Campus. The management VLAN can be configured using the management-vlan (NETCONF view) command. If Management VLAN (Dynamic) is displayed in the command output, the management VLAN is automatically negotiated using the PNP protocol. The management VLAN statically configured using the management-vlan command in the NETCONF view has a higher priority than the management VLAN dynamically negotiated using PNP. |
Management IP address |
IP address of the VLANIF interface corresponding to the management VLAN used when the switch communicates with iMaster NCE-Campus. This IP address can be dynamically allocated by the DHCP server, or it can be the static IP address configured for the VLANIF interface corresponding to the management VLAN. If no IP address is dynamically allocated or configured on the VLANIF interface, this parameter value is --. |
Register phase |
Current registration phase of the switch.
|
Register status |
Current registration status of the switch. NOTE:
If the TCP connection between the switch and iMaster NCE-Campus is disconnected, it takes the switch 3 minutes to detect the disconnection. The switch changes from registered to unregistered state only after detecting the disconnection. |
Register center status |
Whether the switch is enabled to communicate with the registration query center:
To configure this function, run the register-center enable command. |
Netconf src-ip |
IPv4 address of the switch. To configure the IPv4 address of the switch, run the source ip command. |
Netconf src-ipv6 |
IPv6 address of the switch. To configure the IPv6 address of the switch, run the source ipv6-address command. |
Netconf src-port |
Port number used by the switch. To configure the port number, run the source ip command. |
Controller information |
Information about the connected NMS. |
No |
Connection number. |
Mode |
NETCONF mode:
|
name |
Name of a callhome template. This parameter is not supported in NETCONF over SSH mode and the parameter value will be a hyphen (-) in this mode. To configure the name of a callhome template, run the callhome command. |
IP |
IPv4 address of the NMS. To configure the IPv4 address of the NMS in NETCONF over SSH Callhome mode, run the ip address command in the callhome template view. |
Port |
|
Connected |
Whether the NMS has set up a NETCONF connection with the switch:
|