Cisco IOS – Maximum allowed interfaces reached???

Cisco | Monday April 19 2010 6:42 pm | Comments (9)

Last week I came across a very strange error. I needed to create a new VLAN on our core switch. no problem to create a layer2 VLAN, but impossible to create a layer3…

here is the error that pop up

********(config)#in vlan 299
%Cannot create a VLAN interface
Maximum allowed interfaces reached
^
% Invalid input detected at '^' marker.

We don’t have thousands and thousands of VLAN so it was obviously something else. Is there a much smaller limit on layer 3 VLAN than on layer 2 ? Yes, but the smaller cisco devices can support 4000 interfaces (including vlans and other virtual interfaces) . And our switch has got a limit of 12000…

Goggling this error won’t give you much information and I have to say that the error point you easily in the wrong direction. This is only when you have a look at the logs that you can see something a bit more interesting.

entry number 215 : INTERFACE_API-1-NOMORESWIDB
No more SWIDB can be allocated, maximum allowed 12000

Here is some theory to get a better understanding of what an IDB is:

SWIDB stand for “Software for Interface Descriptor Block”. you have two type of IDBs, SW (software) and HW (hardware). Cisco website describe an IDB as following:

An Interface Descriptor Block (IDB) is a special control structure internal to the Cisco IOS software that contains information such as the IP address, interface state, and packet statistics. Cisco IOS software maintains one IDB for each interface present on a platform and one IDB for each subinterface.

A HWIDB represents a physical interface, which includes physical ports and channelized interface definitions. A SWIDB represents a logical sub-interface (Permanent Virtual Circuit (PVC) or virtual LAN (VLAN)), or a Layer 2 encapsulation (Point-to-Point Protocol (PPP), High-Level Data Link Control (HDLC), and so forth).

Each physical interface on the router consumes a minimum of two IDBs:

  • One HWIDB for the physical port
  • One SWIDB for the Layer 2 encapsulation

A channelized port consumes N+1 HWIDBs, where N is the number of channels within the physical port, plus a minimum of N SWIDBs (Level 2 encapsulation per channel). Any sub-interfaces that you define each add another SWIDB.

Each tunnel interface definition, such as Universal Transport Interface (UTI), Generic Routing Encapsulation (GRE), Multiprotocol Label Switching Traffic Engineering (MPLS TE), or Any Transport over MPLS (AToM) consumes an HWIDB plus one SWIDB per tunnel, plus an additional SWIDB for each additional sub-interface, for example, a Frame Relay PVC, that is tunneled. The tunnel IDBs are in addition to the original interface(s) that are tunneled.

You can have a look at your IDB used with the command:

sh idb

So my problem is that I actually reached 12000 interfaces? Impossible! Unfortunately it is!

when I saw the output of that command I directly understood what’s happened…

A couple of week before, we installed a new blade chassis. But a error on the configuration created some kind of loop and as a consequence, new  interfaces keep registering themselves on the core switch until the IDB limit is reached. something you don’t realize until you need to configure a new interface…

What is the fix then?

unfortunately, there is no easy fix or I should say there is only one and very quick fix, reloading the IOS… just crazy on a prod switch, even more knowing its the core switch… but unfortunately, even a fail-over of the modules does not resolve this issue! (according to Cisco)

this issue just amaze me because you can clear all sort of things on the cisco IOS, but not a table of IDBs… I suppose it doesn’t get full every day but still, I don’t understand why there is not another way to clean this table.

Sync your calendars with outlook

tools | Wednesday April 14 2010 9:48 am | Comments (1)

If you’re like me, you forget everything if you don’t have a reminder and you are really glad that your phone has got a calendar feature. Problem, you’d like to get your calendar sync between all your devices! That’s no more a problem as it’s quite easy now to sync stuff between say a Google account and your outlook at work, your phone, or your Thunderbird at home. But like me, you may want to sync more than 1 calendar though! And its here that you get a problem. Perfectly fine with Thunderbird/Other email client but on outlook, since its not possible to write on an internet calendar -_-’ and you can only sync your main calendar with google sync… You either have to choose to update your ‘others calendars’ from somewhere else, or create the appointment on your main outlook calendar to get it sync. On the wrong one, but at least its synced.

You recently started to find tools to update more than one calendar but none of them where free. but luckily I finally found one! It’s called calgoo hub, very well hidden, but you can download it from here: www.calgoo.com.

With this tool you’ll be able to sync many calendars on one or more outlook calendars! it’s a pretty good software, much better than Google sync!It’s pretty easy to use so I won’t describe how to do it but you basically just have to click on open a remote calendar, put the address on it (the .ics address you get from the options on Google for example.), pick a calendar on the list of outlook calendar and there you are, they are syncing!

So now I can finally update my personal calendar from my outlook client, and that’s pretty good because it was a real pain before that!!

8 Advanced OpenOffice.org Add-ons

tools | Monday April 12 2010 1:40 pm | Comments (0)

I found an interesting article on LinuxPlanet about OpenOffice.org. There is 2 pages in case you do not notice.

Some of those Add-ons seems very good, like the one fore the presentation and the one to integrate Google docs onto OOO.

Here is the link:

Linuxplanet