Redistribution in to OSPF

Unanswered Question
Aug 31st, 2010

By default in ospf redistribution the routes shows as E2 route in the routing table. To change this as E1 we use the below command.
"R1(config-router)#redistribute rip subnets metric-type 10"

what is the minimum and maximum we can provide as the metric ? Is this number really effects the redistributed link cost?

What is the command used to redistribut from RIP to OSPF ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Peter Paluch Tue, 08/31/2010 - 04:20

Manu,

R1(config-router)#redistribute rip subnets metric-type 10

This command is wrong - the metric-type can be either 1 or 2 but not 10 as you indicated - probably a typo.

what is the minimum and maximum we can provide as the metric ?

The minimum is 0, the maximum is 16777214. Note however that using too high metrics may result in the metric being incremented up to the maximal possible value during the shortest path calculation, and some routers may be treating this maximal possible value as an indication of an unreachable network.

Is this number really effects the redistributed link cost?

Of course it affects the starting cost with which the routes are redistributed into OSPF. However, with Type-2 metrics, this explicit starting metric is not increased further within the OSPF domain - it always stays on this particular value. With Type-1 metric, this starting metric will be increased in the usual OSPF way by the costs of individual links used on the shortest path towards the redistributed route.

What is the command used to redistribut from RIP to OSPF ?

For example:

redistribute rip subnets metric 100 metric-type 1

This command will redistribute RIP-discovered networks into OSPF with the starting metric of 100 that can be further increased (Type-1 metric).

Best regards,

Peter

Actions

This Discussion