Example: Creating a Routing Policy Term

This example shows how to create a routing policy term.

Requirements

Before you begin, determine what you want to accomplish with the policy, configure router interfaces, and configure routing protocols, as explained in Routing Policies Configuration Overview.

Overview

In this example, you create a routing policy called policy1 and a term for the policy called term1.


Configuration

Step-by-Step Procedure

To configure a routing policy term:

  1. Create the routing policy.

    [edit]user@host# edit policy-options policy-statement policy1
  2. Create the policy term.

    [edit policy-options policy-statement policy1]user@host# set term term1
  3. Commit the configuration if you are done configuring the device.

    [edit policy-options policy-statement policy1]user@host# commit

    Note: The policy does not take effect until you apply it.

Verification

To verify your configuration, use the show policy-options command.

Related Topics