cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1004
Views
0
Helpful
2
Replies

OSPF area X range command

att-sgcops
Level 1
Level 1

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 2

Harold Ritter
Cisco Employee
Cisco Employee

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card