Example: Creating a Routing Policy
This example shows how to create a simple routing policy.
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.
Configuration
Step-by-Step Procedure
To create a routing policy:
Create the routing policy.
[edit]user@host# set policy-options policy-statement policy1Commit the configuration if you are done configuring the device.
[edit]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
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Routing Policies Configuration Overview
- Understanding Routing Policies
Hide Navigation Pane
Show Navigation Pane
Download
SHA1