Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How to enable remote management access to CLI (command line interface) on the EX-series switch



Article ID: KB10906 KB Last Updated: 05 Mar 2017Version: 6.0
Remote management access to the router is disabled by default and must be explicitly enabled. Only console access to the router is enabled in a default configuration. This restriction applies to all management access protocols such as telnet, ssh and ftp. The information below describes Telnet and SSH methods and the commands to enable them.

  • To enable telnet session to the switch, type the following commands: 
                user@switch# set system services telnet

                commit your changes


The secure shell (SSH) provides secure encrypted communications over an insecure network and is therefore useful for switch management. The switch needs the Crypto package to enable the SSH service. The Crypto package is installed by default with the 'domestic' JUNOS-ex software package. To verify that the Crypto package is installed, check the 'show version' output on the switch.

  • To enable secure session to the switch, use the following commands:
                user@switch# set system services ssh

                Commit your changes

Both access methods allow the user to control the number of allowed connections (connection-limit) and number of allowed connections per minute (rate-limit)

For example:

user@switch# set system services telnet connection-limit 10 rate-limit 4
user@switch# set system services ssh connection-limit 10 rate-limit 4
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search