Default Protocol Preference Values | JN0-102 Exam | Juniper Networks Certified Associate Junos

Default Protocol Preference Values

Prev Question Next Question

Question

Which two statements are correct regarding default protocol preference values? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

BC

A. OSPF internal routes have a lower preference than static routes: This statement is true. In Junos OS, static routes are assigned a default preference value of 5, which is higher than the default preference value of 10 assigned to OSPF internal routes. Therefore, if a device has both a static route and an OSPF internal route to the same destination, the static route will be preferred and used to forward traffic.

B. Both direct and local routes have the same preference value: This statement is also true. In Junos OS, both direct and local routes are assigned a default preference value of 0. These routes are the most preferred routes because they are directly connected to the device.

C. OSPF's preference value is lower than BGP: This statement is true. In Junos OS, BGP is assigned a default preference value of 170, which is higher than the default preference value of 10 assigned to OSPF internal routes. Therefore, if a device has both a BGP route and an OSPF internal route to the same destination, the BGP route will be preferred and used to forward traffic.

D. OSPF has a single preference value for both internal and external routes: This statement is false. In Junos OS, OSPF has separate preference values for internal and external routes. OSPF internal routes are assigned a default preference value of 10, while OSPF external routes are assigned a default preference value of 150. The OSPF external route preference value can be increased using the set protocols ospf external-preference command.