Juniper NETWORKS SRX340 Services Gateway User Guide

June 16, 2024
JUNIPER NETWORKS

Juniper-NETWORKS-LOGO

Juniper NETWORKS SRX340 Services Gateway

Juniper-NETWORKS-SRX340-Services-Gateway-PRODUCT

Product Using Instructions

Specifications

  • Product Name: SRX340

Step 1: Begin

In this guide, we provide a simple, three-step path, to quickly get you up and running with your new SRX340. We’ve simplified and shortened the installation and configuration steps, and included how-to videos. You’ll learn how to install the SRX340 in a rack, power it up, and deploy it on your network using the CLI.

NOTE: We think you’ll want to check out our Guided Setup: SRX300 Line Firewalls. Our Guided Setup picks up where this Day One+ ends, providing step- by-step instructions on how to easily secure and validate your branch location. Are you interested in getting hands-on experience with the topics and operations covered in this guide? Visit Juniper Networks Virtual Labs and reserve your free sandbox today! You’ll find the Junos Day One Experience sandbox in the stand alone category.

Install the SRX340 in a Rack

  • In this section, you will find information on what’s included in the box, additional requirements, and instructions on how to rack the SRX340.

Rack It

  1. Review General Safety Guidelines and Warnings.
  2. Wrap and fasten one end of the electrostatic discharge (ESD) grounding strap around your bare wrist and connect the other end to a site ESD point.
  3. Attach the mounting brackets to the sides of the SRX340 using the eight mounting screws and the screwdriver. Depending on how you’d like the SRX340 to sit in the rack, you can attach the mounting brackets to the front or center mounting holes.
  4. Lift the SRX340 and position it in the rack. Line up the bottom hole in each mounting bracket with a hole in each rack rail, making sure that the SRX340 is level.
  5. While you’re holding the SRX340 in place, have a second person insert and tighten the rack mount screws to secure the mounting brackets to the rack. Make sure to tighten the screws in the two bottom holes first and then tighten the screws in the two top holes.
  6. Check that the mounting brackets on each side of the rack are level.

Power On

Now that you’ve installed your SRX340 in the rack, you’re ready to connect it to power.

  1. Wrap and fasten one end of the electrostatic discharge (ESD) grounding strap around your bare wrist and connect the other end to a site ESD point.
  2. Attach a grounding cable to earth ground, and then attach the other end to the grounding point on the side panel of the SRX340.
  3. Plug the power cord into the SRX340 rear panel.
  4. If the AC power source outlet has a power switch, turn it off.
  5. Plug the other end of the power cord into the AC power source outlet.
  6. If the AC power source outlet has a power switch, turn it on.

Step 2: Up and Running

  • In this section, you will find information on SRX340 provisioning options and initial configuration using the CLI.
  • You will also learn how to connect to the serial console port and perform the initial configuration.

Step 3: Keep Going

  • In this section, you will find information on what’s next after setting up your SRX340, general information, and learning resources.

Begin

Step 1: Begin

In this guide, we provide a simple, three-step path, to quickly get you up and running with your new SRX340. We’ve simplified and shortened the installation and configuration steps, and included how-to videos. You’ll learn how to install the SRX340 in a rack, power it up, and deploy it on your network using the CLI.

NOTE: We think you’ll want to check out our Guided Setup: SRX300 Line Firewalls. Our Guided Setup picks up where this Day One+ ends, providing step-by-step instructions on how to easily secure and validate your branch location. Are you interested in getting hands-on experience with the topics and operations covered in this guide? Visit Juniper Networks Virtual Labs and reserve your free sandbox today! You’ll find the Junos Day One Experience sandbox in the stand alone category.

Meet the SRX340

Juniper-NETWORKS-SRX340-Services-Gateway-FIG-1

