Configuring NETCONF over SSH

After you enable NETCONF over SSH on the device, a client can perform NETCONF operations on the device through a NETCONF-over-SSH connection.

When the device acts as a server in the NETCONF-over-SSH connection, connection requests initiated by SSH1 clients are not supported.

For more information about NETCONF over SSH commands, see Network Management and Monitoring Command Reference.

To configure NETCONF over SSH:

Step

Command

Remark

1. Enter system view.

system-view

N/A

2. Enable NETCONF over SSH.

netconf ssh server enable

By default, NETCONF over SSH is disabled.

3. Specify a port to listen for NETCONF-over-SSH connections.

netconf ssh server port port-number

By default, port 830 listens for NETCONF-over-SSH connections.