Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 

Related Documentation

    Step 6: Perform Initial Software Configuration

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

    To configure the software:

    Enter Configuration Mode

    1. Verify that the router is powered on.
    2. Log in as the “root” user. There is no password.
    3. Start the CLI.
      root# cliroot@>
    4. Enter configuration mode.
      cli> configure[edit]root@#

    Configure User Accounts and Passwords

    For information about using an encrypted password or an SSH public key string (DSA or RSA), see the Junos OS Administration Library for Routing Devices.

    1. Add a password to the root administration user account. Enter a clear-text password.
      [edit]root# set system root-authentication plain-text-passwordNew password: password Retype new password: password
    2. Create a management console user account.
      root# set system login user user-name authentication plain-text-password
      New Password: password
      Retype new password: password
    3. Set the user account class to super-user.
      root@# set system login user user-name class super-user

    Configure System Attributes

    1. Configure the name of the router. If the name includes spaces, enclose the name in quotation marks (“ ”).
      [edit]root@# set system host-name host-name
    2. Configure the router’s domain name.
      [edit]root@# set system domain-name domain-name
    3. Configure the IP address and prefix length for the router’s Ethernet interface.
      [edit]root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
    4. Configure the IP address of a backup router, which is used only while the routing protocol is not running.
      [edit]root@# set system backup-router address
    5. Configure the IP address of a DNS server.
      [edit]root@# set system name-server address
    6. (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 need to add a static route to that subnet within the routing table. For more information about static routes, see the Junos OS Administration Library for Routing Devices.
      [edit]root@# set routing-options static route remote-subnet next-hop destination-IP retain no-readvertise
    7. Configure the telnet service at the [edit system services] hierarchy level.
      [edit]root@# set system services telnet

    Commit the Configuration

    1. (Optional) Display the configuration to verify that it is correct.
      [edit]root@# show
      system {host-name host-name;domain-name domain-name;backup-router address;root-authentication {authentication-method (password | public-key);}name-server {address;}}
      interfaces {fxp0 {unit 0 {family inet {address address/prefix-length;}}}}
    2. Commit the configuration to activate it on the router.
      [edit]root@# commit
    3. (Optional) Configure additional properties by adding the necessary configuration statements. Then commit the changes to activate them on the router.
      [edit]root@host# commit
    4. When you have finished configuring the router, exit configuration mode.
      [edit]root@host# exitroot@host>

    Modified: 2016-04-11