Which configuration causes RIP-learned routes to be advertised to other RIP neighbors?
A.
set protocol rip no-passive
B.
top edit policy-options policy-statement demo
set term 1 from protocol rip
set term 1 then accept
top set protocols rip group internal export demo
C.
set protocols rip advertise in-out
D.
top edit policy-options policy-statement demo
set term 1 from active routes
set term 1 then accept
top set protocols rip group internal export demo
Explanation:
The default policy for RIP is to import all routes learned from explicitly configured neighbors. The software ignores routes learned
from neighbors not explicitly defined within the configuration. By default, the software does not export routes to RIP neighbors,
including RIP routes. Thus, to advertise any routes to RIP neighbors, you must configure an export policy that matches and
accepts RIP routes as shown in the following sample output:
[edit policy-options]
user@router# show
policy-statement export-rip-routes {
term match-rip-routes {
from protocol rip;
then accept;
}
}
For RIP, you can apply import policies at the protocol level and neighbor level, whereas you can configure export policies only at
the group level as shown in the following sample output:
[edit protocols rip]
user@router# show
group my-rip-group {
export export-rip-routes;
neighbor ge-0/0/1.0;
neighbor se-1/0/0.0;
}