The Juniper Networks® SRX340 Firewall securely consolidates security, routing, switching, and WAN connectivity in a compact 1-U chassis. It supports up to 3-Gbps firewall throughput and 600-Mbps IPsec VPN to meet the needs of midsize, distributed- enterprise locations. Along with Juniper Sky™ Enterprise and Contrail Service Orchestration (CSO), the SRX340 delivers fully automated SD-WAN to both enterprises and service providers. A zero-touch provisioning (ZTP) feature simplifies branch network connectivity for initial deployment and ongoing management. The SRX340 has eight 1GbE RJ-45 ports, eight 1GbE SFP ports, one management port, one console port, and four Mini-Physical Interface Module (Mini-PIM) slots. The RJ-45 and SFP ports are MACsec capable.

Install the SRX340 in a Rack

What’s in the Box?

  • SRX340 Firewall
  • Power cord appropriate for your geographic location
  • USB console cable
  • Two mounting brackets
  • Eight mounting screws to attach the mounting brackets to the SRX340

What Else Do I Need?

DB-9 to RJ-45 cable or a DB-9 to RJ-45 adapter with a CAT5E copper cable—We no longer include a DB-9 to RJ-45 cable or a DB-9 to RJ-45 adapter with a CAT5E copper cable as part of the device package. If you require a console cable, you can order it separately with the part number JNP-CBL-RJ45- DB9 (DB-9 to RJ-45 adapter with a CAT5E copper cable).

You’ll also need:

  • Someone to help you do the installation
  • Rack mount screws appropriate for your rack
  • A number two Phillips (+) screwdriver

Rack It

Here’s how to install the SRX340 in a rack:

  1. Review General Safety Guidelines and Warnings.
  2. Wrap and fasten one end of the electrostatic discharge (ESD) grounding strap around your bare wrist, and connect the other end to a site ESD point.
  3. Attach the mounting brackets to the sides of the SRX340 using the eight mounting screws and the screwdriver.Juniper-NETWORKS-SRX340-Services-Gateway-FIG-2
    • Depending on how you’d like the SRX340 to sit in the rack, you can attach the mounting brackets to the front or center mounting holes.
  4. Lift the SRX340 and position it in the rack. Line up the bottom hole in each mounting bracket with a hole in each rack rail, making sure that the SRX340 is level.Juniper-NETWORKS-SRX340-Services-Gateway-FIG-3
  5. While you’re holding the SRX340 in place, have a second person insert and tighten the rack mount screws to secure the mounting brackets to the rack. Make sure to tighten the screws in the two bottom holes first and then tighten the screws in the two top holes.
  6. Check that the mounting brackets on each side of the rack are level.

Power On

Now that you’ve installed your SRX340 in the rack, you’re ready to connect it to power.

  1. Wrap and fasten one end of the electrostatic discharge (ESD) grounding strap around your bare wrist, and connect the other end to a site ESD point.Juniper-NETWORKS-SRX340-Services-Gateway-FIG-4
  2. Attach a grounding cable to earth ground, and then attach the other end to the grounding point on the side panel of the SRX340.
  3. Plug the power cord into the SRX340 rear panel.
  4. If the AC power source outlet has a power switch, turn it off.
  5. Plug the other end of the power cord into the AC power source outlet.
  6. If the AC power source outlet has a power switch, turn it on.
    • The SRX340 powers up as soon as you connect it to power. When the PWR and STAT LEDs on the front panel are lit solid green, the SRX340 is ready to use.

Up and Running

Step 2: Up and Running

Now that the SRX340 is powered on, let’s do some initial configuration to get it up and running on the network.

NOTE: Be sure to check out our Guided Setup: SRX300 Line Firewalls. Our Guided Setup picks up where this Day One+ leaves off, providing step-by-step instructions on how to easily secure and validate your branch location.

SRX340 Provisioning Options

