Cisco – Static-to-OSPF Route Redistribution

cisconetworkingospfroutingstatic-routes

Is it possible to use redistribution of static-to-ospf in order to create an external OSPF route other than the type E2? Does this process only create a type 5 LSA and can any other LSA types be created with the redistribution command?

EDIT: I am trying to see if it is at all possible to create OSPF LSAs between two routers alone via any Cisco IOS commands without a host machine creating the traffic. If so, which LSAs are possible? The redistribution command is the only method I have come across so far.

Best Answer

Sure - in addition to redistributing as LSA type 5 E2 routes, you could also have the routes injected as LSA type 5 E1 routes.

router ospf 1
 redistribute static subnets metric-type 1

Also, you could redistribute the routes as type 7 LSAs (within the area) if the area is an NSSA area. Of course these type 7 LSAs will be converted to type 5 by the ABRs

router ospf 1
 area 2 nssa
 redistribute static subnets metric-type 1

So again, YES you can redistribute statics as either:

Type 5 LSA, Type 1

Type 5 LSA, Type 2 (the default)

Type 7 LSA, Type 1

Type 7 LSA, Type 2

Related Topic