03-20-2023 05:51 AM
Hello,
I might have a strange question: is it possible to selectively redistribute into an area when your router has multiple areas ??
Let me explain: we have a NSSA area composed of 4 routers: lets say routers A and B connect to the backbone area 0.0.0.0, router C & D have a RIP/static/EIGRP connection and redistribute some (very limited) routes into the NSSA (hence NSSA).
However, recently we have started to deploy BGP additionally on our core routers A and B. They receive BGP routes and redistribute them into the backbone. However, by default, they ALSO push (all) these routes into the NSSA area, which i in fact don't want and which is not needed (since A & B already put a default into the NSSA area by design).
Is there a way to prevent this from happening ?
Probably area filter ?
area NSSA filter-list prefix DEFAULT out
or something like that.....
03-20-2023 06:23 AM
OSPF: Area range vs Summary address | IPNET
two command you have
area range
summary address
check link above and see which option is suitable for you.
thanks
MHM
03-20-2023 02:07 PM
Hi,
so you do redistribution on NSSA ABR routers which are "A" and "B". Use just below command:
area X nssa no-redistribution where X is nssa area number. In this case NSSA ABR (which is also OSPF ASBR due to BGP redistribution) will create type5 LSA of external subnets (redistributed subnets) for non-NSSA areas , but not type7 for NSSA area.
Note that, OSPF filter-list is used on ABR for inter-area filtering (type3 LSA). Area range command is also for type3 creation (based on another area type1/2).
03-20-2023 10:20 PM
Hello
I agree with @Kanan Huseynli rtrs A/B are the ASBR for area 0 for the bgp routes,
Now you state you do not want these bgp routes to be advertised into the NSSA, so to accomplish this those bgp routes which are at present originate as external type 5 LSa's in area 0 are being converted into type 7 LSAs when entering the NSSA.
So you need to negate this external LSA translation into the NSSA on rtr A/B .
Rtr C/D should still have reachability via the default routes you say they are receiving in the NSSA.
Example rtr A/B (area 10 is the nssa)
router ospf 100
area 10 nssa no-redistribution
area 10 nssa no-summary <-- assumption this is already applied?)
03-21-2023 03:05 AM
can you share the topology please ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide