Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

redistributing statics in ospf

is this as simple as doing it in eigrp or do you need to create a route map ?

1 REPLY
Silver

Re: redistributing statics in ospf

Yes it is as simple as doing it in any other routing protocols. The only difference is that you have to use the keyword 'subnets' to be able to redistribute subnets of a major network into ospf. For example:

router ospf 10

redistribute static subnets

This will redistribute all static routes into your ospf process. If your static routes reference subnets of a major network then those will also be redistributed. For example 10.1.1.0/24 and 10.2.2.0/24 are subnets of a major network 10.0.0.0/8.

Another thing you might want to look at is the metric ospf assigns to redistributed routes. If you do not specify the metric in the redistribute statement then ospf will automatically give the routes a metric of 20 except for BGP which gets 1. I think you will find going through information available on the following link very helpful:

http://www.cisco.com/en/US/tech/tk365/tk480/tsd_technology_support_sub-protocol_home.html

149
Views
4
Helpful
1
Replies
CreatePlease to create content