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 125.
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).
Copyright © 2019, Juniper Networks, Inc.130
M7i Multiservice Edge Router Hardware Guide