< Home

netconf

Function

The netconf command enables the NETCONF function and enters the NETCONF view.

The undo netconf command disables the NETCONF function.

By default, NETCONF is disabled on a switch.

Format

netconf

undo netconf

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the NMS needs to configure and manage a switch using NETCONF, run the netconf command on the switch to enable the NETCONF function.

Precautions

After the undo netconf command is executed on the switch to disable the NETCONF function, all NETCONF configurations, and the card register-permit configuration on the switch are deleted, leading to communication interruption between the switch and NMS.

Before running the netconf command to enable the NETCONF function, ensure that port 830 and ports 55552 to 55807 are not in use. Otherwise, NETCONF cannot be enabled.

When you disable NETCONF in the system view or delete the management VLAN in the NETCONF view, the system displays a message asking you whether to retain the ip address dhcp-alloc configuration. Exercise caution when you choose to delete the configuration

Example

# Enable the NETCONF function and display the NETCONF view.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >