Example: Configuring a Basic Set of Static Routes

This example shows how to configure a basic set of static routes.

Requirements

Before you begin:

Overview

Customer routes that are connected to stub networks are often configured as static routes. Figure 1 on page 12 shows a sample network.

In this example, you configure the static route as 192.168.47.5/32 and define the next-hop address as 10.10.10.10.

Figure 5: Customer Routes Connected to a Stub Network

Image g015023.gif

Configuration

Step-by-Step Procedure

To configure basic static routes:

  1. Create a static route and set the next-hop address.
    [edit]user@host# set routing-options static route 192.168.47.5 next-hop 10.10.10.10
  2. If you are done configuring the device, commit the configuration.
    [edit]user@host# commit

Verification

To verify the configuration is working properly, enter the show routing-options static command.

Related Topics