JUNOS Software with Enhanced Services Hardware Guide

Table 45: Configuring Basic Settings (continued)

Task

J-Web Configuration Editor

Allow SSH remote access. 1. In the Nested configuration section, next to Services, click Configure or Edit.

2.Next to Ssh, click Configure or Edit.

3.Click OK.

4.Click OK a second time to return to the System level in the configuration editor hierarchy.

CLI Configuration Editor

Set remote access for SSH:

set services ssh

Define root authentication for access to the router.

NOTE: For readability, the entire key is not shown.

Define the time zone the router is located in.

Define the NTP server that NTP requests can be sent to.

Define the DNS server that receives DNS requests.

1.

In the Nested configuration section, next to Root

Set the root password. For

 

authentication, click Configure or Edit.

example:

2.

Next to Ssh rsa, click Add New Entry.

set root-authentication ssh-rsa

 

 

3.

In the Authorized key box, type the RSA password—for

“ssh-rsa

 

example, ssh-rsa AAAAB3Nza...D9Y2gXF9ac==

AAAAB3Nza...D9Y2gXF9ac==

 

root@routera.lab.router.net

root@routera.lab.router.net”

4.Click OK.

5.Click OK a second time to return to the System level in the configuration editor hierarchy.

In the Time zone list, select the time zone for your

Set the time zone. For example:

router—for example, America/Los_Angeles.

 

 

 

set time-zone America/Los_Angeles

1.

In the Nested configuration section, next to Ntp, click

Set the address of the NTP server.

 

Configure or Edit.

For example:

2.

Next to Server, click Add New Entry.

set ntp server 10.148.2.21

 

 

3.In the Address box, type the NTP server's IP address—for example, 10.148.2.21

4.Click OK.

5.Click OK a second time to return to the System level in the configuration editor hierarchy.

1.

Next to Name server, click Add New Entry.

Set the address of the DNS server.

2.

In the Address box, type the address of the DNS

For example:

 

server—for example, 10.148.2.32.

3.Click OK.

set name-server 10.148.2.32

Add each domain that the router belongs to.

1.

Next to Domain search, click Add New Entry.

Set the domains to be searched.

2.

In the Value box, type the name of the domain in

For example:

 

which the router is located—for example, lab.router.net.

set domain-search lab.router.net

3.Click OK.

4. Next to Domain search, click Add New Entry.

set domain-search router.net

5. In the Value box, type the name of another domain that the router belongs to—for example, router.net.

6. Click OK.

112Configuring Basic Settings with a Configuration Editor

Page 136
Image 136
Juniper Networks J2350 manual Task Web Configuration Editor, Set services ssh, Ssh-rsa, Set ntp server, Set name-server