It’s simple to provision and manage the SRX340 and other devices on your network. You can choose the configuration tool that’s right for you:

  • Junos CLI commands. In this guide we show you how to configure the SRX340 with CLI commands that leverage the plug and play factory defaults.
  • J-Web, Juniper Networks Setup wizard that is preinstalled on the SRX340. For information on performing initial configuration using the J-Web setup wizard see Configure SRX Devices Using the J-Web Setup Wizard in the J-Web User Guide for SRX Series Devices.
  • Juniper Sky™ Enterprise, Juniper Networks-hosted public cloud-based Software as a Service (SaaS) solution. You’ll need to have a Juniper Sky Enterprise subscription service before you can use it to configure the SRX340. For more information, check out the Juniper Sky Enterprise Getting Started Guide.
  • Juniper Networks Contrail Service Orchestration (CSO). To use CSO, you’ll need an authentication code. See the Contrail Service Orchestration (CSO ) Deployment Guide.

Initial Configuration Using the CLI

You can use the console port on the SRX to do the initial configuration. This section assumes you start from a factory default configuration. See SRX340 Firewall Hardware Guide for details on the SRX340 factory default configuration. After you configure the SRX340, you can log in on a local LAN port, or remotely over the WAN interface, to manage and configure the SRX using the CLI or J-Web.

We recommend that you use the ge-0/0/0 interface for WAN connectivity on the SRX340. By default, this interface is set to receive its Internet access configuration from the service provider.

NOTE: This examples assumes you are using DHCP to configure the WAN interface. If the WAN provider does not support DHCP, you’ll need to manually configure the WAN interface and related static routing. See Junos Initial Configuration.

Have this information handy before you begin the initial configuration:

  • Root password
  • Hostname

Connect to the Serial Console Port

  1. Plug one end of the Ethernet cable into the RJ-45 to DB-9 serial port adapter for your SRX340.
    • NOTE: We no longer include a DB-9 to RJ-45 cable or a DB-9 to RJ-45 adapter with a CAT5E copper cable as part of the device package. If you require a console cable, you can order it separately with the part number JNP-CBL-RJ45-DB9 (DB-9 to RJ-45 adapter with a CAT5E copper cable).
  2. Plug the RJ-45 to DB-9 serial port adapter into the serial port on the management device.Juniper-NETWORKS-SRX340-Services-Gateway-FIG-7
  3. Connect the other end of the Ethernet cable to the serial console port on the SRX340.
  4. Start your asynchronous terminal emulation application (such as Microsoft Windows HyperTerminal) and select the appropriate COM port to use (for example, COM1).
  5. Verify that the serial port settings are set to the default:
    • Baud rate—9600
    • Parity—N
    • Data bits—8
    • Stop bits—1
    • Flow control—none

NOTE: You can also connect to the SRX340 using a mini-USB console port. See the SRX340 Hardware Guide.

Perform Initial Configuration

  1. Login as the root user and start the CLI. You don’t need a password if you’re running the factory default.
    • login: root
    • root@%cli
    • root>
    • NOTE: You can view the factory-default settings with the show configuration operational mode command.
  2. Enter configuration mode.
    • root> configure
    • [edit]
    • root#
  3. Since you’re doing the initial configuration manually, you’ll need to remove ZTP from the configuration. This stops the periodic log messages that report on ZTP status. Set the root authentication password and commit the change to deactivate ZTP.
    • [edit]
    • root# delete chassis auto-image-upgrade
    • root# delete system phone-home
    • root# set system root-authentication plain-text-password
    • New password: password
    • Retype new password: password
    • Issue the commit command to activate the candidate configuration that disables ZTP:
    • [edit]
    • root# commit
  4. Enable root login over SSH, and allow SSH access over the WAN interface (ge-0/0/0).
    • [edit]
    • root# set system services ssh root-login allow
    • root# set security zones security-zone untrust interfaces ge-0/0/0.0 host-inbound-traffic
    • system-services ssh
  5. Configure the hostname.
    • [edit]
    • root# set system host-name host_name
  6. That’s it! The initial configuration is complete. Commit the configuration to activate the changes on the SRX.
    • [edit]
    • root# commit

Congratulations! Your SRX is Up and Running

Your SRX340 is now online and providing secure Internet access to devices attached to the LAN ports.
You can manage the device locally and remotely, using the Junos CLI, J-Web, or a cloud based provisioning service. Here’s what your network looks like:

