JN0-102 · Question #263
Which two can be used to create and apply an export policy that advertises static routes to RIP neighbors? (Choose two.)
The correct answer is B. edit policy-options policy-statement demo D. set protocols rip group internal export demo. To advertise static routes to RIP neighbors, you first need to define a policy statement that specifies which routes to export, then apply this policy to the RIP protocol, potentially within a specific group.
Question
Which two can be used to create and apply an export policy that advertises static routes to RIP neighbors? (Choose two.)
Options
- Aset protocols rip export demo
- Bedit policy-options policy-statement demo
- Cedit policy-options policy-statement demo
- Dset protocols rip group internal export demo
How the community answered
(14 responses)- A7% (1)
- B79% (11)
- C14% (2)
Why each option
To advertise static routes to RIP neighbors, you first need to define a policy statement that specifies which routes to export, then apply this policy to the RIP protocol, potentially within a specific group.
The command 'set protocols rip export demo' would apply the policy globally to RIP, but typically RIP interfaces are grouped, and the policy should be applied to a group for more granular control.
The 'edit policy-options policy-statement demo' command is used to enter configuration mode for defining a new policy statement named 'demo', which will contain the rules for exporting routes.
This choice is identical to B, but two distinct commands are required to create and apply the policy, and this option only describes the creation of the policy definition.
The 'set protocols rip group internal export demo' command applies the previously defined 'demo' policy statement as an export policy to a specific RIP group named 'internal', which will then advertise routes according to the policy.
Concept tested: RIP export policy configuration
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-policy/topics/example/policy-static-routes-in-rip.html
Topics
Community Discussion
No community discussion yet for this question.