Enabling netconf over ssh, Establishing a netconf session, Entering xml view – H3C Technologies H3C S6300 Series Switches User Manual
Page 241: Required.) establishing a netconf session
228
Step Command
Remark
1.
Enter system view.
system-view
N/A
2.
Enable NETCONF over
SOAP.
•
Enable NETCONF over SOAP
over HTTP (not available in FIPS
mode):
netconf soap http enable
•
Enable NETCONF over SOAP
over HTTPS:
netconf soap https enable
By default, the NETCONF over
SOAP feature is disabled.
Enabling NETCONF over SSH
This feature is available only in Release 2311 and later versions.
This feature allows users to use a client to perform NETCONF operations on the device through a
NETCONF-over-SSH connection.
To enable 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.
Establishing a NETCONF session
A client must send a hello message to a device and finishing capabilities exchange before the device
process other requests from the client.
The device supports a maximum of 32 NETCONF sessions. If the upper limit is reached, new NETCONF
users cannot access the device.
Entering XML view
Task Command
Remarks
Enter XML view.
xml
Available in user view.