In an OSPF setup, you have a redundant path. You want to ensure traffic prefers one link over another based on cost. Which OSPF command is used?
Trap 1: set metric-type
Metric-type is used for external route types.
Trap 2: set bandwidth-reference
This affects the global cost calculation, not interface-specific cost.
Trap 3: set priority
Priority is used for DR/BDR election.
- A
set ospf-cost
This command adjusts the interface cost within the OSPF configuration.
- B
set metric-type
Why wrong: Metric-type is used for external route types.
- C
set bandwidth-reference
Why wrong: This affects the global cost calculation, not interface-specific cost.
- D
set priority
Why wrong: Priority is used for DR/BDR election.