Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

port (NETCONF)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
port port-number;

Hierarchy Level

content_copy zoom_out_map
[edit system services netconf ssh]

Description

Configure the TCP port used for NETCONF-over-SSH connections.

Note:
  • 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.

Options

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.

Release Information

Statement introduced in Junos OS Release 10.0.

footer-navigation