Statement introduced in Junos OS Release 10.0.
Configure the TCP port used for NETCONF-over-SSH connections.
The configured port accepts only NETCONF-over-SSH connections. Regular SSH session requests for this port are rejected.
The default SSH port (22) continues to accept NETCONF sessions even with a configured NETCONF server port. To disable the SSH port from accepting NETCONF sessions, you can specify this in the login event script.
We do not recommend configuring the default ports for FTP (21) and Telnet (23) services for configuring NETCONF-over-SSH connections.
port port-number—Port number on which to enable incoming NETCONF connections over SSH.
Default: 830 (as specified in RFC 4742, Using the NETCONF Configuration Protocol over Secure Shell (SSH))
Range: 1 through 65535
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
NETCONF XML Management Protocol Guide