M160 Internet Router Hardware Guide

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 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

[edit]

root@# set system root-authentication ssh-rsa public-key

11.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 ;

122 Configuring the JUNOS Internet Software

Page 146
Image 146
Juniper Networks M160 manual Configure the router’s domain name