cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
525
Views
0
Helpful
1
Replies

Redistribution in to OSPF

Manu Shankar
Level 1
Level 1

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 ?

1 Reply 1

Peter Paluch
Cisco Employee
Cisco Employee

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

Review Cisco Networking products for a $25 gift card