Section 1.4 - OSPFv2 Path Selection Flashcards

1
Q

In OSPF, what is “cost”?

A

The metric used for determining the best path to a given network via OSPF. The lowest path cost to a network is the best path.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

(True or False) In OSPF, the default metric for a given interface is based on the interface’s “bandwidth” setting.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the link cost algorithm for OSPF that determines the metric for a given interface by default?

A

link_cost = MAX((reference_bandwidth_in_bps / link_bandwidth_in_bps), 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default reference bandwidth in OSPF (in bps)?

A

100,000,000 bps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How would you explicitly configure the cost of an interface in OSPF (on IOS-XR)?

A

conf t
router ospf 1
area 0
interface Gig0/0/0/0
cost 4000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How would you explicitly configure the cost of an interface in OSPF (on IOS-XE/IOS)?

A

conf t
interface Gig0/0/0/0
ip ospf cost 4000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In OSPF, the best path selection algorithm (for OSPF routes to the same network) take into account LSA type FIRST before total path cost. What is the pecking order of route types (in order of preference)?

A
  1. Intra Area
  2. Inter Area
  3. External Type 1
  4. NSSA Type 1
  5. External Type 2
  6. NSSA Type 2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What commands would you use to modify the reference bandwidth used in the auto-cost algorithm for OSPF (in IOS-XR)?

A

conf t
router ospf 1
auto-cost reference-bandwidth 4000000

NOTE: The value in that command is in Mbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What commands would you use to modify the reference bandwidth used in the auto-cost algorithm for OSPF (in IOS-XE)?

A

conf t
router ospf 1
auto-cost reference-bandwidth 4000000

NOTE: The value in that command is in Mbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What algorithm does OSPF use to determine the shortest path to a given destination, based on total path cost?

A

Dijkstra’s algorithm
(A.K.A. Shortest Path First (SPF) algorithm)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the maximum possible cost in OSPF for a given interface?

A

65535

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which criterion does SPF use to determine the best path?

A) Lowest delay in the path
B) Highest bandwidth of the path
C) Lowest total cost of the path
D) Lowest bandwidth of the path

A

C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly