I would like to know if it is possible to redistribute static routes in ospf but maintainning the metric of the static route. All static routes redistributed by OSPF has the same metric (20), which is the default metric for redistributing static routes.
For example, if I have a static route with metric 1 and a static route with metric 20 I would like to redistribute them as 21 and 40 respectively.
I use E1 for redistributing static router in OSPF. All static routes redistributed are redistributed with metric 20, the default metric for distributing static routes configured in OSPF. Indeed, I have a static route with 1 distance and another static route with 150 distance and both has a metric 20 attribute in its LSA.