Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Part 3: Perform Initial Configuration


Before you begin:

  • Ensure that the switch is powered on.

  • Set these values in the console server or PC: baud rate—9600; flow control—none; data bits—8; parity—none; stop bits—1; DCD state—disregard.

  • For console access, connect the console port on the switch (labeled CON) to the PC by using an RJ-45 cable and an RJ-45 to DB-9 serial port adapter.

  • For out-of-band management, connect the management port on the switch (labeled MGMT) to the PC by using an RJ-45 cable.


    Ensure that the removable storage media that contains a copy of Junos OS is not installed in the switch except when you want to install Junos OS from the storage media. If the storage media is installed during normal operation and if the switch is rebooted intentionally or accidentally (for example, because of a power outage), the configuration in the switch is deleted and the copy of the software in the storage media is installed in the switch.

To perform initial configuration:

  1. Log in as the root user. There is no password.
  2. Start the CLI.
  3. Enter the configuration mode.
  4. Configure the name of the switch. If the name includes spaces, enclose the name in double quotation marks (“ ”).
  5. Configure the switch’s domain name.
  6. Configure the IP address and prefix length for the switch’s management Ethernet interface.
  7. Configure the IP address of a backup router, which is used only when the routing protocol is not running.
  8. Configure the IP address of a Domain Name System (DNS) server.
  9. Set the root authentication password by entering either a plain-text password, an encrypted password, or an SSH public key string (DSA or RSA).




  10. (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. To access the management port from a remote subnet, you must add a static route to that subnet within the routing table.
  11. Configure the Telnet service.
  12. (Optional) Display the configuration to verify that it is correct.
  13. (Optional) Configure additional properties by adding the necessary configuration statements.
  14. Commit the configuration to activate it on the switch.
  15. Exit the configuration mode.

See the complete software documentation at