Redistributing Routes into OSPF: Best Practices and Techniques

Redistribute Routes into OSPF

Prev Question Next Question

Question

You are asked to redistribute routes into OSPF.

Which action accomplishes this task?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

Redistribution is a technique that allows you to share routing information between different routing protocols. When you redistribute routes into OSPF, OSPF learns about these routes and can use them to build its routing table.

To accomplish this task, you need to create a redistribution policy and apply it in the OSPF configuration. The policy determines which routes will be redistributed into OSPF and how they will be treated.

Let's go through each answer option to determine the correct one:

A. Create a redistribution policy and apply it as an export policy under the [edit protocols ospf area] hierarchy.

This answer is partially correct. You can use an export policy to redistribute routes into OSPF, but it should be applied in the [edit protocols ospf] hierarchy, not the [edit protocols ospf area] hierarchy. The [edit protocols ospf area] hierarchy is used to configure area-specific settings for OSPF, such as authentication and metric options.

B. Create a redistribution policy and apply it as an import policy in the [edit protocols ospf] hierarchy.

This answer is incorrect. Import policies are used to filter incoming routes, not to redistribute them. Applying a redistribution policy as an import policy would not accomplish the task of redistributing routes into OSPF.

C. Create a redistribution policy and apply it as an import or an export policy in the [edit protocols ospf] hierarchy.

This answer is partially correct. You can use either an import or an export policy to redistribute routes into OSPF, depending on where the routes are coming from. For example, if you are redistributing routes from another routing protocol into OSPF, you would use an import policy. If you are redistributing routes from OSPF into another routing protocol, you would use an export policy. However, the answer does not specify which policy should be used in this case.

D. Create a redistribution policy and apply it as an export policy in the [edit protocols ospf] hierarchy.

This answer is correct. You should create a redistribution policy and apply it as an export policy in the [edit protocols ospf] hierarchy. This tells OSPF to export the specified routes into the OSPF domain. The export policy should specify which routes to redistribute and how they should be treated, such as setting their OSPF cost or tag.

In summary, the correct answer is D. Create a redistribution policy and apply it as an export policy in the [edit protocols ospf] hierarchy.