Juniper Networks MX240 Network Router User Manual


 
3. Start the CLI.
root# cli
root@>
4. Enter configuration mode.
cli> configure
[edit]
root@#
5. 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
6. Configure the routers domain name.
[edit]
root@# set system domain-name domain-name
7. Configure the IP address and prefix length for the routers Ethernet interface.
[edit]
root@# set interfaces fxp0 unit 0 family inet address address/prefix-length
8. 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
9. Configure the IP address of a DNS server.
[edit]
root@# set system name-server address
10. 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
62 Configuring the JUNOS Software
MX240 Ethernet Services Router Hardware Guide