OSPFv3 : Setting Administrative Distance

Unanswered Question
Jan 16th, 2009
User Badges:


Going for an IPV6 lab where multiple points of redistributions between RIPng and OSPFv3 exist, I was looking for a command to manipulate administrative distance in order to prevent sub-optimal routing, as I usually do IPv4.

In IPV4 we have this command :

router ospf 1

distance administrative_distance address wildcard-mask} [access-list-number | name]

This permit to put a higher administrative distance for certain routes.

In OSPFv3 or RIPng I can only set the default administrative distance for the whole routing process but not for certaint routes.

As route-map cannot be used for administrative distance. How, in IPv6 can I change administrative distance for certains routes ?

Thanks for your answer


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Giuseppe Larosa Fri, 01/16/2009 - 05:22
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Morgan,

see if this other version of distance command is supported:


distance [ospf {external | inter-area | intra-area}] distance

with this you change the distance for each OSPF route type.

this can be a workaround.

an alternate way is to filter on the redistribution using a route-map to block the non -optimal route

Hope to help


ccr_cisco Fri, 01/16/2009 - 05:29
User Badges:

Hello Giuseppe,

Thanks for your quick reply.

Yes this other distance syntax is available, and this is the workaround I used.

So it's seems that in IPv6 there is no way to set distance for individual routes ????

Filtering at redistribution is not an option in order to keep redundancy.



This Discussion