|
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 injectpolicy1 term injectterm1
|
|
Specify the OSPF routes.
|
- In the From option, click Configure.
- In the Protocol box, click Add new entry.
- In the Value drop box, select OSPF.
- Click OK.
|
Specify the OSPF match condition:
set from ospf
|
|
Specify the routes from a particular OSPF area.
|
- In the Area option, type 1.
- Click OK.
|
Specify Area 1 as a match condition:
set from area 1
|
|
Specify that the route is to be accepted if the previous conditions
are matched.
|
- Next to Then, click Configure.
- From the Accept reject box, Select Accept.
|
Specify the action to accept:
set then accept
|
|
Set the default option to reject other OSPF routes.
|
- In the configuration editor hierarchy, select Policy
options>Policy statement>Term.
- In the Then option, click Configure.
- From the Accept reject box, Select Reject.
- Click OK.
|
Changes in the CLI are applied automatically when you execute the set command.
|
|
Navigate to the Protocol>Bgplevel in the configuration
hierarchy.
|
In the J-Web configuration editor hierarchy, select Protocols>Bgp.
|
From the top of the CLI configuration hierarchy, enter:
edit protocols bgp
|
|
Apply the routing policy policy1 to BGP.
|
- In the Export box, click Add new entry.
- In the Value option, enter policy1.
- Click OK.
|
Specify the OSPF match condition:
set export policy1
|