This procedure connects the router to the network but does not enable it to forward
traffic. For complete information about enabling the router to forward traffic, including
examples, see the Junos OS configuration guides.
To configure the software:
1.
Verify that the router is powered on as described in “Powering on the M7i Router” on
page 59.
2.
Log in as the “root” user. There is no password.
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 router’s domain name.
[edit]
root@#
set system domain-name
domain-name
7.
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
8.
Configure the IP address of a DNS server.
[edit]
root@#
set system name-server
address
9.
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
Copyright © 2010, Juniper Networks, Inc.
64
M7i Multiservice Edge Router Hardware Guide
All manuals and user guides at all-guides.com