Knowledge Search


×
 

SRX Getting Started - Configure Static Route

  [KB16572] Show Article Properties


Summary:

This article provides information about configuring and verifying static routes.

For other topics, go to the SRX Getting Started main page.

Symptoms:

Configure static routes.

Cause:

Solution:
This section contains the following:

J-Web Configuration

For information about configuring static routes, see Configuring Static Routing (J-Web Procedure).


CLI Configuration

For information about configuring static routes, see Examples: Configuring Static Routes


Creating Static Routes


The following example configures a static route of 10.2.2.0/24 with a next-hop address of 10.1.1.254:

user@host# set routing-options static route 10.2.2.0/24 next-hop 10.1.1.254

Creating Default Routes

The following example configures an IPv4 default route with a next-hop address of 10.1.1.254:

user@host# set routing-options static route 0.0.0.0/0 next-hop 10.1.1.254



Technical Documentation

Protocol-Independent Routing Properties Feature Guide for Security Devices


Verification

To review a summary of the routes in the routing table, use the following operational mode command:

user@host> show route terse

For information about verifying static route configuration, see show route terse.



Related Links: