GRE tunnel limit?

Answered Question
Mar 9th, 2010
User Badges:

Hello,


Is there a limit on the number of GRE tunnels that can be configured on a router?


Any advice welcomed.


Thanks

Phil

Correct Answer by Richard Burts about 7 years 4 months ago

Phil


As Lei Tian points out there may be factors such as memory constraints that will place practical limits on how many tunnels you can support. But there is also a hard limit on the number of tunnels that you can configure. That limit is based on the limitation of the number of IDBs supported by your router. The IDB is the Interface Descriptor Block and each interface (physical, or tunnel, or loopback, or whatever) requires an IDB. The number of IDBs will vary by platform and sometimes by release level of the code that you are running. You can use the privileged command show idb to see what the limitation is on your router. On the 1841 router that I just checked the limit on IDB is 1200 (which is a pretty large number - I believe that you would encounter other limits on performance or on size of configuration before you exhaust the IDB limit).


HTH


Rick

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Lei Tian Tue, 03/09/2010 - 07:56
User Badges:
  • Cisco Employee,

Hi Phil,


I think that is a question depends on platform and IOS version. It is better to test it to find the answer, and you might hit resource limitation other than the number of tunnels, like cpu, memory.


HTH,

Lei Tian

paolo bevilacqua Tue, 03/09/2010 - 08:22
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

What prevents you from using multipoint GRE ?

Correct Answer
Richard Burts Tue, 03/09/2010 - 13:54
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Phil


As Lei Tian points out there may be factors such as memory constraints that will place practical limits on how many tunnels you can support. But there is also a hard limit on the number of tunnels that you can configure. That limit is based on the limitation of the number of IDBs supported by your router. The IDB is the Interface Descriptor Block and each interface (physical, or tunnel, or loopback, or whatever) requires an IDB. The number of IDBs will vary by platform and sometimes by release level of the code that you are running. You can use the privileged command show idb to see what the limitation is on your router. On the 1841 router that I just checked the limit on IDB is 1200 (which is a pretty large number - I believe that you would encounter other limits on performance or on size of configuration before you exhaust the IDB limit).


HTH


Rick

Actions

This Discussion

Related Content