[an error occurred while processing this directive] [an error occurred while processing this directive]

Configuring Basic Settings for the SRX210 Services Gateway with a Configuration Editor

To establish basic connectivity on the services gateway:

  1. Identify the services gateway.
  2. Connect it to the network.
  3. Specify basic network settings.

In a typical network, the services gateway has the basic settings listed in Table 1. Determine the values to set on the services gateway in your network.

Table 1: Sample Settings on the Services Gateway

Services Gateway Property

Sample Value

Services gateway hostname

devicea

Access for user root

SSH RSA public key

IP address of the NTP server used to synchronize system time

10.148.2.21

IP address of the DNS server to which DNS requests are sent

10.148.2.32

Domains to which the services gateway belongs

lab.device.net and device.net

IP address of a backup device to use while the services gateway is booting or if the routing protocol processes fail to start

192.168.2.12/24

Loopback IP address and prefix length for the services gateway lo0 interface

172.16.1.24/32

To use a configuration editor to configure basic settings:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or the CLI configuration editor.
  2. Configure the basic settings for the device.
  3. If you are using the J-Web interface:
    • Click Commit to view a summary of your changes.
    • Click OK to commit the configuration.
  4. If you are using the CLI, commit the configuration by entering the commit command.
  5. Verify the basic configuration settings. See Displaying Basic Connectivity Settings for the SRX240 Services Gateway

Table 2: Configuring Basic Settings

Task

J-Web Configuration Editor

CLI Configuration Editor

System Identity

Navigate to the System level in the configuration hierarchy.

  1. In the J-Web interface, select Configure> System Properties> System Identity.
  2. On System Identity Configuration page, click Edit.

From the [edit] hierarchy level, enter

edit system

Define the hostname of the device.

In the Host name box, type the hostname of the device—for example, devicea.

Set the hostname. For example:

set host-name devicea

Name the domain in which the device is located.

In the Domain name box, type the domain name of the device—for example, lab.device.net.

Set the domain name. For example:

set domain-name lab.device.net

Define root authentication for access to the device.

  1. Set the password that user root can use to log into the services gateway.
  2. Re-type the password to confirm it.

Set the root password. For example:

set system root-authentication plain-text password

Define the DNS server that receives DNS requests.

  1. Next to DNS server, click Add.
  2. In the Address box, type the address of the DNS server—for example, 10.148.2.32.
  3. Click OK.

Set the address of the DNS server. For example:

set name-server 10.148.2.32

Add each domain to which the device belongs.

  1. Next to Domain Search, click Add.
  2. In the Value box, type the name of the domain in which the device is located—for example, lab.device.net.
  3. Click OK.
  4. Next to Domain Search, click Add.
  5. In the Value box, type the name of another domain that the device belongs to—for example, device.net.
  6. Click OK.
  7. Click OK a second time to return to the System level in the configuration editor hierarchy.

Set the domains to be searched. For example:

set domain-search lab.device.net

set domain-search device.net

Management Access > Services

Define management port and loopback address for the device.

  1. In the J-Web interface, select Configure> System Properties> Management Access.
  2. On Management Access Page, click Edit.
  3. On Edit Management Access page, select Services tab.
  4. Select Enable SSH and click OK a second time to return to the System level in the configuration editor hierarchy.

Set remote access for SSH:

set services ssh

Date Time

Define the time zone the device is located in.

  1. In the J-Web interface, select Configure> System Properties> Date Time.
  2. On Date and Time Page, click Edit.
  3. In the Time zone list, select the time zone for your device—for example, America/Los_Angeles.

Set the time zone. For example:

set time-zone America/Los_Angeles


Published: 2009-10-26

[an error occurred while processing this directive]