Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Performing Initial Software Configuration on the SRX220 Services Gateway Using the CLI


This procedure connects the device to the network but does not enable it to forward traffic. For complete information about enabling the device to forward traffic, including examples, see the appropriate Junos OS configuration guides.

To configure the software:

  1. Verify that the device is powered on.
  2. Log in as the root user. There is no password.
  3. Start the CLI.
  4. Enter configuration mode.
  5. Set the root authentication password by entering a cleartext password, an encrypted password, or an SSH public key string (DSA or RSA).
  6. Configure an administrator account on the device.
  7. Commit the configuration to activate it on the device.
  8. Log in as the administrative user you configured in Step 6.
  9. Configure the name of the device. If the name includes spaces, enclose the name in quotation marks (“ ”).
  10. Configure the traffic interface.
  11. Configure the default route.
  12. Configure basic security zones and bind them to traffic interfaces.
  13. Configure basic security policies.
  14. Create a Network Address Translation (NAT) rule for source translation of all Internet-bound traffic.
  15. Check the configuration for validity.
  16. Commit the configuration to activate it on the device.
  17. Optionally, display the configuration to verify that it is correct.
  18. Optionally, configure additional properties by adding the necessary configuration statements. Then commit the changes to activate them on the services gateway.
  19. When you have finished configuring the services gateway, exit configuration mode.