< Home

display netconf connect-status

Function

The display netconf connect-status command displays the NETCONF configuration on a switch.

Format

display netconf connect-status

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

To view the NETCONF configuration on a switch, run the display netconf connect-status command.

Example

# 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
Table 1 Description of the display netconf connect-status command output

Item

Description

Netconf status

Status of the NETCONF function:

  • enable: The function is enabled.
  • disable: The function is disabled.

To configure the NETCONF function, run the netconf command.

Upload alarm status

Whether the switch is configured to send alarms to the NMS:

  • enable: The switch is configured to send alarms to the NMS.
  • disable: The switch cannot send alarms to the NMS.

Controller address source

Source from which the iMaster NCE-Campus address is obtained.

  • User-defined configuration: indicates that the address is defined by the user.
  • Allocated by Register Center: indicates that the address is obtained from the registration query center.
  • Allocated by DHCP: indicates that the address is obtained through DHCP.
  • Allocated by controller: indicates that the IP address is obtained from iMaster NCE-Campus.
  • --: indicates that the iMaster NCE-Campus address is not 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.
  • DHCP: The switch is requesting an IP address from a DHCP server.
  • registering: The switch has obtained an IP address from a DHCP server and is registering with iMaster NCE-Campus.
  • registered: The switch has registered with iMaster NCE-Campus.
  • aborted: The process of registering the switch with iMaster NCE-Campus is terminated using the netconf register abort command.

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:

  • enabled
  • disabled

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:

  • callhome: NETCONF over SSH Callhome
  • ssh: NETCONF over SSH

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

  • This parameter is the port number used by the NMS in NETCONF over SSH Callhome mode. To configure the port number, run the ip address command in the callhome template view.
  • This parameter is the port number used by both the switch and NMS in NETCONF over SSH mode. To configure the port number, run the source ip or source ipv6-address command.

Connected

Whether the NMS has set up a NETCONF connection with the switch:

  • Y: The NMS has set up a NETCONF connection with the switch.
  • N: The NMS has not set up a NETCONF connection with the switch.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >