09-11-2008 08:01 AM - edited 03-03-2019 11:30 PM
Hi folks,
I'm redistributing both connected and RIP routes into my OSPF domain. I configured an OSPF default-metric of 21.
However, in R4's routing table (R4 being an internal OSPF router) I see one External route with metric=21, and another one with metric=20 (corresponds to the redistributed connected subnet).
What's the matter with redistributed connected subnets into OSPF? Don't they get the value of the configured seed metric? Is there an exception?
09-11-2008 08:12 AM
Hello Wassim,
the default seed metric for connected is 0
see
http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_osp1.html#wp1012911
you may need to set the seed on the red connected command if you want a different one
Hope to help
Giuseppe
09-11-2008 08:55 AM
but I did this:
"router ospf 3
redistribute connected subnets
redistribute rip subnets
default-metric 21"
so I guessed that red connected will get 21 as seed metric, not 20.
Am I missing something?
09-11-2008 09:09 AM
Hello Wassim,
I think the default-metric seed applies only to RIP routes see this note in the link I've attached in my first post:
Note:
When enabled, the default-metric command applies a metric value of 0 to redistributed connected routes. The default-metric command does not override metric values that are applied with the redistribute command.
so I would try to provide a seed metric directly in the red connected subnets metric 5 to see if there is a change.
To be noted that connected networks could use the ospf cost of interface.
By using the network command the seed metric is the ospf cost of the interface and the route is internal (for example could be filtered at area border)
Hope to help
Giuseppe
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: