292
Only capability set
urn:ietf:params:netconf:base:1.0
is available. It is supported by both the device
and user terminals.
Examples
# Enable NETCONF over SSH.
<Sysname> system-view
[Sysname] netconf ssh server enable
netconf ssh server port
Use
netconf
ssh
server port
to specify a port to listen for NETCONF over SSH connections.
Use
undo
netconf
ssh
server
port
to restore the default.
Syntax
netconf
ssh
server
port
port-number
undo
netconf ssh
server
port
Default
Port 830 listens for NETCONF over SSH connections.
Views
System view
Predefined user roles
network-admin
Parameters
port-numbe
r: Specifies a port by its number in the range of 1 to 65535.
Usage guidelines
When assigning a listening port, make sure the specified port is not being used by other services.
The SSH service can share the same port with other services, but it might not operate correctly.
Examples
# Specify port 800 to listen for NETCONF over SSH connections.
<Sysname> system-view
[Sysname] netconf ssh server port 800
xml
Use
xml
to enter XML view.
Syntax
xml
Views
User view