Routing Policies Configuration Overview
To configure a routing policy:
- Determine what you want to accomplish with the policy, and thoroughly understand how to achieve your goal using the various match conditions and actions.
- Make certain that you understand the default policies and actions for the policy you are configuring.
- Configure an interface on the router. See the Junos OS Interfaces Configuration Guide for Security Devices.
Configure an Interior Gateway Protocol (IGP) and Border Gateway Protocol (BGP), if necessary. See:
- Configure the router interface to reject or accept routes, if necessary.
- Configure static routes, if necessary. See Static Routing Configuration Overview.
- Name the policy. See Example: Creating a Routing Policy.
- Configure the policy term. See Example: Creating a Routing Policy Term.
- (Optional) Reject useless routes. See Example: Rejecting Known Invalid Routes.
- (Optional) Advertise additional routes. See Example: Injecting OSPF Routes into the BGP Routing Table.
- (Optional) Create a forwarding class. See Example: Grouping Source and Destination Prefixes into a Forwarding Class.
- (Optional) Make a route less preferable to BGP. See Example: Configuring a Routing Policy to Prepend the AS Path.
- (Optional) Suppress route information. See Example: Configuring Damping Parameters.
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Routing Policies Overview
- Minimum Routing Policy Configuration in the Junos Policy Framework Configuration Guide
- Testing Routing Policies in the Junos Policy Framework Configuration Guide
Hide Navigation Pane
Show Navigation Pane
Download
SHA1