beautypg.com

Juniper Networks Juniper M-series M7i User Manual

Page 14

background image

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;

}

}
interfaces {

fxp0 {

unit 0 {

family inet {

address address/prefix-length;

}

}

}

}

12.

Commit the configuration to activate it on the router.

[edit]
root@# commit

14

Step 7: Perform Initial Software Configuration

M7i Internet Router Quick Start