cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
757
Views
1
Helpful
8
Replies

OSPF Type-3 default route LSA metric

Sam-CCNP
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Harold Ritter
Cisco Employee
Cisco Employee

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,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

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

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

8 Replies 8

M02@rt37
VIP
VIP

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.

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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

Gopinath_Pigili
Spotlight
Spotlight

You can change with following commands.

(config)#router ospf <process>
(config-router)#default-information originate [always] [metric <metric>] [metric-type {1|2}]

Thanks

Hi @Gopinath_Pigili ,

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,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Harold Ritter
Cisco Employee
Cisco Employee

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,

 

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

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).

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

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

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!

Review Cisco Networking for a $25 gift card