Configuring Routing Policy
To configure routing policy, you first define the policy, then apply it to a routing protocol or the forwarding table.
Defining Routing Policies
To define a routing policy, include the policy-statement statement. Each routing policy name must be unique within a configuration.
[edit policy-options] policy-statement policy-name { term term-name { from { match-conditions; policy subroutine-policy-name; prefix-list name; route-filter destination-prefix match-type <actions>; source-address-filter destination-prefix match-type <actions >; } to { match-conditions; policy subroutine-policy-name; } then actions; prefix-list name { ip-addresses; } }
Each policy term can consist of two statements, from and to, that define match ...
Get Juniper Networks® Field Guide and Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.