Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
hello, dear Juniper
there are 3 routers in area1
r1 r2 r3
------area 1---------
|
r4
-----area 0--------
there is a static route 0/0 in r3, I want to export it to ospf ,and only let r1 to learn it .
is there a way to achieve this?
so,in order to achieve this, each router should have a import policy ?
hmm.ok
btw: is it possible to restrict this 0/0 route in area 1 and area0 , not to other areas attached to area0
need the area as NSSA to configure restrict?
hmm, in my case.:
I want to export 0/0 to r3 ospf, but only keep this 0/0 in area 1
set protocols ospf area 0.0.0.3 area-range 0.0.0.0/0 exact restrict:this seems to redistribute a 0/0 to area 0.0.0.3?
I used "area 0.0.0.3" by mistake. you may use below.
set protocols ospf area 0.0.0.1 area-range 0.0.0.0/0 exact restrict
ha,npI am trying itthere is one thing confuse me: area-range can't summarize LSA 5,but area-range restrict can restrict LSA50/0 is an external route LSA 5
hi,Suraj
yes
r3 is a ospf router in area1. I export 0/0 in this r3(LSA5).
now I only want this 0/0 only exist in area1,
It seems area range is not for LSA5
Hi,
the area-range command doesn't work for type-5 LSAs on the ABR. You need to convert area 1 to NSSA and use the
set protocols ospf area 0.0.0.1 nssa area-range 0.0.0.0/0 restrict
Cheers,
Carsten