|
Navigate to the Term level in the configuration
hierarchy.
|
In the J-Web configuration editor hierarchy, select Policy
options>Policy statement>Term.
|
From the top of the CLI configuration hierarchy, enter
edit policy-options policy-statement policy1 term term1
|
|
Specify the routes to include in the route filter.
|
- In the From option, click Configure.
- In the Route filter box, click Add new
entry.
- In the Value box, enter the source and destination prefixes.
- Click OK.
|
- Specify source routes 10.210.0.0/16 or longer:
set from route-filter 10.210.0.0/16 orlonger
- Specify destination routes 10.215.0.0/16 or longer:
set from route-filter 10.215.0.0/16 orlonger
|
|
Group the source and destination prefixes.
|
- In the configuration editor hierarchy, select Policy
options>Policy statement>Term.
- In the Then option, click Configure.
- In the Forwarding class box, enter the forwarding class
name.
- Click OK.
|
Specify the forwarding class name:
set then forwarding class forwarding-class-name1
|
|
Navigate to the Forwarding table level in the
configuration hierarchy.
|
In the J-Web configuration editor hierarchy, select Routing
options>Forwarding table.
|
From the top of the CLI configuration hierarchy, enter
edit routing-options forwarding-table
|
|
Apply the policy to the forwarding table.
|
- In the Export box, click Add new entry.
- In the Value box, enter the name of the policy.
- Click OK.
The routing policy is evaluated when routes are being exported from
the routing table into the forwarding table. Only active routes are exported
from the routing table.
|
Specify source routes 10.210.0.0/16 or longer:
set export policy1
You can refer to the same routing policy one or more times in the same
or a different export statement.
|