[Contents] [Prev] [Next] [Index] [Report an Error]


Configure the JUNOS Internet Software

The router is shipped with the JUNOS Internet software preinstalled and ready to be configured when the router is powered on. There are three copies of the software: one on a nonrotating flash disk in the Routing Engine, one on a rotating hard disk in the Routing Engine, and one on an LS-120 disk that ships with the router.

When the router boots, it first attempts to start the image from an LS-120 disk if one is installed in the LS-120 drive. If an LS-120 disk is not installed or the attempt otherwise fails, the router next tries the flash disk, then finally the hard disk.

You configure the router by issuing JUNOS command-line interface (CLI) commands, either on a console device attached to the CONSOLE port on the craft interface, or over a telnet connection to a network connected to the MANAGEMENT ETHERNET port on the craft interface. Gather the following information before configuring the router:

To configure the software, follow this procedure:

  1. If the router is not already turned on, power it on as described in Power On the Router.
  2. Log in as the "root" user. There is no password.
  3. Start the CLI.
root# cli
root@>
  1. Enter configuration mode.
cli> configure
[edit]
root@#
  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
  1. Configure the router's domain name.
[edit]
root@# set system domain-name domain-name
  1. 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
  1. 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
  1. Configure the IP address of a DNS server.
[edit]
root@# set system name-server address
  1. Set the root authentication password by entering either a clear-text password, an encrypted password, or an ssh public key string (DSA or RSA).
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
or
[edit]
root@# set system root-authentication encrypted-password encrypted-password 
or
[edit]
root@# set system root-authentication ssh-dsa public-key 
or
[edit]
root@# set system root-authentication ssh-rsa public-key
  1. Optionally, 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;
            }
        }
    }
}
  1. Commit the configuration to activate it on the router.
[edit]
root@# commit
  1. Optionally, configure additional properties by adding the necessary configuration statements. Then, commit the changes to activate them on the router.
[edit]
root@host-name# commit
  1. When you have finished configuring the router, exit configuration mode.
[edit]
root@host-name# exit
root@host-name> 

The commands in Steps 5 through 12 connect the router to the network but do not enable it to forward traffic. For complete information about the commands to issue in Step 13, including examples, see the JUNOS Internet software configuration guides.


[Contents] [Prev] [Next] [Index] [Report an Error]