Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configuring Junos OS on the EX4650

EX4650 Switch Default Configuration

Each EX4650 switch is programmed with a factory default configuration that contains the values set for each configuration parameter when a switch is shipped. The default configuration file sets values for system parameters such as the system log and file messages.

When you commit changes to the configuration, a new configuration file is created that becomes the active configuration. You can always revert to the factory default configuration. See Reverting to the Default Factory Configuration for the EX Series Switch.

A factory default configuration file of an EX4650 switch looks like this:

Connecting and Configuring an EX4650 Switch

Before you begin connecting and configuring an EX4650 switch, gather the following information:

  • Name the switch will use on the network

  • Domain name the switch will use

  • IP address and prefix length information for the Ethernet interface

  • IP address of a default switch

  • IP address of a DNS server

  • Password for the root user

The EX4650 switch is shipped with the Junos OS preinstalled and ready to be configured when the switch is powered on. There is a 64-MB internal NAND Flash memory device located on the baseboard for BIOS storage. You can insert the USB storage device into the USB slot on the front panel. EX4650 comes with a single SSD. There are two copies of the software: one on the SSD drive and one on a USB flash drive that can be inserted into the slot in the faceplate of the RE module.

When the switch boots, it first attempts to start the image on the SSD drive by default. If you wish to boot from the USB, you need to manually choose the option accordingly.

You configure the switch by issuing Junos OS command-line interface (CLI) commands, either on a console device attached to the console (CON) port on the front panel, or over a telnet connection to a network connected to the Ethernet management (C0 or C1) port on the front panel.

This procedure connects the switch to the network, but does not enable it to forward traffic. For complete information about enabling the switch to forward traffic, including examples, see the Junos OS configuration guides.

To configure the software:

  1. Verify that the switch is powered on.
  2. Log in as the root user. There is no password.
  3. Start the CLI.
  4. Enter configuration mode.
  5. Set the root authentication password by entering either a clear-text password, an encrypted password, or an SSH public key string (DSA or RSA).




  6. Configure the name of the switch. If the name includes spaces, enclose the name in double quotation marks (“ ”).
  7. Create a user account.
  8. Set the user account class to super-user.
  9. Configure the switch’s domain name.
  10. Configure the IP address and prefix length for the switch’s Ethernet interface.
  11. Configure the IP address of a backup router, which is used only while the routing protocol is not running.
  12. Configure the IP address of a DNS server.
  13. (Optional) Configure the static routes to remote subnets with access to the management port. Access to the management port is limited to the local subnet. For more information about static routes, see the Junos OS Administration Library for Routing Devices.
  14. Configure the telnet service at the [edit system services] hierarchy level.
  15. (Optional) Display the configuration to verify that it is correct.
  16. Commit the configuration to activate it on the switch.
  17. (Optional) Configure additional properties by adding the necessary configuration statements. Then commit the changes to activate them on the switch.
  18. When you have finished configuring the switch, exit configuration mode.