Routing Policies Configuration Overview

To configure a routing policy:

  1. Determine what you want to accomplish with the policy, and thoroughly understand how to achieve your goal using the various match conditions and actions.
  2. Make certain that you understand the default policies and actions for the policy you are configuring.
  3. Configure an interface on the router. See the Junos OS Interfaces Configuration Guide for Security Devices.
  4. Configure an Interior Gateway Protocol (IGP) and Border Gateway Protocol (BGP), if necessary. See:

  5. Configure the router interface to reject or accept routes, if necessary.
  6. Configure static routes, if necessary. See Static Routing Configuration Overview.
  7. Name the policy. See Example: Creating a Routing Policy.
  8. Configure the policy term. See Example: Creating a Routing Policy Term.
  9. (Optional) Reject useless routes. See Example: Rejecting Known Invalid Routes.
  10. (Optional) Advertise additional routes. See Example: Injecting OSPF Routes into the BGP Routing Table.
  11. (Optional) Create a forwarding class. See Example: Grouping Source and Destination Prefixes into a Forwarding Class.
  12. (Optional) Make a route less preferable to BGP. See Example: Configuring a Routing Policy to Prepend the AS Path.
  13. (Optional) Suppress route information. See Example: Configuring Damping Parameters.

Related Topics