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

Redistribute static route

How to redistribute a single static subnet into ospf with a custom metric among multiple static routes without altering other.

 

1 REPLY 1
Highlighted
Beginner

Hi Ousmanenatha,I think you

Hi Ousmanenatha,

I think you want to redistribute specific static route with modified metric, if so, you need to match static route via prefix list ( it will match static route with exact prefix length) and now set costom metric via router-map. Now call this router map in redistributiion:

#route-map static-to-ospf permit 20
 match ip address prefix-list pfx
 set metric 40000 1000 255 1 1500

RTR(config-router)#redistribute static route-map static-to-ospf

 

Always rate helpfull posts

Sajid Ali Pathan