Juniper-NETWORKS-SRX340-Services-Gateway-FIG-8

A few things to keep in mind about your new SRX340 branch network:

  • You access the SRX CLI or J-Web user interface locally using the 192.168.1.1 address. To access the SRX remotely, specify the IP address assigned by the WAN provider. Simply issue a show interfaces ge-0/0/0 terse CLI command to confirm the address in use by the WAN interface.
  • The management interface is configured as a DHCP server for the 192.168.1.0/24 subnet.
  • Devices attached to the LAN ports are configured to use DHCP. They receive their network configuration from the SRX. These devices obtain an IP address from the 192.168.2.0/24 address pool and use the SRX as their default gateway.
  • All LAN ports are in the same subnet with Layer 2 connectivity. All traffic is permitted between trust zone interfaces.
  • All traffic originating in the trust zone is permitted in the untrust zone. Matching response traffic is allowed back from the untrust to the trust zone. Traffic that originates from the untrust zone is blocked from the trust zone.
  • The SRX performs source NAT (S-NAT) using the WAN interface’s IP for traffic sent to the WAN that originated from the trust zone.
  • Traffic associated with specific system services (HTTPS, DHCP, TFTP, and SSH) is permitted from the untrust zone to the local host. All local host services and protocols are allowed for traffic that originates from the trust zone.

Keep Going

Step 3: Keep Going

Congratulations! Your SRX340 is configured and ready to go. Here are some things you can do next.

What’s Next?

NOTE: Quickly configure and validate a secure branch office in a few simple steps with our Guided Setup: SRX300 Line Firewalls. Our Guided Setup picks up where this Day One+ guide ends and is designed to quickly get your branch location online and secured.

If you want to Then
Change configuration settings, get another device up and running, or both Log

in to J-Web and use the wizard. Alternatively, you can use the more advanced configuration features offered by Juniper Contrail Service Orchestration (CSO) and Juniper Sky Enterprise. To use these services, you’ll need an account and activation code. Check out the Contrail Service Orchestration (CSO ) Deployment Guide and the Juniper Sky Enterprise Getting Started Guide.
Set up your SRX340 with advanced security measures to protect and defend your network| Visit Day One: SRX Series Up and Running With Advanced Security Services
Manage software upgrades on your SRX340| See Installing Software on SRX Series Devices
See, automate, and protect your network with Juniper Security| Visit the Security Design Center
---|---
Get hands-on experience with the
procedures covered in this guide| Visit Juniper Networks Virtual Labs and reserve your free sandbox.
You’ll find the Junos Day One Experience sandbox in the stand alone category.
---|---

General Information
If you want to Then

Download, activate, and manage your software licenses to unlock additional features for your SRX Firewall| See Activate Junos OS Licenses in the Juniper Licensing Guide
See all documentation available for the SRX340| Visit the SRX340 Documentation page in the Juniper TechLibrary
Configure the SRX340 with the Junos OS CLI| Start with the Day One+ for Junos OS guide
Configure the SRX340 using J-Web| See J-Web for SRX Series Documentation
Stay up-to-date on new and changed features and known and resolved issues.| See Junos OS Release Notes

Learn With Videos

Our video library continues to grow! We’ve created many, many videos that demonstrate how to do everything from install your hardware to configure advanced Junos OS network features. Here are some great video and training resources that will help you expand your knowledge of Junos OS.

If you want to Then

View a Web-based training video which provides an overview of the SRX340 and describes how to install and configure it| SRX340 and SRX345 Firewalls Overview and Deployment (WBT)
Get short and concise tips and instructions that provide quick answers, clarity, and insight into specific features and functions of Juniper technologies| See Learning with Juniper on Juniper Networks main YouTube page
View a list of the many free technical trainings we offer at Juniper| Visit the Getting Started page on the Juniper Learning Portal

Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered marks, or registered service marks are the property of their respective owners. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice.
Copyright © 2023 Juniper Networks, Inc. All rights reserved.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

JUNIPER NETWORKS User Manuals

Related Manuals