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:
Create the routing policy.
[edit]user@host# edit policy-options policy-statement policy1Create the policy term.
[edit policy-options policy-statement policy1]user@host# set term term1Commit 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
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Routing Policies Configuration Overview
- Understanding Routing Policy Terms
Hide Navigation Pane
Show Navigation Pane
Download
SHA1