Which two can be used to create and apply an export policy that advertises static routes to RIP
neighbors? (Choose two.)
A.
set protocols rip export demo
B.
edit policy-options policy-statement demo
set term 1 from protocol static
set term 1 then accept
C.
edit policy-options policy-statement demo
set term 1 from protocol static accept
D.
set protocols rip group internal export demo
Explanation:
CLI Configuration
To create a routing policy that exports all local static and direct routes:
1.Create a routing policy that defines matching criteria and the action to be taken for traffic that matches the criteria. In this example, a policy named all-local is created with matching criteria of traffic from direct routes and an action of accept for matching traffic.
user@host# set policy-options policy-statement all-local term 1 from protocol direct
user@host# set policy-options policy-statement all-local term 1 then accept
2.In the following example, specify the matching criteria of traffic from static routes and an action of accept for matching traffic.
user@host# set policy-options policy-statement all-local term 2 from protocol static
user@host# set policy-options policy-statement all-local term 2 then accept
3.In the following example, specify the matching criteria of traffic from local routes and an action of accept for matching traffic.
user@host# set policy-options policy-statement all-local term 2 from protocol local
user@host# set policy-options policy-statement all-local term 2 then accept
4.Apply the policy.
user@host# set protocols ospf export all-local