Juniper Networks Certified Associate Junos: Export Policy for Advertising Static Routes to RIP Neighbors

Creating and Applying an Export Policy for Advertising Static Routes to RIP Neighbors

Prev Question Next Question

Question

Which two can be used to create and apply an export policy that advertises static routes to RIP neighbors? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BD

The correct answers are B and C.

To advertise static routes to RIP neighbors using an export policy, you need to create a policy statement that matches the static routes and then apply the policy to the RIP configuration. Here are the steps:

  1. Create a policy statement that matches the static routes:

    csharp
    edit policy-options set policy-statement demo term 1 from protocol static set policy-statement demo term 1 then accept

    In this example, we're creating a policy statement called "demo" with a single term that matches static routes and accepts them.

    Answer C is correct because it creates this policy statement.

  2. Apply the policy to the RIP configuration:

    csharp
    set protocols rip group internal export demo

    In this example, we're applying the "demo" policy statement to the "internal" RIP group. This means that any static routes that match the policy will be advertised to RIP neighbors.

    Answer B is correct because it creates a policy statement that matches static routes and accepts them, which can then be applied to the RIP configuration.

Answer A is incorrect because it attempts to apply the export policy directly to the RIP configuration using the "export" statement, which is not valid.

Answer D is incorrect because it attempts to apply the export policy to a non-existent RIP group called "internal". Additionally, it does not create a policy statement that matches static routes and accepts them.