|
Navigate to the term1 level in the configuration
hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to Policy options, click Configure or Edit.
- Under Policy name, click policy1.
- Under Term name, click term1.
|
From the [edit] hierarchy level, enter
edit policy-options policy-statement policy1 term term1
|
|
Specify the routes to include in the route filter. For example:
- Source routes greater than or equal to 10.210.0.0/16
- Destination routes greater than or equal to 10.215.0.0/16
|
- Next to From, click Configure.
- Next to Route filter, click Add new entry.
- In the Address box, type 10.210.0.0/16.
- From the Modifier list, select Orlonger.
- Click OK to return to the From page.
|
Specify the source routes for the route filter:
set from route-filter 10.210.0.0/16 orlonger
|
- Next to Route filter, click Add new
entry.
- In the Address box, type 10.215.0.0/16.
- From the Modifier list, select Orlonger.
- Click OK until you return to the Term
page.
|
Specify the destination routes for the route filter:
set from route-filter 10.215.0.0/16 orlonger
|
|
Group the source and destination prefixes into a forwarding class—for
example, forwarding-class1.
|
- Next to Then, click Configure.
- In the Forwarding class box, type forwarding-class1.
- Click OK.
|
Specify the forwarding class name:
set then forwarding class forwarding-class1
|
|
Navigate to the Forwarding table level in the configuration
hierarchy.
|
- On the main Configuration page next to Routing options,
click Configure or Edit.
- Next to Forwarding table, click Configure or Edit.
|
From the [edit] hierarchy level, enter
edit routing-options forwarding-table
|
|
Apply the policy1 policy to the forwarding table.
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.
|
- Next to Export, click Add new entry.
- In the Value box, type policy1.
- Click OK.
|
Specify the routing policy to apply:
set export policy1
You can refer to the same routing policy one or more times in the same
or a different export statement.
|