cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1952
Views
5
Helpful
5
Replies

ISR 4331 / Number of supported OSPF areas

DOMJAHN DAVID
Level 1
Level 1

Hello,

can anybody please give me a hint how many OSPF areas an ISR4331 router supports?

Thank you in advance!

5 Replies 5

Hello,

 

I don't think there is a limit other than the number you see when you type:

 

R1#conf t

R1(config)#router ospf 1

R1(config-router)#area ?

<0-4294967295> OSPF area ID as a decimal value

 

What are you after ? The usually is a recommended limit on the amount of routers within one area. One area typically needs one interface, so the amount of areas would never really be higher than the amount of interfaces...

kubn2
Level 1
Level 1
Hi,

Since ospf area id is 32bit number you can have 2^32 areas but well its theoretical. In practice it's really hard to say because if areas that this router is connected to are very stable so routes don't have to be calculated very often then router can handle more areas. I saw router that handled around 150 areas without a problem, so if you don't need more network than 150 or even 200 it shouldn't be a problem for this router IF areas are stable and don't change very often.

Thanks for your answers! The 32 bit number is known but this Is just the
range for the area number.

Some other vendors (e. g. Hirschmann) also allow the usage of the 32 bit
number range but have a hard limit of 30 areas (e. g. the backbone area and
29 standard areas). So I just wonder if Cisco also has an internal hard
limit.

Hello,

 

for the sake of testing, I configured 100 loopbacks on a router and put each loopback in a different area. There apparently is no hard limit on Cisco routers...

DOMJAHN DAVID
Level 1
Level 1

Having opened a TAC case (SR 687916345) the answer is: the ISR routers doesn't have a hardlimit:

 

Please note I went through our database, unfortunately The maximum number of areas is not fixed, it depends of the router capacity and the topology. The more areas you have on an ABR, the lower the performance of that router will be (especially if it has to handle big topology databases). The best way to design the OSPF network is to try to reduce the number of areas per ABR as much as possible

 

"Number of Areas per ABR

 

ABRs will keep a copy of the database for all areas they service. If a router is connected to five areas for example, it will have to keep a list of five different databases. The number of areas per ABR is a number that is dependent on many factors, including type of area (normal, stub, NSSA), ABR CPU power, number of routes per area, and number of external routes per area. For this reason, a specific number of areas per ABR cannot be recommended. Of course, it's better not to overload an ABR when you can always spread the areas over other routers. The following diagram shows the difference between one ABR holding five different databases (including area 0) and two ABRs holding three databases each. Again, these are just guidelines, the more areas you configure per ABR the lower performance you get. In some cases, the lower performance can be tolerated".

 

Therefore, it is recommended to have the least number of areas per ABR as possible. However, as there is not an easy rule to know which is the maximum (it depends on many factors: type of area (normal, stub, NSSA), ABR CPU power, number of routes per area, and number of external routes per area)

 

Here is a good links you can have a look

 

https://www.cisco.com/c/en/us/support/docs/ip/open-shortest-path-first-ospf/7039-1.html

 

http://www.ciscopress.com/articles/article.asp?p=1763921&seqNum=6

 

Factors Influencing OSPF Scalability

Scaling is determined by the utilization of three router resources: memory, CPU, and interface bandwidth. The workload that OSPF imposes on a router depends on these factors:

  • Number of adjacent neighbors for any one router: OSPF floods all link-state changes to all routers in an area. Routers with many neighbors have the most work to do when link-state changes occur. In general, any one router should have no more than 60 neighbors.
  • Number of adjacent routers in an area: OSPF uses a CPU-intensive algorithm. The number of calculations that must be performed given n link-state packets is proportional to n log n. As a result, the larger and more unstable the area, the greater the likelihood for performance problems associated with routing protocol recalculation. Generally, an area should have no more than 50 routers. Areas that suffer with unstable links should be smaller.
  • Number of areas supported by any one router: A router must run the link-state algorithm for each link-state change that occurs for every area in which the router resides. Every ABR is in at least two areas (the backbone and one adjacent area). In general, to maximize stability, one router should not be in more than three areas.
  • Designated router (DR) selection: In general, the DR and backup designated router (BDR) on a multiaccess link (for example, Ethernet) have the most OSPF work to do. It is a good idea to select routers that are not already heavily loaded with CPU-intensive activities to be the DR and BDR. In addition, it is generally not a good idea to select the same router to be the DR on many multiaccess links simultaneously.
Review Cisco Networking for a $25 gift card