Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

OSPF area X range command

I have 2 loopback interface configured on the router:

int loopback0

ip address 10.33.32.1 255.255.224.0

int loopback1

ip address 10.33.64.1 255.255.224.0

And I also put it into the OSPF process:

router ospf 7

network 10.33.32.0 0.0.31.255 area 3

network 10.33.64.0 0.0.31.255 area 3

because I also want to summary the 2 routes, so I added one more command:

area 3 10.33.0.0 255.255.0.0

Then when I check the router on other router, I found that other OSPF router not able to learn these 2 routes

And when I compared with the correct solution, I found their configuration looks like below:

router ospf 7

network 10.33.0.0 0.0.255.255 area 3

area 3 range 10.33.0.0 255.255.0.0

Can someone explain to me?

2 REPLIES
Cisco Employee

Re: OSPF area X range command

The area-range command only takes affect if used on an ABR. In you case, the router is only part of area 3 (area 3 internal router) so that command has no affect.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: OSPF area X range command

thanks for your reply. I just skipped some commands, actually the router is ABR. And the correct solution works.

663
Views
0
Helpful
2
Replies
CreatePlease to create content