09-18-2023
08:35 AM
- last edited on
09-29-2023
12:42 AM
by
Translator
Hi,
Does anyone know if there is a way to change the metric of a
Type-3 default route LSA?
The purpose is to influence the exit point for traffic in a totally stubby area with two ABRs.
Thanks.
Sam
Solved! Go to Solution.
09-18-2023
09:32 AM
- last edited on
09-29-2023
12:34 AM
by
Translator
Hi @Sam-CCNP ,
You can use the following command command on the ABR to set the cost value on the default injected in the stub area:
router ospf <process-id>
area <x> default-cost <cost>
Regards,
09-18-2023
01:01 PM
- last edited on
09-29-2023
12:38 AM
by
Translator
Hello
If you which to influence which ABR is used, you could set a maximum metric to the least preferred
rtr
router opsf x
max-metric router-lsa summary-lsa
09-18-2023 09:05 AM
Hello @Sam-CCNP,
To influence the exit point for traffic, you can manipulate the OSPF cost on the interface connecting to the totally stubby area to indirectly influence the preferred exit point.
09-18-2023
09:42 AM
- last edited on
09-29-2023
12:40 AM
by
Translator
Hi, thanks for responding.
I think maybe I worded my question poorly. It's the traffic exiting the stub area i want to influence, not entering.
And as it's a tsa, traffic uses the
type 3 default route
, which is the metric I want to influence.
Thanks. Sam
09-18-2023
09:22 AM
- last edited on
09-29-2023
12:26 AM
by
Translator
You can change with following commands.
(config)#router ospf <process>
(config-router)#default-information originate [always] [metric <metric>] [metric-type {1|2}]
Thanks
09-18-2023
10:30 AM
- last edited on
09-29-2023
12:29 AM
by
Translator
Hi @Blue_Bird ,
This is the command you would enter if you wanted to originated the
default route
as an external
ospf route
. In a totally stubby area, the
default route
is already injected as an
inter area route
. This is the one for which @Sam-CCNP wants to change the metric.
Regards,
09-18-2023
09:32 AM
- last edited on
09-29-2023
12:34 AM
by
Translator
Hi @Sam-CCNP ,
You can use the following command command on the ABR to set the cost value on the default injected in the stub area:
router ospf <process-id>
area <x> default-cost <cost>
Regards,
09-19-2023 07:27 AM
Thanks. Thats the one. Brain got lazy and gave up quickly.
As an aside, what if I left one ABR configured as a stub but the other ABR as a totally stuby area by adding no-summary? That would result in the more specific inter-area routes being propagated into the area from one router, making it the preferred exit point.
I know it sounds strange, but I'm studying for my CCIE lab, whose solutions sometimes do not reflect reality (I've heard).
09-18-2023
01:01 PM
- last edited on
09-29-2023
12:38 AM
by
Translator
Hello
If you which to influence which ABR is used, you could set a maximum metric to the least preferred
rtr
router opsf x
max-metric router-lsa summary-lsa
09-19-2023 07:40 AM - edited 09-19-2023 07:42 AM
I just looked up that command and applied it to the ABR in my lab, it worked so I'll try to remember that one too. Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide